Skip to content

Instantly share code, notes, and snippets.

@andreastt
Created April 1, 2019 12:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreastt/6b9b464d49ea3b478ac49dd365d07e93 to your computer and use it in GitHub Desktop.
Save andreastt/6b9b464d49ea3b478ac49dd365d07e93 to your computer and use it in GitHub Desktop.
% ./mach wpt testing/web-platform/mozilla/tests/webdriver/take_full_screenshot/screenshot.py
0:00.01 INFO Creating config file /home/ato/src/gecko/obj-x86_64-pc-linux-gnu/_tests/web-platform/wptrunner.local.ini
0:00.01 INFO Creating directory /home/ato/src/gecko/obj-x86_64-pc-linux-gnu/_tests/web-platform/meta
0:00.01 INFO Creating directory /home/ato/src/gecko/obj-x86_64-pc-linux-gnu/_tests/web-platform/mozilla/meta
0:01.40 INFO Downloading manifest from https://index.taskcluster.net/v1/task/gecko.v2.mozilla-central.revision.d42c60ccf0d05a8b1e6098c1ab62d26e6edd2267.source.manifest-upload/artifacts/public/manifests.tar.gz
0:11.39 mozversion INFO application_buildid: 20190329133129
0:11.39 mozversion INFO application_display_name: Nightly
0:11.39 mozversion INFO application_id: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
0:11.39 mozversion INFO application_name: Firefox
0:11.39 mozversion INFO application_remotingname: firefox
0:11.39 mozversion INFO application_vendor: Mozilla
0:11.39 mozversion INFO application_version: 68.0a1
0:11.39 mozversion INFO platform_buildid: 20190329133129
0:11.39 mozversion INFO platform_version: 68.0a1
0:11.80 INFO Using 1 client processes
0:11.89 INFO Starting http server on 127.0.0.1:8000
0:11.90 INFO Starting http server on 127.0.0.1:8001
0:11.91 INFO Starting https server on 127.0.0.1:8443
0:12.40 SUITE_START: web-platform-test - running 1 tests
0:12.40 INFO Running reftest tests
0:12.40 INFO No reftest tests to run
0:12.40 INFO Running wdspec tests
0:12.41 INFO Starting runner
0:12.95 INFO WebDriver HTTP server listening at http://127.0.0.1:4444/
0:12.95 TEST_START: /_mozilla/webdriver/take_full_screenshot/screenshot.py
0:13.57 INFO STDOUT: ======================================================================== test session starts ========================================================================
0:13.57 INFO STDOUT: platform linux2 -- Python 2.7.16rc1, pytest-unknown, py-1.5.2, pluggy-0.5.3.dev -- /usr/bin/python2.7
0:13.57 INFO STDOUT: rootdir: /home/ato/src/gecko, inifile:
0:13.57 INFO STDOUT: collecting ...
0:13.59 INFO STDOUT: collected 4 items
0:13.59 INFO STDOUT: testing/web-platform/mozilla/tests/webdriver/take_full_screenshot/screenshot.py::test_no_browsing_context
0:13.60 pid:22911 Full command: /home/ato/src/gecko/obj-x86_64-pc-linux-gnu/dist/bin/geckodriver --marionette-port 2828 --host 127.0.0.1 --port 4444
pid:22911 1554120124695 mozrunner::runner INFO Running command: "/home/ato/src/gecko/obj-x86_64-pc-linux-gnu/dist/bin/firefox" "-marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile.ToxhUVl5v8vw"
0:18.91 pid:22911 libGL error: No matching fbConfigs or visuals found
0:18.91 pid:22911 libGL error: failed to load driver: swrast
0:19.63 pid:22911 1554120130724 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
0:19.63 pid:22911 1554120130724 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
0:19.63 pid:22911 1554120130724 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
0:20.40 pid:22911 JavaScript warning: chrome://global/content/bindings/tabbox.xml, line 162: Array.forEach is deprecated; use Array.prototype.forEach instead
0:21.67 pid:22911 JavaScript warning: chrome://browser/content/tabbrowser.js, line 239: Array.filter is deprecated; use Array.prototype.filter instead
0:22.19 pid:22911 JavaScript warning: chrome://browser/content/tabbrowser.js, line 4834: Array.unshift is deprecated; use Array.prototype.unshift instead
0:22.76 pid:22911 JavaScript warning: resource://gre/modules/UrlClassifierLib.jsm, line 34: Array.slice is deprecated; use Array.prototype.slice instead
0:22.83 pid:22911 1554120133925 Marionette INFO Listening on port 2828
0:24.14 pid:22911 JavaScript warning: chrome://global/content/bindings/tabbox.xml, line 258: Array.indexOf is deprecated; use Array.prototype.indexOf instead
0:24.15 pid:22911 JavaScript warning: resource:///modules/AsyncTabSwitcher.jsm, line 422: Array.indexOf is deprecated; use Array.prototype.indexOf instead
0:24.29 INFO STDOUT: PASSED
0:24.92 INFO STDOUT: testing/web-platform/mozilla/tests/webdriver/take_full_screenshot/screenshot.py::test_html_document
0:25.26 pid:22911 JavaScript warning: resource:///actors/PageStyleChild.jsm, line 30: Array.slice is deprecated; use Array.prototype.slice instead
0:25.26 pid:22911 JavaScript warning: resource:///actors/PageStyleChild.jsm, line 31: Array.map is deprecated; use Array.prototype.map instead
0:25.32 INFO STDOUT: PASSED
0:25.56 INFO STDOUT: testing/web-platform/mozilla/tests/webdriver/take_full_screenshot/screenshot.py::test_xhtml_document
0:25.81 INFO STDOUT: PASSED
0:26.06 INFO STDOUT: testing/web-platform/mozilla/tests/webdriver/take_full_screenshot/screenshot.py::test_document_extends_beyond_viewport
0:26.36 INFO STDOUT: PASSED
0:26.49 INFO STDOUT: ===================================================================== 4 passed in 12.92 seconds =====================================================================
0:26.52 TEST_END: Test OK. Subtests passed 4/4. Unexpected 0
0:26.52 INFO Pausing until the browser exits
0:26.52 INFO No more tests
0:26.63 INFO Closing logging queue
0:26.63 INFO queue closed
0:26.63 INFO Running testharness tests
0:26.64 INFO No testharness tests to run
0:26.64 INFO Got 0 unexpected results
0:26.64 SUITE_END
web-platform-test
~~~~~~~~~~~~~~~~~
Ran 5 checks (4 subtests, 1 tests)
Expected results: 5
OK
0:26.73 INFO Closing logging queue
0:26.73 INFO queue closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment