Closed Bug 1129408 Opened 9 years ago Closed 9 years ago

web-platform-tests server still running after job finishes

Categories

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

x86_64
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jgraham, Unassigned)

Details

Attachments

(2 files)

(In reply to James Graham [:jgraham] from comment #19)
> (In reply to Dhi Aurrahman from comment #16)
> > I'm not sure if it is related. Since I couldn't find a proper way to run the
> > web-platform-test (./mach web-platform-test fails)
> 
> What happens when you try to run it?

After reboot it is fine, but only runs once. The second attempt running it, the test refuses to run.

```
The details of the failure are as follows:

EnvironmentError: http server on port 8000 failed to start

  File "/Volumes/Backup/workspace/mozilla/bundles/mozilla-central/testing/web-platform/mach_commands.py", line 132, in run_web_platform_tests
    return wpt_runner.run_tests(**params)
  File "/Volumes/Backup/workspace/mozilla/bundles/mozilla-central/testing/web-platform/mach_commands.py", line 73, in run_tests
    result = wptrunner.run_tests(**kwargs)
  File "/Volumes/Backup/workspace/mozilla/bundles/mozilla-central/testing/web-platform/harness/wptrunner/wptrunner.py", line 415, in run_tests
    test_environment.ensure_started()
  File "/Volumes/Backup/workspace/mozilla/bundles/mozilla-central/testing/web-platform/harness/wptrunner/wptrunner.py", line 253, in ensure_started
    "%s server on port %d failed to start" % (scheme, port))
Are you stopping the test run in some strange way, or just letting it finish naturally? What does |lsof -i :8000| say after the run?
Flags: needinfo?(diorahman)
(In reply to James Graham [:jgraham] from comment #1)
> Are you stopping the test run in some strange way, or just letting it finish
> naturally?
I'm letting it finish naturally.

> What does |lsof -i :8000| say after the run?

It gives me nothing

I recorded my terminal session: https://asciinema.org/a/16064 (it pauses a while on copying the testharnessreport.js)

```
0:00.18 LOG: MainThread INFO Copying /Volumes/Backup/workspace/mozilla/bundles/mozilla-central/testing/web-platform/harness/wptrunner/testharnessreport.js to /Volumes/Backup/workspace/mozilla/bundles/mozilla-central/testing/web-platform/tests/resources/testharnessreport.js

```

With following scenario:
(1) run the test, 
(2) lsof and 
(3) run the test again
Flags: needinfo?(diorahman)
Can you try this again adding the argument --log-raw=output.log to the mach command (you can change the filename ofc, and will have to if you want to get logs from both the working and non-working runs) and attach the resulting log files to this bug?
Flags: needinfo?(diorahman)
Attached file on successful attempt
Flags: needinfo?(diorahman)
Attached file on failure attempt
Can you confirm that this is still a problem?
I think it is OK now(In reply to James Graham [:jgraham] from comment #6)
> Can you confirm that this is still a problem?

I think it is OK now.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: