-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
A-testing-cargo-itselfArea: cargo's testsArea: cargo's tests
Description
The test registry_auth::token_not_logged
has been failing in CI randomly, and I don't immediately have thoughts why.
- Skip clean up
profile.release.package."*"
#12624 (comment) - cargo install: suggest --git when package name is url #12575 (comment)
- refactor: use macro to remove duplication of workspace inheritable fields getters #12317 (comment)
- Bump to 0.75.0; update changelog #12539 (comment)
- Fix example for creating a git project test. #12632 (comment)
---- registry_auth::token_not_logged stdout ----
req: Request {
url: Url {
scheme: "http",
cannot_be_a_base: false,
username: "",
password: None,
host: Some(
Ipv4(
127.0.0.1,
),
),
port: Some(
37477,
),
path: "/index/config.json",
query: None,
fragment: None,
},
method: "get",
authorization: None,
if_modified_since: None,
if_none_match: None,
}
req: Request {
url: Url {
scheme: "http",
cannot_be_a_base: false,
username: "",
password: None,
host: Some(
Ipv4(
127.0.0.1,
),
),
port: Some(
37477,
),
path: "/index/config.json",
query: None,
fragment: None,
},
method: "get",
authorization: Some(
"a-unique_token",
),
if_modified_since: None,
if_none_match: None,
}
req: Request {
url: Url {
scheme: "http",
cannot_be_a_base: false,
username: "",
password: None,
host: Some(
Ipv4(
127.0.0.1,
),
),
port: Some(
37477,
),
path: "/index/config.json",
query: None,
fragment: None,
},
method: "get",
authorization: Some(
"a-unique_token",
),
if_modified_since: None,
if_none_match: None,
}
req: Request {
url: Url {
scheme: "http",
cannot_be_a_base: false,
username: "",
password: None,
host: Some(
Ipv4(
127.0.0.1,
),
),
port: Some(
37477,
),
path: "/index/3/b/bar",
query: None,
fragment: None,
},
method: "get",
authorization: Some(
"a-unique_token",
),
if_modified_since: None,
if_none_match: None,
}
req: Request {
url: Url {
scheme: "http",
cannot_be_a_base: false,
username: "",
password: None,
host: Some(
Ipv4(
127.0.0.1,
),
),
port: Some(
37477,
),
path: "/dl/bar/1.0.0/download",
query: None,
fragment: None,
},
method: "get",
authorization: Some(
"a-unique_token",
),
if_modified_since: None,
if_none_match: None,
}
/home/runner/work/cargo/cargo/target/tmp/cit/t2285/dl/bar/1.0.0/download
req: Request {
url: Url {
scheme: "http",
cannot_be_a_base: false,
username: "",
password: None,
host: Some(
Ipv4(
127.0.0.1,
),
),
port: Some(
37477,
),
path: "/api/v1/crates/new",
query: None,
fragment: None,
},
method: "put",
authorization: Some(
"a-unique_token",
),
if_modified_since: None,
if_none_match: None,
}
req: Request {
url: Url {
scheme: "http",
cannot_be_a_base: false,
username: "",
password: None,
host: Some(
Ipv4(
127.0.0.1,
),
),
port: Some(
37477,
),
path: "/index/config.json",
query: None,
fragment: None,
},
method: "get",
authorization: Some(
"a-unique_token",
),
if_modified_since: None,
if_none_match: None,
}
req: Request {
url: Url {
scheme: "http",
cannot_be_a_base: false,
username: "",
password: None,
host: Some(
Ipv4(
127.0.0.1,
),
),
port: Some(
37477,
),
path: "/index/3/f/foo",
query: None,
fragment: None,
},
method: "get",
authorization: Some(
"a-unique_token",
),
if_modified_since: None,
if_none_match: None,
}
thread 'registry_auth::token_not_logged' panicked at tests/testsuite/registry_auth.rs:499:5:
assertion `left == right` failed
left: 8
right: 7
This issue has been assigned to @hi-rustin via this comment.
Metadata
Metadata
Assignees
Labels
A-testing-cargo-itselfArea: cargo's testsArea: cargo's tests