Skip to content

[Taskcluster] Run Py3 infrastructure/ tests on Firefox as well as Chrome#27104

Closed
stephenmcgruer wants to merge 1 commit intomasterfrom
smcgruer/infrastructure-py3-firefox
Closed

[Taskcluster] Run Py3 infrastructure/ tests on Firefox as well as Chrome#27104
stephenmcgruer wants to merge 1 commit intomasterfrom
smcgruer/infrastructure-py3-firefox

Conversation

@stephenmcgruer
Copy link
Copy Markdown
Contributor

No description provided.

@stephenmcgruer stephenmcgruer force-pushed the smcgruer/infrastructure-py3-firefox branch from 9abb487 to d32a2fb Compare January 8, 2021 15:23
@stephenmcgruer
Copy link
Copy Markdown
Contributor Author

Two tests fail in infrastructure/ on Firefox under Py3:

Unexpected Results
------------------
/infrastructure/server/http2-websocket.sub.h2.any.html
  TIMEOUT WSS over h2 - Test timed out
  TIMEOUT /infrastructure/server/http2-websocket.sub.h2.any.html
/infrastructure/server/http2-websocket.sub.h2.any.worker.html
  TIMEOUT WSS over h2 - Test timed out
  TIMEOUT /infrastructure/server/http2-websocket.sub.h2.any.worker.html

Running one locally I see:

./wpt --py3 run --log-mach - --yes --metadata infrastructure/metadata/ --install-fonts --install-webdriver '--binary=~/firefox-nightly/firefox' firefox infrastructure/server/http2-websocket.sub.h2.any.html
...
 0:13.31 SUITE_START: web-platform-test - running 1 tests
 0:13.31 INFO Running testharness tests
 0:13.36 INFO Setting up ssl
 0:13.52 certutil Full command: /usr/bin/certutil -N -d /tmp/tmp_lkj9u2i.mozrunner -f /tmp/tmp_lkj9u2i.mozrunner/.crtdbpw
certutil b''
 0:13.69 certutil b''
 0:13.71 certutil b'\nCertificate Nickname                                         Trust Attributes\n                                                             SSL,S/MIME,JAR/XPI\n\nweb-platform-tests                                           CT,, \n'
 0:13.72 INFO Application command: /home/smcgruer/firefox-nightly/firefox --marionette about:blank -profile /tmp/tmp5348lbjp
 0:13.74 INFO Application command: /home/smcgruer/firefox-nightly/firefox --marionette about:blank -profile /tmp/tmpftxf19kn
 0:13.75 INFO Starting runner
 0:13.79 pid:13508 Full command: /home/smcgruer/firefox-nightly/firefox --marionette about:blank -profile /tmp/tmp5348lbjp
pid:13508 *** You are running in headless mode.
 0:15.61 pid:13508 JavaScript error: , line 0: uncaught exception: [fluent] Missing translations in en-CA: bookmarks-toolbar-empty-message.
 0:16.25 pid:13508 JavaScript error: , line 0: uncaught exception: undefined
 0:16.26 pid:13508 JavaScript error: , line 0: uncaught exception: undefined
 0:16.26 pid:13508 JavaScript error: , line 0: uncaught exception: undefined
 0:17.00 pid:13508 console.warn: SearchSettings: "get: No settings file exists, new profile?" (new Error("", "(unknown module)"))
 0:20.02 pid:13508 1610120942064        Marionette      INFO    Listening on port 45747
 0:20.29 pid:13508 JavaScript error: chrome://browser/content/tabbrowser.js, line 971: TypeError: can't access property "replace", docElement.dataset[("contentTitle" + dataSuffix)] is undefined
 0:20.29 TEST_START: /infrastructure/server/http2-websocket.sub.h2.any.html
 0:20.38 pid:13508 JavaScript error: chrome://browser/content/tabbrowser.js, line 971: TypeError: can't access property "replace", docElement.dataset[("contentTitle" + dataSuffix)] is undefined
 0:30.70 TEST_END: Test TIMEOUT, expected OK. Subtests passed 0/1. Unexpected 1
TIMEOUT WSS over h2 - Test timed outTIMEOUT /infrastructure/server/http2-websocket.sub.h2.any.html
 0:30.70 INFO No more tests

@stephenmcgruer stephenmcgruer marked this pull request as ready for review January 8, 2021 15:50
@stephenmcgruer
Copy link
Copy Markdown
Contributor Author

@jgraham - I'm not really sure what's going on here; I assume some Py3 bug in the websocket-over-http2 code, but I don't know where to start digging in.

Test passes in Firefox on Py2.

Test fails instantly in Chrome on Py2 or Py3 due to http2-websocket.sub.h2.any.js:3 WebSocket connection to 'wss://web-platform.test:9000/echo' failed: Error during WebSocket handshake: net::ERR_INVALID_HTTP_RESPONSE, so I assume (?) Chrome just doesn't support this.

@stephenmcgruer stephenmcgruer force-pushed the smcgruer/infrastructure-py3-firefox branch from d32a2fb to 0e77b1f Compare January 11, 2021 22:14
@stephenmcgruer
Copy link
Copy Markdown
Contributor Author

Thanks for fixing this @jgraham ! PTAL, this PR should be good to go now. The Azure Pipelines failure is unrelated.

@stephenmcgruer
Copy link
Copy Markdown
Contributor Author

Landed in another PR.

@foolip foolip deleted the smcgruer/infrastructure-py3-firefox branch April 14, 2021 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants