Open Bug 1642075 Opened 5 years ago Updated 5 years ago

Error from mach wpt-serve is unhelpful

Categories

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

defect

Tracking

(Not tracked)

People

(Reporter: xidorn, Unassigned)

Details

When running mach wpt-serve on a machine without proper configuration for web-platform tests, it outputs error message:

Failed to start HTTP server on port *; is something already using that port?
Please ensure all the necessary WPT subdomains are mapped to a loopback device in /etc/hosts.
See https://web-platform-tests.org/running-tests/from-local-system.html#system-setup for instructions.

However, the page asks you to run:

./wpt make-hosts-file | sudo tee -a /etc/hosts

but there is no wpt executable in mozilla repo, so there is no obvious way to run this comment, causing confusion for people who are not familiar with web-platform tests.

The severity field is not set for this bug.
:jgraham, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(james)
Severity: -- → S3
Flags: needinfo?(james)
You need to log in before you can comment on or make changes to this bug.