./mach cargo vet: There are some issues with your policy.audit-as-crates-io entries
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox-esr102 unaffected, firefox-esr115 unaffected, firefox115 unaffected, firefox116 wontfix, firefox117 fixed)
| Tracking | Status | |
|---|---|---|
| firefox-esr102 | --- | unaffected |
| firefox-esr115 | --- | unaffected |
| firefox115 | --- | unaffected |
| firefox116 | --- | wontfix |
| firefox117 | --- | fixed |
People
(Reporter: jrmuizel, Assigned: glandium)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
I get the following when trying to run ./mach cargo vet
0:24.22 Vet error: There are some issues with your policy.audit-as-crates-io entries
0:24.44 related error: Some non-crates.io-fetched packages match published crates.io versions
mozilla-central-workspace-hack:0.1.0
This seems to have been caused by bug 1838354
| Reporter | ||
Updated•2 years ago
|
| Reporter | ||
Updated•2 years ago
|
Comment 1•2 years ago
|
||
Set release status flags based on info from the regressing bug 1838354
| Assignee | ||
Comment 2•2 years ago
|
||
Bobby, can we get to the bottom of why this is happening for some people and not others? (Jeff, I suppose you're running on Windows?)
Updated•2 years ago
|
Comment 3•2 years ago
|
||
There is a published version of mozilla-central-workspace-hack on crates.io which appears to have been published by you on June 15th (https://crates.io/crates/mozilla-central-workspace-hack). This version has the same "description" as the local crate, so should be considered to match, requiring an audit-as-crates-io = false in the policy table (https://searchfox.org/mozilla-central/rev/6220909421e5cdb2e706a87f77ba7c6f4f21e4d0/supply-chain/config.toml#107-109).
I'm unsure why this wouldn't be appearing for some people. Theoretically this should be appearing for all people who run ./mach cargo vet locally (I also see it as well). Are you not seeing this show up locally? I wonder if you're ending up with an older version of cargo-vet or similar?
| Assignee | ||
Comment 4•2 years ago
|
||
Yeah, I'm not seeing it locally.
$ ./mach cargo vet -- --version
cargo-vet 0.8.0
Are you on Windows?
| Assignee | ||
Comment 5•2 years ago
|
||
I was able to reproduce on another machine on Linux. I'm baffled...
Comment 6•2 years ago
•
|
||
(In reply to Mike Hommey [:glandium] from comment #4)
Yeah, I'm not seeing it locally.
$ ./mach cargo vet -- --version cargo-vet 0.8.0Are you on Windows?
I tested locally on Linux. I'm curious what your crates-io-cache looks like (cargo-vet might have some cache invalidation issue for the description/repository metadata), could you try running:
jq '.crates["mozilla-central-workspace-hack"]' ~/.cache/cargo-vet/crates-io-cache.json
| Assignee | ||
Comment 7•2 years ago
|
||
| Assignee | ||
Comment 8•2 years ago
|
||
Figured on matrix: there is some cache invalidation issue.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 10•2 years ago
|
||
| bugherder | ||
Description
•