warning: unused variable: `status_response` --> services/integration_tests/tests/trading_service_e2e.rs:516:9 | 516 | let status_response = client.get_order_status(status_request).await; | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_status_response` | = note: `#[warn(unused_variables)]` on by default warning: unused variable: `response` --> services/integration_tests/tests/trading_service_e2e.rs:601:15 | 601 | Ok(Ok(response)) => { | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` warning: method `with_mfa_unverified` is never used --> services/integration_tests/tests/common/auth_helpers.rs:157:12 | 109 | impl TestAuthConfig { | ------------------- method in this implementation ... 157 | pub fn with_mfa_unverified(mut self) -> Self { | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: function `create_auth_interceptor` is never used --> services/integration_tests/tests/common/auth_helpers.rs:352:8 | 352 | pub fn create_auth_interceptor( | ^^^^^^^^^^^^^^^^^^^^^^^ warning: `integration_tests` (test "trading_service_e2e") generated 4 warnings warning: `integration_tests` (test "backtesting_service_e2e") generated 2 warnings (2 duplicates) warning: `integration_tests` (test "service_health_resilience_e2e") generated 1 warning (1 duplicate) Finished `test` profile [unoptimized] target(s) in 0.30s Running unittests src/lib.rs (target/debug/deps/integration_tests-fe677114dfdf5872) running 7 tests test metrics_validation::tests::test_all_services_metrics ... ignored test metrics_validation::tests::test_api_gateway_metrics ... ignored test metrics_validation::tests::test_metrics_parser ... ok test metrics_validation::tests::test_metrics_parser_edge_cases ... ok test metrics_validation::tests::test_metrics_scrape_performance ... ignored test metrics_validation::tests::test_required_metrics ... ok test metrics_validation::tests::test_trading_service_metrics ... ignored test result: ok. 3 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/backtesting_service_e2e.rs (target/debug/deps/backtesting_service_e2e-1eb7059b87d5971a) running 23 tests test common::auth_helpers::tests::test_auth_config_builder ... ok test common::auth_helpers::tests::test_create_expired_jwt ... ok test common::auth_helpers::tests::test_create_invalid_issuer_jwt ... ok test common::auth_helpers::tests::test_create_test_jwt_admin ... ok test common::auth_helpers::tests::test_create_test_jwt_default ... ok test common::auth_helpers::tests::test_create_test_jwt_trader ... ok test common::auth_helpers::tests::test_create_test_jwt_viewer ... ok test common::auth_helpers::tests::test_get_api_gateway_addr ... ok test common::auth_helpers::tests::test_get_test_jwt_secret_fails_without_env - should panic ... ok test common::auth_helpers::tests::test_get_test_jwt_secret_with_env ... ok test common::auth_helpers::tests::test_get_test_user_id ... ok test test_e2e_backtest_filtering_by_status ... FAILED test test_e2e_backtest_filtering_by_strategy ... FAILED test test_e2e_backtest_invalid_capital ... ok test test_e2e_backtest_invalid_date_range ... ok test test_e2e_backtest_list ... FAILED test test_e2e_backtest_nonexistent_status ... ok test test_e2e_backtest_progress_subscription ... FAILED test test_e2e_backtest_results ... FAILED test test_e2e_backtest_start ... FAILED test test_e2e_backtest_status ... FAILED test test_e2e_backtest_stop ... FAILED test test_e2e_backtest_unauthenticated_access ... ok failures: ---- test_e2e_backtest_filtering_by_status stdout ---- === E2E Test: Filter Backtests by Status via API Gateway === Error: status: 'The request does not have valid authentication credentials', self: "Invalid or expired token", metadata: {"content-type": "application/grpc", "date": "Sun, 12 Oct 2025 15:48:52 GMT"} Stack backtrace: 0: anyhow::error:: for anyhow::Error>::from 1: backtesting_service_e2e::test_e2e_backtest_filtering_by_status::{{closure}} 2: tokio::runtime::runtime::Runtime::block_on 3: core::ops::function::FnOnce::call_once 4: test::__rust_begin_short_backtrace 5: test::run_test::{{closure}} 6: std::sys::backtrace::__rust_begin_short_backtrace 7: core::ops::function::FnOnce::call_once{{vtable.shim}} 8: std::sys::pal::unix::thread::Thread::new::thread_start 9: start_thread at ./nptl/pthread_create.c:447:8 10: clone3 at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0 ---- test_e2e_backtest_filtering_by_strategy stdout ---- === E2E Test: Filter Backtests by Strategy via API Gateway === Error: status: 'The request does not have valid authentication credentials', self: "Invalid or expired token", metadata: {"content-type": "application/grpc", "date": "Sun, 12 Oct 2025 15:48:52 GMT"} Stack backtrace: 0: anyhow::error:: for anyhow::Error>::from 1: backtesting_service_e2e::test_e2e_backtest_filtering_by_strategy::{{closure}} 2: tokio::runtime::runtime::Runtime::block_on 3: core::ops::function::FnOnce::call_once 4: test::__rust_begin_short_backtrace 5: test::run_test::{{closure}} 6: std::sys::backtrace::__rust_begin_short_backtrace 7: core::ops::function::FnOnce::call_once{{vtable.shim}} 8: std::sys::pal::unix::thread::Thread::new::thread_start 9: start_thread at ./nptl/pthread_create.c:447:8 10: clone3 at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0 ---- test_e2e_backtest_list stdout ---- === E2E Test: List Backtests via API Gateway === Error: status: 'The request does not have valid authentication credentials', self: "Invalid or expired token", metadata: {"content-type": "application/grpc", "date": "Sun, 12 Oct 2025 15:48:52 GMT"} Stack backtrace: 0: anyhow::error:: for anyhow::Error>::from 1: backtesting_service_e2e::test_e2e_backtest_list::{{closure}} 2: tokio::runtime::runtime::Runtime::block_on 3: core::ops::function::FnOnce::call_once 4: test::__rust_begin_short_backtrace 5: test::run_test::{{closure}} 6: std::sys::backtrace::__rust_begin_short_backtrace 7: core::ops::function::FnOnce::call_once{{vtable.shim}} 8: std::sys::pal::unix::thread::Thread::new::thread_start 9: start_thread at ./nptl/pthread_create.c:447:8 10: clone3 at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0 ---- test_e2e_backtest_progress_subscription stdout ---- === E2E Test: Backtest Progress Subscription via API Gateway === Error: status: 'The request does not have valid authentication credentials', self: "Invalid or expired token", metadata: {"content-type": "application/grpc", "date": "Sun, 12 Oct 2025 15:48:52 GMT"} Stack backtrace: 0: anyhow::error:: for anyhow::Error>::from 1: backtesting_service_e2e::test_e2e_backtest_progress_subscription::{{closure}} 2: tokio::runtime::runtime::Runtime::block_on 3: core::ops::function::FnOnce::call_once 4: test::__rust_begin_short_backtrace 5: test::run_test::{{closure}} 6: std::sys::backtrace::__rust_begin_short_backtrace 7: core::ops::function::FnOnce::call_once{{vtable.shim}} 8: std::sys::pal::unix::thread::Thread::new::thread_start 9: start_thread at ./nptl/pthread_create.c:447:8 10: clone3 at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0 ---- test_e2e_backtest_results stdout ---- === E2E Test: Get Backtest Results via API Gateway === Error: status: 'The request does not have valid authentication credentials', self: "Invalid or expired token", metadata: {"content-type": "application/grpc", "date": "Sun, 12 Oct 2025 15:48:52 GMT"} Stack backtrace: 0: anyhow::error:: for anyhow::Error>::from 1: backtesting_service_e2e::test_e2e_backtest_results::{{closure}} 2: tokio::runtime::runtime::Runtime::block_on 3: core::ops::function::FnOnce::call_once 4: test::__rust_begin_short_backtrace 5: test::run_test::{{closure}} 6: std::sys::backtrace::__rust_begin_short_backtrace 7: core::ops::function::FnOnce::call_once{{vtable.shim}} 8: std::sys::pal::unix::thread::Thread::new::thread_start 9: start_thread at ./nptl/pthread_create.c:447:8 10: clone3 at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0 ---- test_e2e_backtest_start stdout ---- === E2E Test: Start Backtest via API Gateway === Error: status: 'The request does not have valid authentication credentials', self: "Invalid or expired token", metadata: {"content-type": "application/grpc", "date": "Sun, 12 Oct 2025 15:48:52 GMT"} Stack backtrace: 0: anyhow::error:: for anyhow::Error>::from 1: backtesting_service_e2e::test_e2e_backtest_start::{{closure}} 2: tokio::runtime::runtime::Runtime::block_on 3: core::ops::function::FnOnce::call_once 4: test::__rust_begin_short_backtrace 5: test::run_test::{{closure}} 6: std::sys::backtrace::__rust_begin_short_backtrace 7: core::ops::function::FnOnce::call_once{{vtable.shim}} 8: std::sys::pal::unix::thread::Thread::new::thread_start 9: start_thread at ./nptl/pthread_create.c:447:8 10: clone3 at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0 ---- test_e2e_backtest_status stdout ---- === E2E Test: Get Backtest Status via API Gateway === Error: status: 'The request does not have valid authentication credentials', self: "Invalid or expired token", metadata: {"content-type": "application/grpc", "date": "Sun, 12 Oct 2025 15:48:52 GMT"} Stack backtrace: 0: anyhow::error:: for anyhow::Error>::from 1: backtesting_service_e2e::test_e2e_backtest_status::{{closure}} 2: tokio::runtime::runtime::Runtime::block_on 3: core::ops::function::FnOnce::call_once 4: test::__rust_begin_short_backtrace 5: test::run_test::{{closure}} 6: std::sys::backtrace::__rust_begin_short_backtrace 7: core::ops::function::FnOnce::call_once{{vtable.shim}} 8: std::sys::pal::unix::thread::Thread::new::thread_start 9: start_thread at ./nptl/pthread_create.c:447:8 10: clone3 at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0 ---- test_e2e_backtest_stop stdout ---- === E2E Test: Stop Running Backtest via API Gateway === Error: status: 'The request does not have valid authentication credentials', self: "Invalid or expired token", metadata: {"content-type": "application/grpc", "date": "Sun, 12 Oct 2025 15:48:52 GMT"} Stack backtrace: 0: anyhow::error:: for anyhow::Error>::from 1: backtesting_service_e2e::test_e2e_backtest_stop::{{closure}} 2: tokio::runtime::runtime::Runtime::block_on 3: core::ops::function::FnOnce::call_once 4: test::__rust_begin_short_backtrace 5: test::run_test::{{closure}} 6: std::sys::backtrace::__rust_begin_short_backtrace 7: core::ops::function::FnOnce::call_once{{vtable.shim}} 8: std::sys::pal::unix::thread::Thread::new::thread_start 9: start_thread at ./nptl/pthread_create.c:447:8 10: clone3 at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0 failures: test_e2e_backtest_filtering_by_status test_e2e_backtest_filtering_by_strategy test_e2e_backtest_list test_e2e_backtest_progress_subscription test_e2e_backtest_results test_e2e_backtest_start test_e2e_backtest_status test_e2e_backtest_stop test result: FAILED. 15 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s error: test failed, to rerun pass `-p integration_tests --test backtesting_service_e2e`