{"id":395,"date":"2015-03-05T21:18:54","date_gmt":"2015-03-05T21:18:54","guid":{"rendered":"http:\/\/blog.mozilla.org\/webqa\/?p=395"},"modified":"2015-03-05T21:18:54","modified_gmt":"2015-03-05T21:18:54","slug":"web-qa-publishes-automated-test-results","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/fxtesteng\/2015\/03\/05\/web-qa-publishes-automated-test-results\/","title":{"rendered":"Web QA publishes automated test results"},"content":{"rendered":"<p>I am delighted to announce that Web QA has migrated to a new continuous integration server instance that is <a title=\"Web QA automated test results\" href=\"https:\/\/webqa-ci.mozilla.com\/\">publicly accessible<\/a>! This means you can see all of our test results without needing to be on the private network or using our VPN! This is a massive step forward for the team as for many years our results have been hidden, causing a barrier for getting our awesome community to help us with managing failures.<\/p>\n<p>We&#8217;re using <a href=\"http:\/\/jenkins-ci.org\/\">Jenkins CI<\/a> for our continuous testing, and further details can be found <a href=\"https:\/\/wiki.mozilla.org\/QA\/Execution\/Web_Testing\/Automation\/Jenkins\">on our wiki page<\/a>. Head on over to <a href=\"https:\/\/webqa-ci.mozilla.com\/\">https:\/\/webqa-ci.mozilla.com\/<\/a> to have a look at the results for our various projects. You should see something similar to the following screenshot (click for larger version).<\/p>\n<div id=\"attachment_396\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-dashboard.png\"><img aria-describedby=\"caption-attachment-396\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-396 size-large\" src=\"http:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-dashboard-600x439.png\" alt=\"Web QA Jenkins Dashboard\" width=\"500\" height=\"366\" srcset=\"https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-dashboard-600x439.png 600w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-dashboard-300x219.png 300w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-dashboard-768x562.png 768w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-dashboard-1000x731.png 1000w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-dashboard.png 1246w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-396\" class=\"wp-caption-text\">Main Jenkins Dashboard<\/p><\/div>\n<p>Jenkins consists of job and builds. On the main dashboard you&#8217;ll see all jobs listed, however you can reduce these to a subset by clicking on a project tab near the top of the page. Each project has several jobs to cover a variety of environments and configurations. If you click on a job name you&#8217;ll be taken to the job page (see below).<\/p>\n<div id=\"attachment_398\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-job.png\"><img aria-describedby=\"caption-attachment-398\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-398 size-large\" src=\"http:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-job-600x439.png\" alt=\"Web QA Jenkins job page\" width=\"500\" height=\"366\" srcset=\"https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-job-600x439.png 600w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-job-300x219.png 300w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-job-768x562.png 768w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-job-1000x731.png 1000w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-job.png 1246w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-398\" class=\"wp-caption-text\">Job Page<\/p><\/div>\n<p>From here you can see the project owner(s), build history, and test result trend. A single test run is referred to as a build. Note that there&#8217;s also a link to the project&#8217;s GitHub page &#8211; handy for raising issues for new test failures. Each of the items in the build history items is a link through to the build results page (below).<\/p>\n<div id=\"attachment_399\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-build.png\"><img aria-describedby=\"caption-attachment-399\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-399 size-large\" src=\"http:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-build-600x439.png\" alt=\"Web QA Jenkins build page\" width=\"500\" height=\"366\" srcset=\"https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-build-600x439.png 600w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-build-300x219.png 300w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-build-768x562.png 768w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-build-1000x731.png 1000w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-build.png 1246w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-399\" class=\"wp-caption-text\">Build Page<\/p><\/div>\n<p>The build page shows a summary of the test failures, but mostly serves as the entry point for the various methods of investigating test failures. The first is the HTML report:<\/p>\n<div id=\"attachment_402\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-html-report.png\"><img aria-describedby=\"caption-attachment-402\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-402 size-large\" src=\"http:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-html-report-600x439.png\" alt=\"Web QA HTML report\" width=\"500\" height=\"366\" srcset=\"https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-html-report-600x439.png 600w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-html-report-300x219.png 300w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-html-report-768x562.png 768w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-html-report-1000x731.png 1000w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-html-report.png 1246w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-402\" class=\"wp-caption-text\">Custom HTML report<\/p><\/div>\n<p>This is a custom report generated by our <a href=\"https:\/\/webqa-ci.mozilla.com\/job\/marketplace.dev\/\">py.test plugin<\/a> that is often the first place to go when investigating failures. It shows the traceback from the console, a screenshot at the point of the failure, as well as the page source and URL. It can also be useful to look at the entire console output:<\/p>\n<div id=\"attachment_403\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-job-console.png\"><img aria-describedby=\"caption-attachment-403\" decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-403\" src=\"http:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-job-console-600x439.png\" alt=\"Console Output\" width=\"500\" height=\"366\" srcset=\"https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-job-console-600x439.png 600w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-job-console-300x219.png 300w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-job-console-768x562.png 768w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-job-console-1000x731.png 1000w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-job-console.png 1246w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-403\" class=\"wp-caption-text\">Console Output<\/p><\/div>\n<p>Finally, the test result page allows you to view the failures alongside their stability. If a test has failed all of the recent test runs it means it&#8217;s likely to be easily reproduced, however tests that fail intermittently can take a little more digging:<\/p>\n<div id=\"attachment_404\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-build-test-result.png\"><img aria-describedby=\"caption-attachment-404\" decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-404\" src=\"http:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-build-test-result-600x439.png\" alt=\"Test Results\" width=\"500\" height=\"366\" srcset=\"https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-build-test-result-600x439.png 600w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-build-test-result-300x219.png 300w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-build-test-result-768x562.png 768w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-build-test-result-1000x731.png 1000w, https:\/\/blog.mozilla.org\/fxtesteng\/files\/2015\/03\/webqa-jenkins-build-test-result.png 1246w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-404\" class=\"wp-caption-text\">Test Results<\/p><\/div>\n<p>I hope you&#8217;ve enjoyed this little introduction to Web QA&#8217;s automated test results. If you&#8217;re interested in helping the team please feel welcome to look into the current or intermittent failures. I would recommend contacting the project owner(s) before doing making any changes to the tests though in case the failure is already being worked on.<\/p>\n<p>Also, please consider joining our <a href=\"https:\/\/mail.mozilla.org\/listinfo\/mozwebqa\">mailing list<\/a> or find us on IRC in <a href=\"http:\/\/widget.mibbit.com\/?settings=1b10107157e79b08f2bf99a11f521973&amp;server=irc.mozilla.org&amp;channel=%23mozwebqa\">#mozwebqa on irc.mozilla.org<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am delighted to announce that Web QA has migrated to a new continuous integration server instance that is publicly accessible! This means you can see all of our test &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/fxtesteng\/2015\/03\/05\/web-qa-publishes-automated-test-results\/\">Read more<\/a><\/p>\n","protected":false},"author":513,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[228],"tags":[228,31343,604,31342,101],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/fxtesteng\/wp-json\/wp\/v2\/posts\/395"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/fxtesteng\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/fxtesteng\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/fxtesteng\/wp-json\/wp\/v2\/users\/513"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/fxtesteng\/wp-json\/wp\/v2\/comments?post=395"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/fxtesteng\/wp-json\/wp\/v2\/posts\/395\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/fxtesteng\/wp-json\/wp\/v2\/media?parent=395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/fxtesteng\/wp-json\/wp\/v2\/categories?post=395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/fxtesteng\/wp-json\/wp\/v2\/tags?post=395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}