Open Bug 1834094 Opened 2 years ago Updated 2 years ago

When trying to run WPT and using system NSS, system certutil isn't checked/used

Categories

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

Firefox 115
defect

Tracking

(Not tracked)

People

(Reporter: alaskanemily, Unassigned)

Details

With ac_add_options --with-system-nss in .mozconfig and trying to run a WPT (for instance, mach test testing/web-platform/tests/css/cssom/cssom-pagerule.html), the test doesn't run and mach displays an error to the effect of:

 0:01.33 ERROR Binary expected at /home/emily/dev/gecko-dev/obj-x86_64-pc-linux-gnu/dist/bin/certutil does not exist.
 0:01.33 INFO It looks like your program isn't built. You can run |./mach build| to build it.

A local certutil isn't built because of using the system NSS, and in this case I would expect the system certutil to be checked used.

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

For more information, please visit BugBot documentation.

Flags: needinfo?(james)

I think this is a case where I'd happily take a patch if you know how to find the system certutil path.The relevant code is https://searchfox.org/mozilla-central/source/testing/web-platform/mach_commands.py#65

However you can work around it by just using --certutil-binary at the command line.

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