Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent timeout in wpt: workers/constructors/Worker/same-origin.html #3180

Closed
mbrubeck opened this issue Aug 28, 2014 · 0 comments
Closed

Intermittent timeout in wpt: workers/constructors/Worker/same-origin.html #3180

mbrubeck opened this issue Aug 28, 2014 · 0 comments

Comments

@mbrubeck
Copy link
Contributor

@mbrubeck mbrubeck commented Aug 28, 2014

This has happened multiple times, including https://travis-ci.org/servo/servo/jobs/33717703

 6:16.00 TEST_START: Thread-TestrunnerManager-4 /workers/constructors/Worker/same-origin.html

6:16.14 PROCESS_OUTPUT: Thread-TestrunnerManager-4 "error loading script unsupported:" (pid:23428 command:/Users/travis/build/servo/servo/build/servo --hard-fail http://localhost:8000/workers/constructors/Worker/same-origin.html)

6:16.14 PROCESS_OUTPUT: Thread-TestrunnerManager-4 "error loading script about:blank" (pid:23428 command:/Users/travis/build/servo/servo/build/servo --hard-fail http://localhost:8000/workers/constructors/Worker/same-origin.html)

6:16.16 PROCESS_OUTPUT: Thread-TestrunnerManager-4 "error loading script javascript:""" (pid:23428 command:/Users/travis/build/servo/servo/build/servo --hard-fail http://localhost:8000/workers/constructors/Worker/same-origin.html)

6:16.17 PROCESS_OUTPUT: Thread-TestrunnerManager-4 "ERROR:js::rust: Error at http://localhost:8000/workers/constructors/Worker/undefined//undefined:81/:1: SyntaxError: invalid label" (pid:23428 command:/Users/travis/build/servo/servo/build/servo --hard-fail http://localhost:8000/workers/constructors/Worker/same-origin.html)

6:16.17 PROCESS_OUTPUT: Thread-TestrunnerManager-4 "" (pid:23428 command:/Users/travis/build/servo/servo/build/servo --hard-fail http://localhost:8000/workers/constructors/Worker/same-origin.html)

6:16.17 PROCESS_OUTPUT: Thread-TestrunnerManager-4 "evaluate_script failed" (pid:23428 command:/Users/travis/build/servo/servo/build/servo --hard-fail http://localhost:8000/workers/constructors/Worker/same-origin.html)

6:16.23 PROCESS_OUTPUT: Thread-TestrunnerManager-4 "ALERT: error loading script http://www.example.invalid/" (pid:23428 command:/Users/travis/build/servo/servo/build/servo --hard-fail http://localhost:8000/workers/constructors/Worker/same-origin.html)

6:16.23 PROCESS_OUTPUT: Thread-TestrunnerManager-4 "RESULT: {"tests":[{"name":"unsupported_scheme","status":1,"message":"assert_throws: function \"function () { new Worker('unsupported:'); }\" did not throw"},{"name":"data_url","status":0,"message":null},{"name":"about_blank","status":1,"message":"assert_throws: function \"function () { new Worker('about:blank'); }\" did not throw"},{"name":"example_invalid","status":1,"message":"assert_throws: function \"function () { new Worker('http://www.example.invalid/'); }\" did not throw"},{"name":"port_81","status":1,"message":"assert_throws: function \"function () { new Worker(location.protocol+'//'+location....\" did not throw"},{"name":"https_port_80","status":1,"message":"assert_throws: function \"function () { new Worker('https://'+location.hostname+':8...\" did not throw"},{"name":"https_port_8000","status":1,"message":"assert_throws: function \"function () { new Worker('https://'+location.hostname+':8...\" did not throw"},{"name":"http_post_8012","status":1,"message":"assert_throws: function \"function () { new Worker('http://'+location.hostname+':80...\" did not throw"},{"name":"javascript_url","status":1,"message":"assert_throws: function \"function () { new Worker('javascript:\"\"'); }\" did not throw"}],"status":0,"message":null}" (pid:23428 command:/Users/travis/build/servo/servo/build/servo --hard-fail http://localhost:8000/workers/constructors/Worker/same-origin.html)

6:16.25 PROCESS_OUTPUT: Thread-TestrunnerManager-4 "error loading script https://undefined:80/" (pid:23428 command:/Users/travis/build/servo/servo/build/servo --hard-fail http://localhost:8000/workers/constructors/Worker/same-origin.html)

6:16.25 PROCESS_OUTPUT: Thread-TestrunnerManager-4 "error loading script https://undefined:8000/" (pid:23428 command:/Users/travis/build/servo/servo/build/servo --hard-fail http://localhost:8000/workers/constructors/Worker/same-origin.html)

6:16.25 PROCESS_OUTPUT: Thread-TestrunnerManager-4 "error loading script http://undefined:8012/" (pid:23428 command:/Users/travis/build/servo/servo/build/servo --hard-fail http://localhost:8000/workers/constructors/Worker/same-origin.html)
 6:31.03 TEST_END: Thread-TestrunnerManager-4 TIMEOUT, expected OK
@jdm jdm added the I-intermittent label Aug 29, 2014
@Ms2ger Ms2ger closed this in e0a36f3 Aug 29, 2014
Manishearth added a commit that referenced this issue Aug 29, 2014
Disable same-origin.html for intermittent failures (fixes #3180).; r=jgraham
bors-servo added a commit that referenced this issue May 9, 2019
Fix modes for fetching classic worker script and introduce parser metadata for request

While reading [the spec](https://html.spec.whatwg.org/multipage/#fetch-a-classic-worker-script) for `fetch a classic worker script`, I found the `mode` and `credential-mode` are opposite to the spec. So, the first commit will fix it.

Also, I found there's a `parser metadata` for `request` so I tried to introduce it in this PR as well.

For WPT, I found there's a `/workers/constructors/Worker/same-origin.html` which was disabled in  #3180. We pass most of the tests now.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23351)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue May 15, 2019
Fix modes for fetching classic worker script and introduce parser metadata for request

While reading [the spec](https://html.spec.whatwg.org/multipage/#fetch-a-classic-worker-script) for `fetch a classic worker script`, I found the `mode` and `credential-mode` are opposite to the spec. So, the first commit will fix it.

Also, I found there's a `parser metadata` for `request` so I tried to introduce it in this PR as well.

For WPT, I found there's a `/workers/constructors/Worker/same-origin.html` which was disabled in  #3180. We pass most of the tests now.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23351)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue May 16, 2019
Fix modes for fetching classic worker script and introduce parser metadata for request

While reading [the spec](https://html.spec.whatwg.org/multipage/#fetch-a-classic-worker-script) for `fetch a classic worker script`, I found the `mode` and `credential-mode` are opposite to the spec. So, the first commit will fix it.

Also, I found there's a `parser metadata` for `request` so I tried to introduce it in this PR as well.

For WPT, I found there's a `/workers/constructors/Worker/same-origin.html` which was disabled in  #3180. We pass most of the tests now.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23351)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue May 16, 2019
Fix modes for fetching classic worker script and introduce parser metadata for request

While reading [the spec](https://html.spec.whatwg.org/multipage/#fetch-a-classic-worker-script) for `fetch a classic worker script`, I found the `mode` and `credential-mode` are opposite to the spec. So, the first commit will fix it.

Also, I found there's a `parser metadata` for `request` so I tried to introduce it in this PR as well.

For WPT, I found there's a `/workers/constructors/Worker/same-origin.html` which was disabled in  #3180. We pass most of the tests now.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23351)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.