Open Bug 1194299 Opened 4 years ago Updated Last month

Intermittent wpt INFO - IndexError: list index out of range on startup

Categories

(Testing :: web-platform-tests, defect)

defect
Not set

Tracking

(Not tracked)

People

(Reporter: RyanVM, Unassigned)

Details

(Whiteboard: [stockwell unknown])

05:10:46 INFO - Using 1 client processes
05:10:46 INFO - STDERR: Traceback (most recent call last):
05:10:46 INFO - File "/builds/slave/test/build/tests/web-platform/tests/tools/serve/serve.py", line 146, in create_daemon
05:10:46 INFO - ssl_config, **kwargs)
05:10:46 INFO - File "/builds/slave/test/build/tests/web-platform/tests/tools/serve/serve.py", line 342, in start_ws_server
05:10:46 INFO - ssl_config = None)
05:10:46 INFO - File "/builds/slave/test/build/tests/web-platform/tests/tools/serve/serve.py", line 303, in __init__
05:10:46 INFO - self.port = ports[0]
05:10:46 INFO - IndexError: list index out of range
05:10:46 INFO - wptserve Starting http server on 127.0.0.1:8000
05:10:47 INFO - wptserve Starting http server on 127.0.0.1:8001
05:10:47 INFO - wptserve Starting http server on 127.0.0.1:8443
05:10:49 INFO - Closing logging queue
05:10:49 INFO - queue closed
05:10:49 CRITICAL - Test harness output was not a valid structured log message:
05:10:49 CRITICAL - Traceback (most recent call last):
05:10:49 CRITICAL - Test harness output was not a valid structured log message:
05:10:49 CRITICAL - File "/builds/slave/test/build/tests/web-platform/harness/wptrunner/wptrunner.py", line 223, in main
05:10:49 CRITICAL - Test harness output was not a valid structured log message:
05:10:49 CRITICAL - return not run_tests(**kwargs)
05:10:49 CRITICAL - Test harness output was not a valid structured log message:
05:10:49 CRITICAL - File "/builds/slave/test/build/tests/web-platform/harness/wptrunner/wptrunner.py", line 147, in run_tests
05:10:49 CRITICAL - Test harness output was not a valid structured log message:
05:10:49 CRITICAL - test_environment.ensure_started()
05:10:49 CRITICAL - Test harness output was not a valid structured log message:
05:10:49 CRITICAL - File "/builds/slave/test/build/tests/web-platform/harness/wptrunner/environment.py", line 214, in ensure_started
05:10:49 CRITICAL - Test harness output was not a valid structured log message:
05:10:49 CRITICAL - raise EnvironmentError("%s server on port %d failed to start" % (scheme, port))
05:10:49 CRITICAL - Test harness output was not a valid structured log message:
05:10:49 CRITICAL - EnvironmentError: ws server on port 8888 failed to start
05:10:49 CRITICAL - Test harness output was not a valid structured log message:
05:10:49 CRITICAL - > /builds/slave/test/build/tests/web-platform/harness/wptrunner/environment.py(214)ensure_started()
05:10:49 CRITICAL - Test harness output was not a valid structured log message:
05:10:49 CRITICAL - -> raise EnvironmentError("%s server on port %d failed to start" % (scheme, port))
05:10:49 CRITICAL - Test harness output was not a valid structured log message:
05:10:49 CRITICAL - (Pdb)
05:10:49 INFO - Return code: 0
05:10:49 ERROR - No checks run.
05:10:49 ERROR - No suite end message was emitted by this harness.
See Also: → 1536600
See Also: 1536600

There are 1536772 in the last 7 days on osx-10-10 opt and debug.

The occurrences are between the 19th and 21st of March, no other occurrences since the 21st.

Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=235047300&repo=autoland&lineNumber=608

