servo: Intermittent "session is already started" error for bluetooth tests
Traceback (most recent call last):
File "/Users/servo/buildbot/slave/mac-rel-wpt4/build/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/executors/protocol.py", line 48, in setup
self.connect()
File "/Users/servo/buildbot/slave/mac-rel-wpt4/build/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/executors/executorservodriver.py", line 100, in connect
self.session.start()
File "/Users/servo/buildbot/slave/mac-rel-wpt4/build/tests/wpt/web-platform-tests/tools/webdriver/webdriver/client.py", line 421, in start
value = self.send_command("POST", "session", body=body)
File "/Users/servo/buildbot/slave/mac-rel-wpt4/build/tests/wpt/web-platform-tests/tools/webdriver/webdriver/client.py", line 472, in send_command
raise err
SessionNotCreatedException: session not created (500): Session is already started
▶ ERROR [expected OK] /bluetooth/characteristic/getDescriptors/gen-characteristic-is-removed.https.html
└ → ''
I recall seeing this in #21370 as well.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 17 (17 by maintainers)
Commits related to this issue
- Auto merge of #22662 - servo:jdm-patch-31, r=<try> Reduce bluetooth test parallelism. This might work around #22619. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/re... — committed to servo/servo by deleted user 8 years ago
- Auto merge of #22662 - servo:jdm-patch-31, r=<try> Reduce bluetooth test parallelism. This might work around #22619. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/re... — committed to servo/servo by deleted user 8 years ago
- Auto merge of #22662 - servo:jdm-patch-31, r=<try> Reduce bluetooth test parallelism. This might work around #22619. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/re... — committed to servo/servo by deleted user 8 years ago
- Auto merge of #22662 - servo:jdm-patch-31, r=KiChjang Reduce bluetooth test parallelism. This might work around #22619. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io... — committed to servo/servo by deleted user 8 years ago
- Auto merge of #22662 - servo:jdm-patch-31, r=KiChjang Reduce bluetooth test parallelism. This might work around #22619. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io... — committed to servo/servo by deleted user 8 years ago
- Auto merge of #23407 - georgeroman:reintroduce_parallelism_in_bluetooth_tests, r=jdm Reintroduce parallelism in the bluetooth tests <!-- Please describe your changes on the following line: --> With ... — committed to servo/servo by deleted user 7 years ago
Good news! Once we update
web-platform-teststo include this commit, this issue will be fixed! (As noted here there is still a small chance of getting this error, but the probability of it happening is quite low)This can be closed now!
@aditj Try modifying the test’s expectation to
PASSin https://github.com/servo/servo/blob/master/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-characteristic-is-removed.https.html.ini.It should be possible to reproduce by running
./mach test-wpt --processes 8 --headless --product=servodriver bluetooth. We should file a separate issue for theIllegal constructorexceptions triggered by https://github.com/web-platform-tests/wpt/blob/e45bda7edddd2cffb4169efe2f61812537b09abd/bluetooth/resources/bluetooth-helpers.js#L177.I have not figured out why yet. I believe it should be possible to add support for multiple sessions to the server, though.