Community-TC Integration / client-rust
failed
Jun 1, 2023 in 6m 55s
Community-TC (pull_request)
rust client tests
Details
View task in Taskcluster
View logs in Taskcluster
Compiling once_cell v1.16.0
Compiling pin-project-lite v0.2.9
Compiling futures-core v0.3.26
Compiling bytes v1.3.0
Compiling tokio v1.26.0
Compiling pkg-config v0.3.26
Compiling mio v0.8.5
Compiling socket2 v0.4.7
Compiling openssl-sys v0.9.83
Compiling num_cpus v1.14.0
Compiling slab v0.4.7
Compiling futures-task v0.3.26
Compiling futures-sink v0.3.26
Compiling itoa v1.0.4
Compiling futures-channel v0.3.26
Compiling syn v2.0.12
Compiling serde_derive v1.0.159
Compiling futures-util v0.3.26
Compiling tracing-core v0.1.30
Compiling indexmap v1.9.2
Compiling bitflags v1.3.2
Compiling serde v1.0.159
Compiling futures-io v0.3.26
Compiling fnv v1.0.7
Compiling pin-utils v0.1.0
Compiling http v0.2.8
Compiling tracing v0.1.37
Compiling percent-encoding v2.2.0
Compiling hashbrown v0.12.3
Compiling tinyvec_macros v0.1.0
Compiling httparse v1.8.0
Compiling foreign-types-shared v0.1.1
Compiling openssl v0.10.48
Compiling foreign-types v0.3.2
Compiling tinyvec v1.6.0
Compiling form_urlencoded v1.1.0
Compiling ring v0.16.20
Compiling tokio-macros v1.8.2
Compiling futures-macro v0.3.26
Compiling openssl-macros v0.1.0
Compiling try-lock v0.2.3
Compiling native-tls v0.2.11
Compiling crc32fast v1.3.2
Compiling alloc-no-stdlib v2.0.4
Compiling alloc-stdlib v0.2.2
Compiling want v0.3.0
Compiling tokio-util v0.7.7
Compiling unicode-normalization v0.1.22
Compiling h2 v0.3.17
Compiling http-body v0.4.5
Compiling getrandom v0.2.8
Compiling num-traits v0.2.15
Compiling serde_json v1.0.95
Compiling openssl-probe v0.1.5
Compiling version_check v0.9.4
Compiling unicode-bidi v0.3.8
Compiling tower-service v0.3.2
Compiling adler v1.0.2
Compiling ryu v1.0.11
Compiling typenum v1.16.0
Compiling httpdate v1.0.2
Compiling hyper v0.14.23
Compiling miniz_oxide v0.6.2
Compiling idna v0.3.0
Compiling generic-array v0.14.6
Compiling rand_core v0.6.4
Compiling brotli-decompressor v2.3.2
Compiling num-integer v0.1.45
Compiling anyhow v1.0.69
Compiling ppv-lite86 v0.2.17
Compiling thiserror v1.0.37
Compiling encoding_rs v0.8.31
Compiling lazy_static v1.4.0
Compiling spin v0.5.2
Compiling untrusted v0.7.1
Compiling brotli v3.3.4
Compiling rand_chacha v0.3.1
Compiling flate2 v1.0.25
Compiling tokio-native-tls v0.3.0
Compiling url v2.3.1
Compiling serde_urlencoded v0.7.1
Compiling thiserror-impl v1.0.37
Compiling base64 v0.13.1
Compiling hawk v4.0.0
Compiling async-compression v0.3.15
Compiling hyper-tls v0.5.0
Compiling rand v0.8.5
Compiling time v0.1.45
Compiling instant v0.1.12
Compiling iana-time-zone v0.1.53
Compiling base64 v0.21.0
Compiling crossbeam-utils v0.8.14
Compiling ipnet v2.7.0
Compiling mime v0.3.16
Compiling reqwest v0.11.16
Compiling chrono v0.4.23
Compiling backoff v0.4.0
Compiling slugid v1.0.1
Compiling hmac-sha256 v1.1.6
Compiling block-buffer v0.10.3
Compiling crypto-common v0.1.6
Compiling aho-corasick v0.7.20
Compiling regex-automata v0.1.10
Compiling regex-syntax v0.6.28
Compiling io-lifetimes v1.0.4
Compiling async-trait v0.1.68
Compiling bstr v0.2.17
Compiling digest v0.10.6
Compiling taskcluster v51.1.0 (/taskcluster/clients/client-rust/client)
Compiling regex v1.7.0
Compiling crossbeam-channel v0.5.6
Compiling futures v0.3.25
Compiling cpufeatures v0.2.5
Compiling rustix v0.36.7
Compiling sha2 v0.10.6
Compiling httptest v0.15.4
Compiling linux-raw-sys v0.1.4
Compiling fastrand v1.8.0
Compiling taskcluster-integration-tests v51.1.0 (/taskcluster/clients/client-rust/integration_tests)
Compiling taskcluster-upload v51.1.0 (/taskcluster/clients/client-rust/upload)
Compiling taskcluster-download v51.1.0 (/taskcluster/clients/client-rust/download)
Compiling tempfile v3.4.0
Finished test [unoptimized + debuginfo] target(s) in 2m 36s
Running unittests src/lib.rs (target/debug/deps/taskcluster-0bd942474478f0d3)
running 33 tests
test client::tests::make_url_escapable_characters ... ok�(B
test client::tests::make_url_query ... ok�(B
test client::tests::make_signed_url_query ... ok�(B
test client::tests::make_signed_url_simple ... ok�(B
test client::tests::make_url_simple ... ok�(B
test client::tests::test_303_no_follow ... ok�(B
test client::tests::test_400_no_retry ... ok�(B
test client::tests::test_authorized_scopes_iter ... ok�(B
test client::tests::test_authorized_scopes_vec ... ok�(B
test client::tests::test_body ... ok�(B
test client::tests::test_query ... ok�(B
test client::tests::test_simple_request ... ok�(B
test credentials::tests::test_from_env ... ok�(B
test credentials::tests::test_from_env_cert ... ok�(B
test credentials::tests::test_from_env_missing ... ok�(B
test credentials::tests::test_from_json ... ok�(B
test credentials::tests::test_from_json_cert ... ok�(B
test credentials::tests::test_json_round_trip ... ok�(B
test credentials::tests::test_named_temp_creds ... ok�(B
test credentials::tests::test_named_temp_creds_on_temp_creds ... ok�(B
test credentials::tests::test_new ... ok�(B
test client::tests::test_simple_request_with_perm_creds ... ok�(B
test credentials::tests::test_unnamed_temp_creds ... ok�(B
test credentials::tests::test_unnamed_temp_creds_on_temp_creds ... ok�(B
test credentials::tests::test_unnamed_temp_creds_too_long_ttl ... ok�(B
test retry::test::backoff_three_retries ... ok�(B
test util::test::control ... ok�(B
test util::test::slashes ... ok�(B
test util::test::spaces ... ok�(B
test util::test::unencoded ... ok�(B
test util::test::test_err_status_code ... ok�(B
test client::tests::test_timeout ... ok�(B
test client::tests::test_500_retry ... ok�(B
test result: ok�(B. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
Running unittests src/lib.rs (target/debug/deps/taskcluster_download-e89a478b5a49f51c)
running 19 tests
test artifact::test::error_artifact ... ok�(B
test artifact::test::object_artifact ... ok�(B
test artifact::test::object_artifact_no_cert ... ok�(B
test factory::test::buf_cursor_writer_too_small ... ok�(B
test factory::test::buf_cursor_writer_twice ... ok�(B
test factory::test::vec_cursor_writer_twice ... ok�(B
test factory::test::file_writer_twice ... ok�(B
test object::test::download_success ... ok�(B
test object::test::download_to_file ... ok�(B
test object::test::download_with_failure_for_400s ... ok�(B
test artifact::test::s3_latest_artifact_with_retry ... ok�(B
test artifact::test::s3_artifact_with_retry ... ok�(B
test object::test::verify_hashes_not_acceptable ... ok�(B
test object::test::verify_hashes_not_acceptable_not_matching ... ok�(B
test object::test::verify_hashes_not_matching ... ok�(B
test object::test::verify_hashes_valid ... ok�(B
test object::test::download_calls_start_download_when_expired ... ok�(B
test object::test::download_with_retries_for_500s_failure ... ok�(B
test object::test::download_with_retries_for_500s_success ... ok�(B
test result: ok�(B. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s
Running unittests src/lib.rs (target/debug/deps/taskcluster_integration_tests-59b0ea6f4274ddef)
running 0 tests
test result: ok�(B. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/against_real_deployment.rs (target/debug/deps/against_real_deployment-9a3e45a161ac8426)
running 15 tests
test test_auth_creds_with_body ... ok�(B
test test_auth_expand_scopes ... ok�(B
test test_auth_authorized_scopes ... ok�(B
test test_auth_named_temp_creds ... ok�(B
test test_auth_list_clients_unsigned_url ... ok�(B
test test_auth_ping ... ok�(B
test test_auth_named_temp_creds_authorized_scopes ... ok�(B
test test_auth_unnamed_temp_creds ... ok�(B
test test_auth_signed_url ... ok�(B
test test_empty_post ... ok�(B
test test_auth_unsigned_ping_url ... ok�(B
test test_no_such_client ... ok�(B
test test_signed_url_named_temp_creds ... ok�(B
test test_signed_url_unnamed_temp_creds ... ok�(B
test test_auth_list_clients_paginated ... ok�(B
test result: ok�(B. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.11s
Running tests/upload_download.rs (target/debug/deps/upload_download-d3156cd7eee1664d)
running 3 tests
test test_small_upload ... ok�(B
test test_large_upload ... ok�(B
test test_file_upload ... ok�(B
test result: ok�(B. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.36s
Running unittests src/lib.rs (target/debug/deps/taskcluster_upload-e708c1d3ad3253d6)
running 5 tests
test factory::test::cursor_reader_twice ... ok�(B
test test::large_data_inline_upload ... ok�(B
test test::small_data_inline_upload ... ok�(B
test factory::test::file_reader_twice ... FAILED�(B
test test::put_url ... ok�(B
failures:
---- factory::test::file_reader_twice stdout ----
thread 'factory::test::file_reader_twice' panicked at 'assertion failed: `(left == right)`
left: `[]`,
right: `[72, 69, 76, 76, 79, 47, 87, 79, 82, 76, 68]`', upload/src/factory.rs:87:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
factory::test::file_reader_twice
test result: FAILED�(B. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
error: test failed, to rerun pass `-p taskcluster-upload --lib`
[taskcluster 2023-06-01 08:32:31.703Z] === Task Finished ===
[taskcluster 2023-06-01 08:32:31.703Z] Unsuccessful task run with exit code: 101 completed in 218.111 seconds
Loading