20:41:15 INFO - TEST-START | /websockets/interfaces/WebSocket/url/resolve.html?wss
20:41:15 INFO - TEST-SKIP | /websockets/interfaces/WebSocket/url/resolve.html?wss | took 0ms
20:41:15 INFO - STDERR: Socket error on port 8001
20:41:15 INFO - STDERR: Socket error on port 8000
20:41:15 WARNING - Failed to start HTTP server. You may need to edit /etc/hosts or similar, see README.md.
20:41:15 INFO - STDERR: Socket error on port 8443
20:41:15 WARNING - Failed to start HTTP server. You may need to edit /etc/hosts or similar, see README.md.
20:41:15 WARNING - Failed to start HTTP server. You may need to edit /etc/hosts or similar, see README.md.
20:41:15 INFO - STDERR: No handlers could be found for logger "mod_pywebsocket.standalone.WebSocketServer"
20:41:15 INFO - STDERR: No handlers could be found for logger "mod_pywebsocket.standalone.WebSocketServer"
20:41:15 INFO - STDERR: Traceback (most recent call last):
20:41:15 INFO - File "/Users/cltbld/tasks/task_1553110128/build/tests/web-platform/tests/tools/serve/serve.py", line 403, in create_daemon
20:41:15 INFO - self.daemon = init_func(host, port, paths, routes, bind_address, config, **kwargs)
20:41:15 INFO - File "/Users/cltbld/tasks/task_1553110128/build/tests/web-platform/tests/tools/serve/serve.py", line 671, in start_wss_server
20:41:15 INFO - config.ssl_config)
20:41:15 INFO - File "/Users/cltbld/tasks/task_1553110128/build/tests/web-platform/tests/tools/serve/serve.py", line 604, in init
20:41:15 INFO - self.port = ports[0]
20:41:15 INFO - IndexError: list index out of range
20:41:15 INFO - STDERR: Traceback (most recent call last):
20:41:15 INFO - File "/Users/cltbld/tasks/task_1553110128/build/tests/web-platform/tests/tools/serve/serve.py", line 403, in create_daemon
20:41:15 INFO - self.daemon = init_func(host, port, paths, routes, bind_address, config, **kwargs)
20:41:15 INFO - File "/Users/cltbld/tasks/task_1553110128/build/tests/web-platform/tests/tools/serve/serve.py", line 657, in start_ws_server
20:41:15 INFO - ssl_config = None)
20:41:15 INFO - File "/Users/cltbld/tasks/task_1553110128/build/tests/web-platform/tests/tools/serve/serve.py", line 604, in init
20:41:15 INFO - self.port = ports[0]
20:41:15 INFO - IndexError: list index out of range
20:41:15 INFO - Setting up ssl
20:41:15 INFO - certutil |
20:41:15 INFO - certutil |
20:41:15 INFO - certutil |
20:41:15 INFO - Certificate Nickname Trust Attributes
20:41:15 INFO - SSL,S/MIME,JAR/XPI
20:41:15 INFO -
20:41:15 INFO - web-platform-tests CT,,
20:41:15 INFO -
20:41:15 INFO - Application command: /Users/cltbld/tasks/task_1553110128/build/application/Firefox NightlyDebug.app/Contents/MacOS/firefox --marionette about:blank -foreground -profile /var/folders/b7/5pn_ysnx2xb74sclgdkj8n_m00000x/T/tmp0FInLt.mozrunner

Whiteboard: [stockwell unknown]

Recent classifications here seem to be wrong as this appears to be a false-positive for some wr/wpt failures on mozilla-central

For example: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&resultStatus=testfailed%2Cbusted%2Cexception&searchStr=Android%2C7.0%2Cx86%2Copt&selectedJob=238571145

There are 37 failures associated to this bug in the last 7 days. These are occurring mainly on android-em-7-0-x86 opt.

Whiteboard: [stockwell unknown] → [stockwell needswork]

Deleting the intermittent failure cause it's getting misclassified with different raptor failures.

You need to log in before you can comment on or make changes to this bug.