diff --git a/bin/ci-builder b/bin/ci-builder index 2fc03a500d925..09d0e5bcb8804 100755 --- a/bin/ci-builder +++ b/bin/ci-builder @@ -16,7 +16,7 @@ set -euo pipefail -NIGHTLY_RUST_DATE=2025-08-11 +NIGHTLY_RUST_DATE=2025-12-22 cd "$(dirname "$0")/.." diff --git a/src/adapter/src/catalog.rs b/src/adapter/src/catalog.rs index f2f493875bb8b..9f4853c2f5687 100644 --- a/src/adapter/src/catalog.rs +++ b/src/adapter/src/catalog.rs @@ -2410,7 +2410,6 @@ mod tests { /// search paths, so do not require schema qualification on system objects such /// as types. #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_minimal_qualification() { Catalog::with_debug(|catalog| async move { struct TestCase { @@ -2480,7 +2479,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_catalog_revision() { let persist_client = PersistClient::new_for_tests().await; let organization_id = Uuid::new_v4(); @@ -2522,7 +2520,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_effective_search_path() { Catalog::with_debug(|catalog| async move { let mz_catalog_schema = ( @@ -2669,7 +2666,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_normalized_create() { use mz_ore::collections::CollectionExt; Catalog::with_debug(|catalog| async move { @@ -2775,7 +2771,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_object_type() { Catalog::with_debug(|catalog| async move { let conn_catalog = catalog.for_system_session(); @@ -2797,7 +2792,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_get_privileges() { Catalog::with_debug(|catalog| async move { let conn_catalog = catalog.for_system_session(); @@ -2820,7 +2814,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn verify_builtin_descs() { Catalog::with_debug(|catalog| async move { let conn_catalog = catalog.for_system_session(); @@ -2875,7 +2868,6 @@ mod tests { // Connect to a running Postgres server and verify that our builtin // types and functions match it, in addition to some other things. #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_compare_builtins_postgres() { async fn inner(catalog: Catalog) { // Verify that all builtin functions: @@ -3274,7 +3266,6 @@ mod tests { // Execute all builtin functions with all combinations of arguments from interesting datums. #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_smoketest_all_builtins() { fn inner(catalog: Catalog) -> Vec> { let catalog = Arc::new(catalog); @@ -3591,7 +3582,6 @@ mod tests { // Make sure pg views don't use types that only exist in Materialize. #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_pg_views_forbidden_types() { Catalog::with_debug(|catalog| async move { let conn_catalog = catalog.for_system_session(); @@ -3661,7 +3651,6 @@ mod tests { // Make sure objects reside in the `mz_introspection` schema iff they depend on per-replica // introspection relations. #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn test_mz_introspection_builtins() { Catalog::with_debug(|catalog| async move { let conn_catalog = catalog.for_system_session(); @@ -3693,7 +3682,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_multi_subscriber_catalog() { let persist_client = PersistClient::new_for_tests().await; let bootstrap_args = test_bootstrap_args(); diff --git a/src/adapter/src/config/params.rs b/src/adapter/src/config/params.rs index 20c78e723f1fd..1b1f538d00040 100644 --- a/src/adapter/src/config/params.rs +++ b/src/adapter/src/config/params.rs @@ -158,7 +158,6 @@ mod tests { use super::SynchronizedParameters; #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decNumberFromInt32` on OS `linux` fn test_github_18189() { let vars = SystemVars::default(); let mut sync = SynchronizedParameters::new(vars); @@ -169,7 +168,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decNumberFromInt32` on OS `linux` fn test_vars_are_synced() { let vars = SystemVars::default(); let sync = SynchronizedParameters::new(vars); diff --git a/src/adapter/src/coord/peek.rs b/src/adapter/src/coord/peek.rs index 1ede6e3e3ff1c..84377e2e46513 100644 --- a/src/adapter/src/coord/peek.rs +++ b/src/adapter/src/coord/peek.rs @@ -1381,7 +1381,6 @@ mod tests { use super::*; #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux` fn test_fast_path_plan_as_text() { let typ = SqlRelationType::new(vec![SqlColumnType { scalar_type: SqlScalarType::String, diff --git a/src/adapter/src/coord/validity.rs b/src/adapter/src/coord/validity.rs index 48ec3cffcd2db..94602ed1ad259 100644 --- a/src/adapter/src/coord/validity.rs +++ b/src/adapter/src/coord/validity.rs @@ -191,7 +191,6 @@ mod tests { use crate::session::{Session, SessionConfig}; #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn test_plan_validity() { Catalog::with_debug(|mut catalog| async move { let conn_id = ConnectionId::Static(1); diff --git a/src/adapter/src/webhook.rs b/src/adapter/src/webhook.rs index 49b0adfa353c4..e8fc1c211af38 100644 --- a/src/adapter/src/webhook.rs +++ b/src/adapter/src/webhook.rs @@ -433,7 +433,6 @@ mod test { use super::WebhookConcurrencyLimiter; #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn smoke_test_concurrency_limiter() { let mut limiter = WebhookConcurrencyLimiter::new(10); diff --git a/src/adapter/tests/parameters.rs b/src/adapter/tests/parameters.rs index 8a4cc4e4f3cb4..86596525b537e 100644 --- a/src/adapter/tests/parameters.rs +++ b/src/adapter/tests/parameters.rs @@ -13,7 +13,6 @@ use mz_repr::SqlScalarType; use mz_sql::plan::PlanContext; #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_parameter_type_inference() { let test_cases = vec![ ( diff --git a/src/adapter/tests/sql.rs b/src/adapter/tests/sql.rs index 7e3df6086bdee..29d959c3ba06b 100644 --- a/src/adapter/tests/sql.rs +++ b/src/adapter/tests/sql.rs @@ -39,7 +39,6 @@ use tokio::sync::Mutex; // catalog. #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn datadriven() { datadriven::walk_async("tests/testdata/sql", |mut f| async { // The datadriven API takes an `FnMut` closure, and can't express to Rust that diff --git a/src/adapter/tests/timestamp_selection.rs b/src/adapter/tests/timestamp_selection.rs index 4fd0d686d2f43..136d7a1be9fa6 100644 --- a/src/adapter/tests/timestamp_selection.rs +++ b/src/adapter/tests/timestamp_selection.rs @@ -206,7 +206,6 @@ fn parse_query_when(s: &str) -> QueryWhen { // adding the new Durable TimestampOracle based on Postgres/CRDB. #[allow(clippy::disallowed_methods)] #[mz_ore::test] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decNumberFromInt32` on OS `linux` fn test_timestamp_selection() { datadriven::walk("tests/testdata/timestamp_selection", |tf| { let mut f = Frontiers { diff --git a/src/arrow-util/src/reader.rs b/src/arrow-util/src/reader.rs index f4258e25d894d..b2b8b3d10f1d2 100644 --- a/src/arrow-util/src/reader.rs +++ b/src/arrow-util/src/reader.rs @@ -784,7 +784,6 @@ mod tests { use super::*; #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decContextDefault` on OS `linux` fn smoketest_reader() { let desc = RelationDesc::builder() .with_column("bool", SqlScalarType::Bool.nullable(true)) @@ -848,7 +847,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decContextDefault` on OS `linux` fn smoketest_decimal128() { let desc = RelationDesc::builder() .with_column( @@ -897,7 +895,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decContextDefault` on OS `linux` fn smoketest_decimal256() { let desc = RelationDesc::builder() .with_column( diff --git a/src/auth/src/hash.rs b/src/auth/src/hash.rs index f89b3bd5d5385..c784c47e54a82 100644 --- a/src/auth/src/hash.rs +++ b/src/auth/src/hash.rs @@ -324,7 +324,6 @@ mod tests { const DEFAULT_ITERATIONS: NonZeroU32 = NonZeroU32::new(60).expect("Trust me on this"); #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` fn test_hash_password() { let password = "password".to_string(); let iterations = NonZeroU32::new(100).expect("Trust me on this"); @@ -336,7 +335,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` fn test_scram256_hash() { let password = "password".into(); let scram_hash = diff --git a/src/avro/src/codec.rs b/src/avro/src/codec.rs index e1b22b9b65830..413090fb72e56 100644 --- a/src/avro/src/codec.rs +++ b/src/avro/src/codec.rs @@ -173,7 +173,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `deflateInit2_` on OS `linux` fn deflate_compress_and_decompress() { let codec = Codec::Deflate; let mut stream = INPUT.to_vec(); diff --git a/src/avro/src/lib.rs b/src/avro/src/lib.rs index a8e0d0b6dab3d..09ae2c1b1c4a2 100644 --- a/src/avro/src/lib.rs +++ b/src/avro/src/lib.rs @@ -369,7 +369,6 @@ mod tests { //TODO: move where it fits better #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: inline assembly is not supported fn test_enum_default() { let writer_raw_schema = r#" { @@ -423,7 +422,6 @@ mod tests { //TODO: move where it fits better #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: inline assembly is not supported fn test_enum_string_value() { let raw_schema = r#" { @@ -467,7 +465,6 @@ mod tests { //TODO: move where it fits better #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: inline assembly is not supported fn test_enum_resolution() { let writer_raw_schema = r#" { diff --git a/src/avro/src/reader.rs b/src/avro/src/reader.rs index b80e979f7e580..2ee5eda1447e0 100644 --- a/src/avro/src/reader.rs +++ b/src/avro/src/reader.rs @@ -998,7 +998,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: inline assembly is not supported fn test_reader_stream() { let schema: Schema = SCHEMA.parse().unwrap(); let reader = Reader::with_schema(&schema, ENCODED).unwrap(); @@ -1026,7 +1025,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: inline assembly is not supported fn test_reader_invalid_block() { let schema: Schema = SCHEMA.parse().unwrap(); let invalid = ENCODED diff --git a/src/avro/src/schema.rs b/src/avro/src/schema.rs index 997c24956473e..b3dc75790e6d9 100644 --- a/src/avro/src/schema.rs +++ b/src/avro/src/schema.rs @@ -2969,7 +2969,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: inline assembly is not supported fn test_schema_fingerprint() { use sha2::Sha256; diff --git a/src/avro/src/writer.rs b/src/avro/src/writer.rs index 0715e811a7410..1d2329103aed3 100644 --- a/src/avro/src/writer.rs +++ b/src/avro/src/writer.rs @@ -525,7 +525,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `deflateInit2_` on OS `linux` fn test_writer_with_codec() { let schema = Schema::from_str(SCHEMA).unwrap(); let mut writer = Writer::with_codec(schema.clone(), Vec::new(), Codec::Deflate); diff --git a/src/aws-util/src/s3_uploader.rs b/src/aws-util/src/s3_uploader.rs index 89a8f24a6a61c..da4b56d514b0a 100644 --- a/src/aws-util/src/s3_uploader.rs +++ b/src/aws-util/src/s3_uploader.rs @@ -381,7 +381,6 @@ mod tests { #[mz_ore::test(tokio::test(flavor = "multi_thread"))] #[cfg_attr(coverage, ignore)] // https://github.com/MaterializeInc/database-issues/issues/5586 - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `TLS_method` on OS `linux` #[ignore] // TODO: Reenable against minio so it can run locally async fn multi_part_upload_success() -> Result<(), S3MultiPartUploadError> { let sdk_config = defaults().load().await; @@ -433,7 +432,6 @@ mod tests { #[mz_ore::test(tokio::test(flavor = "multi_thread"))] #[cfg_attr(coverage, ignore)] // https://github.com/MaterializeInc/database-issues/issues/5586 - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `TLS_method` on OS `linux` #[ignore] // TODO: Reenable against minio so it can run locally async fn multi_part_upload_buffer() -> Result<(), S3MultiPartUploadError> { let sdk_config = defaults().load().await; @@ -492,7 +490,6 @@ mod tests { #[mz_ore::test(tokio::test(flavor = "multi_thread"))] #[cfg_attr(coverage, ignore)] // https://github.com/MaterializeInc/database-issues/issues/5586 - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `TLS_method` on OS `linux` #[ignore] // TODO: Reenable against minio so it can run locally async fn multi_part_upload_no_data() -> Result<(), S3MultiPartUploadError> { let sdk_config = defaults().load().await; diff --git a/src/catalog/src/builtin.rs b/src/catalog/src/builtin.rs index 9c17c793cd0a6..875d294e94dbd 100644 --- a/src/catalog/src/builtin.rs +++ b/src/catalog/src/builtin.rs @@ -14307,7 +14307,6 @@ pub static BUILTIN_LOOKUP: LazyLock< }); #[mz_ore::test] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux` fn test_builtin_type_schema() { use mz_pgrepr::oid::FIRST_MATERIALIZE_OID; diff --git a/src/catalog/src/durable/persist/tests.rs b/src/catalog/src/durable/persist/tests.rs index ede6d8d4ac776..ff9a9504bbf6b 100644 --- a/src/catalog/src/durable/persist/tests.rs +++ b/src/catalog/src/durable/persist/tests.rs @@ -17,7 +17,6 @@ use crate::durable::{DurableCatalogError, TestCatalogStateBuilder, test_bootstra /// Test that the catalog forces users to upgrade one version at a time. #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_upgrade_shard() { let first_version = semver::Version::parse("0.147.0").expect("failed to parse version"); let second_version = semver::Version::parse("26.0.0").expect("failed to parse version"); @@ -152,7 +151,6 @@ async fn test_upgrade_shard() { /// Test that the catalog cannot be opened with old versions after an upgrade. #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_version_regression() { let first_version = semver::Version::parse("0.147.0").expect("failed to parse version"); let second_version = semver::Version::parse("26.1.0").expect("failed to parse version"); diff --git a/src/catalog/src/durable/transaction.rs b/src/catalog/src/durable/transaction.rs index 7fd1c5c3b6243..41c725dd7f056 100644 --- a/src/catalog/src/durable/transaction.rs +++ b/src/catalog/src/durable/transaction.rs @@ -3959,7 +3959,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_savepoint() { const VERSION: Version = Version::new(26, 0, 0); let mut persist_cache = PersistClientCache::new_no_metrics(); diff --git a/src/catalog/src/expr_cache.rs b/src/catalog/src/expr_cache.rs index 93bf1c8cc3f35..a3456d2d517a3 100644 --- a/src/catalog/src/expr_cache.rs +++ b/src/catalog/src/expr_cache.rs @@ -439,7 +439,6 @@ mod tests { use super::*; #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn expression_cache() { let first_version = Version::new(0, 1, 0); let second_version = Version::new(0, 2, 0); diff --git a/src/catalog/tests/debug.rs b/src/catalog/tests/debug.rs index bca01b7a06aa4..f0b9fb816d1df 100644 --- a/src/catalog/tests/debug.rs +++ b/src/catalog/tests/debug.rs @@ -157,7 +157,6 @@ impl Debug for StableTrace<'_> { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_debug() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); @@ -342,7 +341,6 @@ async fn test_debug(state_builder: TestCatalogStateBuilder) { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_debug_edit_fencing() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); @@ -437,7 +435,6 @@ async fn test_debug_edit_fencing(state_builder: TestCatalogStateBuilder) { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_debug_delete_fencing() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); @@ -529,7 +526,6 @@ async fn test_debug_delete_fencing(state_builder: TestCatalogStateBuilder) { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_concurrent_debugs() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); diff --git a/src/catalog/tests/open.rs b/src/catalog/tests/open.rs index a68b967a99f5e..382bc5d95851d 100644 --- a/src/catalog/tests/open.rs +++ b/src/catalog/tests/open.rs @@ -132,7 +132,6 @@ impl Debug for StableSnapshot<'_> { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_is_initialized() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); @@ -168,7 +167,6 @@ async fn test_is_initialized(state_builder: TestCatalogStateBuilder) { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_get_deployment_generation() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); @@ -222,7 +220,6 @@ async fn test_get_deployment_generation(state_builder: TestCatalogStateBuilder) } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_open_savepoint() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); @@ -391,7 +388,6 @@ async fn test_open_savepoint(state_builder: TestCatalogStateBuilder) { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_open_read_only() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); @@ -479,7 +475,6 @@ async fn test_open_read_only(state_builder: TestCatalogStateBuilder) { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_open() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); @@ -569,7 +564,6 @@ async fn test_open(state_builder: TestCatalogStateBuilder) { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_unopened_deploy_generation_fencing() { let mut persist_cache = PersistClientCache::new_no_metrics(); persist_cache.cfg.build_version = semver::Version::new(0, 1, 0); @@ -675,7 +669,6 @@ async fn test_persist_unopened_deploy_generation_fencing() { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_opened_epoch_fencing() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); @@ -725,7 +718,6 @@ async fn test_opened_epoch_fencing(state_builder: TestCatalogStateBuilder) { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_opened_deploy_generation_fencing() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); @@ -780,7 +772,6 @@ async fn test_opened_deploy_generation_fencing(state_builder: TestCatalogStateBu } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_fencing_during_write() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); @@ -856,7 +847,6 @@ async fn test_fencing_during_write(state_builder: TestCatalogStateBuilder) { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_version_fencing() { async fn testcase(catalog: &str, reader: &str, expected: Result<(), ()>) { let catalog_version = semver::Version::parse(catalog).unwrap(); @@ -916,7 +906,6 @@ async fn test_persist_version_fencing() { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_concurrent_open() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); diff --git a/src/catalog/tests/read-write.rs b/src/catalog/tests/read-write.rs index 32c9233cf3acd..5e0ddadb4b81d 100644 --- a/src/catalog/tests/read-write.rs +++ b/src/catalog/tests/read-write.rs @@ -29,7 +29,6 @@ use mz_sql::catalog::{RoleAttributesRaw, RoleMembership, RoleVars}; use mz_sql::names::{DatabaseId, ResolvedDatabaseSpecifier, SchemaId}; #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_confirm_leadership() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); @@ -77,7 +76,6 @@ async fn test_confirm_leadership(state_builder: TestCatalogStateBuilder) { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_allocate_id() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); @@ -119,7 +117,6 @@ async fn test_allocate_id(state_builder: TestCatalogStateBuilder) { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_audit_logs() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); @@ -196,7 +193,6 @@ async fn test_audit_logs(state_builder: TestCatalogStateBuilder) { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_items() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); @@ -279,7 +275,6 @@ async fn test_items(state_builder: TestCatalogStateBuilder) { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_schemas() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); @@ -344,7 +339,6 @@ async fn test_schemas(state_builder: TestCatalogStateBuilder) { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_persist_non_writer_commits() { let persist_client = PersistClient::new_for_tests().await; let state_builder = TestCatalogStateBuilder::new(persist_client); diff --git a/src/ccsr/tests/client.rs b/src/ccsr/tests/client.rs index 1a879ea6fd2d6..d15ee558fbdf5 100644 --- a/src/ccsr/tests/client.rs +++ b/src/ccsr/tests/client.rs @@ -28,7 +28,6 @@ pub static SCHEMA_REGISTRY_URL: LazyLock = #[mz_ore::test(tokio::test)] #[cfg_attr(coverage, ignore)] // https://github.com/MaterializeInc/database-issues/issues/5588 -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_method` on OS `linux` async fn test_client() -> Result<(), anyhow::Error> { let client = mz_ccsr::ClientConfig::new(SCHEMA_REGISTRY_URL.clone()).build()?; @@ -147,7 +146,6 @@ async fn test_client() -> Result<(), anyhow::Error> { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_method` on OS `linux` async fn test_client_subject_and_references() -> Result<(), anyhow::Error> { let client = mz_ccsr::ClientConfig::new(SCHEMA_REGISTRY_URL.clone()).build()?; @@ -253,7 +251,6 @@ async fn test_client_subject_and_references() -> Result<(), anyhow::Error> { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_method` on OS `linux` #[ignore] // TODO: Reenable when database-issues#6818 is fixed async fn test_client_errors() -> Result<(), anyhow::Error> { let invalid_schema_registry_url: reqwest::Url = "data::text/plain,Info".parse().unwrap(); @@ -298,7 +295,6 @@ async fn test_client_errors() -> Result<(), anyhow::Error> { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_method` on OS `linux` async fn test_server_errors() -> Result<(), anyhow::Error> { // When the schema registry gracefully reports an error by including a // properly-formatted JSON document in the response, the specific error code @@ -439,7 +435,6 @@ async fn count_schemas(client: &Client, subject_prefix: &str) -> Result) { let row = Row::pack(datums.clone()); diff --git a/src/controller/src/clusters.rs b/src/controller/src/clusters.rs index 3a3af24ffa99d..9b7c226077a4e 100644 --- a/src/controller/src/clusters.rs +++ b/src/controller/src/clusters.rs @@ -111,7 +111,6 @@ fn default_true() -> bool { #[mz_ore::test] // We test this particularly because we deserialize values from strings. -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decContextDefault` on OS `linux` fn test_replica_allocation_deserialization() { use bytesize::ByteSize; use mz_ore::{assert_err, assert_ok}; diff --git a/src/environmentd/tests/auth.rs b/src/environmentd/tests/auth.rs index efbf49eacd340..bc7ab42c009ea 100644 --- a/src/environmentd/tests/auth.rs +++ b/src/environmentd/tests/auth.rs @@ -428,7 +428,6 @@ async fn run_tests<'a>(header: &str, server: &test_util::TestServer, tests: &[Te } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_auth_expiry() { // This function verifies that the background expiry refresh task runs. This // is done by starting a web server that awaits the refresh request, which the @@ -558,7 +557,6 @@ async fn test_auth_expiry() { #[allow(clippy::unit_arg)] #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_auth_base_require_tls_frontegg() { let ca = Ca::new_root("test ca").unwrap(); let (server_cert, server_key) = ca @@ -1269,7 +1267,6 @@ async fn test_auth_base_require_tls_frontegg() { #[allow(clippy::unit_arg)] #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_auth_base_disable_tls() { let no_headers = HeaderMap::new(); @@ -1354,7 +1351,6 @@ async fn test_auth_base_disable_tls() { #[allow(clippy::unit_arg)] #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_auth_base_require_tls() { let ca = Ca::new_root("test ca").unwrap(); let (server_cert, server_key) = ca @@ -1476,7 +1472,6 @@ async fn test_auth_base_require_tls() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_auth_intermediate_ca_no_intermediary() { // Create a CA, an intermediate CA, and a server key pair signed by the // intermediate CA. @@ -1527,7 +1522,6 @@ async fn test_auth_intermediate_ca_no_intermediary() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_auth_intermediate_ca() { // Create a CA, an intermediate CA, and a server key pair signed by the // intermediate CA. @@ -1588,7 +1582,6 @@ async fn test_auth_intermediate_ca() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_auth_admin_non_superuser() { let ca = Ca::new_root("test ca").unwrap(); let (server_cert, server_key) = ca @@ -1733,7 +1726,6 @@ async fn test_auth_admin_non_superuser() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_auth_admin_superuser() { let ca = Ca::new_root("test ca").unwrap(); let (server_cert, server_key) = ca @@ -1878,7 +1870,6 @@ async fn test_auth_admin_superuser() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_auth_admin_superuser_revoked() { let ca = Ca::new_root("test ca").unwrap(); let (server_cert, server_key) = ca @@ -2038,7 +2029,6 @@ async fn test_auth_admin_superuser_revoked() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_auth_deduplication() { let ca = Ca::new_root("test ca").unwrap(); let (server_cert, server_key) = ca @@ -2210,7 +2200,6 @@ async fn test_auth_deduplication() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_refresh_task_metrics() { let ca = Ca::new_root("test ca").unwrap(); let (server_cert, server_key) = ca @@ -2346,7 +2335,6 @@ async fn test_refresh_task_metrics() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_superuser_can_alter_cluster() { let ca = Ca::new_root("test ca").unwrap(); let (server_cert, server_key) = ca @@ -2497,7 +2485,6 @@ async fn test_superuser_can_alter_cluster() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_refresh_dropped_session() { let ca = Ca::new_root("test ca").unwrap(); let (server_cert, server_key) = ca @@ -2664,7 +2651,6 @@ async fn test_refresh_dropped_session() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_refresh_dropped_session_lru() { let ca = Ca::new_root("test ca").unwrap(); let (server_cert, server_key) = ca @@ -2865,7 +2851,6 @@ async fn test_refresh_dropped_session_lru() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_transient_auth_failures() { let ca = Ca::new_root("test ca").unwrap(); let (server_cert, server_key) = ca @@ -2989,7 +2974,6 @@ async fn test_transient_auth_failures() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_transient_auth_failure_on_refresh() { let ca = Ca::new_root("test ca").unwrap(); let (server_cert, server_key) = ca @@ -3124,7 +3108,6 @@ async fn test_transient_auth_failure_on_refresh() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_password_auth() { let metrics_registry = MetricsRegistry::new(); @@ -3214,7 +3197,6 @@ async fn test_password_auth() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_sasl_auth() { let metrics_registry = MetricsRegistry::new(); @@ -3269,7 +3251,6 @@ async fn test_sasl_auth() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_sasl_auth_failure() { let metrics_registry = MetricsRegistry::new(); @@ -3315,7 +3296,6 @@ async fn test_sasl_auth_failure() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_password_auth_superuser() { let metrics_registry = MetricsRegistry::new(); @@ -3370,7 +3350,6 @@ async fn test_password_auth_superuser() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_password_auth_alter_role() { let metrics_registry = MetricsRegistry::new(); @@ -3510,7 +3489,6 @@ async fn test_password_auth_alter_role() { } #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_password_auth_http() { let metrics_registry = MetricsRegistry::new(); @@ -3655,7 +3633,6 @@ async fn test_password_auth_http() { /// This is a regression test for a bug where WebSocket connections always had superuser=false /// because internal_user_metadata was hardcoded to None. #[mz_ore::test(tokio::test(flavor = "multi_thread", worker_threads = 1))] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux` async fn test_password_auth_http_superuser() { let metrics_registry = MetricsRegistry::new(); diff --git a/src/environmentd/tests/cli.rs b/src/environmentd/tests/cli.rs index 4406c0f80874b..4934779423371 100644 --- a/src/environmentd/tests/cli.rs +++ b/src/environmentd/tests/cli.rs @@ -20,7 +20,6 @@ fn cmd() -> Command { /// This test seems a bit tautological, but it protects against Clap defaults /// changing and overwriting our custom version output. #[mz_ore::test] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `pipe2` on OS `linux` fn test_version() { // We don't make assertions about the build SHA because caching in CI can // cause the test binary and `environmentd` to have different embedded SHAs. diff --git a/src/environmentd/tests/server.rs b/src/environmentd/tests/server.rs index 4ff262dba88ca..8c61896f96fc1 100644 --- a/src/environmentd/tests/server.rs +++ b/src/environmentd/tests/server.rs @@ -2927,7 +2927,6 @@ async fn test_leader_promotion_mixed_code_version() { // Test that websockets observe cancellation. #[mz_ore::test] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `epoll_wait` on OS `linux` fn test_cancel_ws() { let server = test_util::TestHarness::default().start_blocking(); let mut client = server.connect(postgres::NoTls).unwrap(); @@ -3210,7 +3209,6 @@ fn test_webhook_duplicate_headers() { // Test that websockets observe cancellation and leave the transaction in an idle state. #[mz_ore::test] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `epoll_wait` on OS `linux` fn test_github_20262() { let server = test_util::TestHarness::default().start_blocking(); let mut client = server.connect(postgres::NoTls).unwrap(); @@ -3277,7 +3275,6 @@ fn test_github_20262() { // Test that the server properly handles cancellation requests of read-then-write queries. // See database-issues#6134. #[mz_ore::test] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `epoll_wait` on OS `linux` fn test_cancel_read_then_write() { let server = test_util::TestHarness::default() .unsafe_mode() diff --git a/src/expr-derive-impl/src/lib.rs b/src/expr-derive-impl/src/lib.rs index 5528800f71f4a..d30ca36ca35fc 100644 --- a/src/expr-derive-impl/src/lib.rs +++ b/src/expr-derive-impl/src/lib.rs @@ -54,7 +54,6 @@ pub fn test_sqlfunc_str(attr: &str, item: &str) -> (String, String) { mod test { use quote::quote; - #[cfg_attr(miri, ignore)] // unsupported operation: extern static `pidfd_spawnp` is not supported by Miri #[mz_ore::test] fn insta_test_add_int16() { let attr = quote! { @@ -76,7 +75,6 @@ mod test { insta::assert_snapshot!("add_int16", output, &input); } - #[cfg_attr(miri, ignore)] // unsupported operation: extern static `pidfd_spawnp` is not supported by Miri #[mz_ore::test] fn insta_test_unary() { let attr = quote! {}; @@ -89,7 +87,6 @@ mod test { insta::assert_snapshot!("unary_fn", output, &input); } - #[cfg_attr(miri, ignore)] // unsupported operation: extern static `pidfd_spawnp` is not supported by Miri #[mz_ore::test] fn insta_test_unary_arena() { let attr = quote! {}; @@ -102,7 +99,6 @@ mod test { insta::assert_snapshot!("unary_arena_fn", output, &input); } - #[cfg_attr(miri, ignore)] // unsupported operation: extern static `pidfd_spawnp` is not supported by Miri #[mz_ore::test] fn insta_test_unary_ref() { let attr = quote! {}; @@ -115,7 +111,6 @@ mod test { insta::assert_snapshot!("unary_ref", output, &input); } - #[cfg_attr(miri, ignore)] // unsupported operation: extern static `pidfd_spawnp` is not supported by Miri #[mz_ore::test] fn insta_test_complex_output_type() { let attr = quote! { @@ -134,7 +129,6 @@ mod test { insta::assert_snapshot!("complex_type", output, &input); } - #[cfg_attr(miri, ignore)] // unsupported operation: extern static `pidfd_spawnp` is not supported by Miri #[mz_ore::test] fn insta_test_binary_arena() { let attr = quote! {}; diff --git a/src/expr-derive-impl/src/sqlfunc.rs b/src/expr-derive-impl/src/sqlfunc.rs index 8078b382d2c58..1c2a9bf3fb6cb 100644 --- a/src/expr-derive-impl/src/sqlfunc.rs +++ b/src/expr-derive-impl/src/sqlfunc.rs @@ -122,7 +122,6 @@ fn generate_test(attr: TokenStream, item: TokenStream, name: &Ident) -> TokenStr quote! { #[cfg(test)] - #[cfg_attr(miri, ignore)] // unsupported operation: extern static `pidfd_spawnp` is not supported by Miri #[mz_ore::test] fn #test_name() { let (output, input) = mz_expr_derive_impl::test_sqlfunc_str(#attr, #item); diff --git a/src/expr-parser/tests/test_mir_parser.rs b/src/expr-parser/tests/test_mir_parser.rs index bc08fd2e0624e..b54488c444216 100644 --- a/src/expr-parser/tests/test_mir_parser.rs +++ b/src/expr-parser/tests/test_mir_parser.rs @@ -10,7 +10,6 @@ use mz_expr_parser::{TestCatalog, handle_define, handle_roundtrip}; #[mz_ore::test] -#[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux` fn run_roundtrip_tests() { // Interpret datadriven tests. datadriven::walk("tests/test_mir_parser", |f| { diff --git a/src/expr-test-util/tests/test_runner.rs b/src/expr-test-util/tests/test_runner.rs index cd70def74bb57..1ff129a36f80b 100644 --- a/src/expr-test-util/tests/test_runner.rs +++ b/src/expr-test-util/tests/test_runner.rs @@ -83,7 +83,6 @@ mod test { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux` fn run_roundtrip_tests() { datadriven::walk("tests/testdata", |f| { let mut catalog = TestCatalog::default(); diff --git a/src/expr/src/interpret.rs b/src/expr/src/interpret.rs index 5933cbf501010..11f89c4d24e41 100644 --- a/src/expr/src/interpret.rs +++ b/src/expr/src/interpret.rs @@ -1371,7 +1371,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `decContextDefault` on OS `linux` fn test_trivial_spec_matches() { fn check(datum: PropDatum) -> Result<(), TestCaseError> { let datum: Datum = (&datum).into(); @@ -1392,7 +1391,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `decContextDefault` on OS `linux` fn test_equivalence() { fn check(data: ExpressionData) -> Result<(), TestCaseError> { let ExpressionData { @@ -1566,7 +1564,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `decNumberFromInt32` on OS `linux` fn test_jsonb() { let arena = RowArena::new(); diff --git a/src/expr/src/relation/join_input_mapper.rs b/src/expr/src/relation/join_input_mapper.rs index e5163ebab8fdb..d1e9135dd1b51 100644 --- a/src/expr/src/relation/join_input_mapper.rs +++ b/src/expr/src/relation/join_input_mapper.rs @@ -453,7 +453,6 @@ mod tests { use super::*; #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux` fn try_map_to_input_with_bound_expr_test() { let input_mapper = JoinInputMapper { arities: vec![2, 3, 3], diff --git a/src/expr/src/scalar.rs b/src/expr/src/scalar.rs index c84d43e083e9a..2d94f91123f6f 100644 --- a/src/expr/src/scalar.rs +++ b/src/expr/src/scalar.rs @@ -3252,7 +3252,6 @@ mod tests { use super::*; #[mz_ore::test] - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux` fn test_reduce() { let relation_type = vec![ SqlScalarType::Int64.nullable(true), diff --git a/src/expr/src/scalar/func.rs b/src/expr/src/scalar/func.rs index 5e5acf53d488e..200a6640b93a6 100644 --- a/src/expr/src/scalar/func.rs +++ b/src/expr/src/scalar/func.rs @@ -5453,7 +5453,6 @@ mod test { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decNumberFromInt32` on OS `linux` fn test_is_monotone() { use proptest::prelude::*; diff --git a/src/expr/src/scalar/func/unary.rs b/src/expr/src/scalar/func/unary.rs index d705444403878..91dbc0a79c0b4 100644 --- a/src/expr/src/scalar/func/unary.rs +++ b/src/expr/src/scalar/func/unary.rs @@ -550,7 +550,6 @@ mod test { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decNumberFromInt32` on OS `linux` fn test_is_monotone() { use proptest::prelude::*; diff --git a/src/expr/src/visit.rs b/src/expr/src/visit.rs index c3fec6d680b9c..34823cb3c20e5 100644 --- a/src/expr/src/visit.rs +++ b/src/expr/src/visit.rs @@ -1140,7 +1140,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux` fn test_recursive_types_a() { let mut act = test_term_rec_a(0); let exp = test_term_rec_a(20); diff --git a/src/expr/tests/test_runner.rs b/src/expr/tests/test_runner.rs index e514b679fbf31..d9d3e7cf45475 100644 --- a/src/expr/tests/test_runner.rs +++ b/src/expr/tests/test_runner.rs @@ -160,7 +160,6 @@ mod test { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `decContextDefault` on OS `linux` fn run() { datadriven::walk("tests/testdata", |f| { f.run(move |s| -> String { diff --git a/src/fivetran-destination/src/logging.rs b/src/fivetran-destination/src/logging.rs index 93867d4a7d7e1..af081fe47e7fc 100644 --- a/src/fivetran-destination/src/logging.rs +++ b/src/fivetran-destination/src/logging.rs @@ -195,7 +195,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: `open` not available when isolation is enabled fn test_tracing_logging_levels() { let writer = TestWriter::default(); diff --git a/src/frontegg-auth/src/client/tokens.rs b/src/frontegg-auth/src/client/tokens.rs index ebc464c7de9ac..54c1b6935d5c4 100644 --- a/src/frontegg-auth/src/client/tokens.rs +++ b/src/frontegg-auth/src/client/tokens.rs @@ -110,7 +110,6 @@ mod tests { use crate::{ApiTokenArgs, Client}; #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `TLS_method` on OS `linux` async fn response_retries() { let count = Arc::new(AtomicUsize::new(0)); let count_ = Arc::clone(&count); diff --git a/src/interchange/src/avro.rs b/src/interchange/src/avro.rs index 29dc56304667a..2148fcf2abbf9 100644 --- a/src/interchange/src/avro.rs +++ b/src/interchange/src/avro.rs @@ -72,7 +72,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decNumberFromInt32` on OS `linux` /// Test that primitive Avro Schema types are allow Datums to be correctly /// serialized into Avro Values. /// diff --git a/src/lsp-server/tests/test.rs b/src/lsp-server/tests/test.rs index 7ce55638fc4a2..cef607cf1640f 100644 --- a/src/lsp-server/tests/test.rs +++ b/src/lsp-server/tests/test.rs @@ -67,7 +67,6 @@ mod tests { /// /// The server must always initialize before parsing or using any other capability. #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `pipe2` on OS `linux` async fn test_lsp() { build_file(); let (mut req_client, mut resp_client) = start_server(); diff --git a/src/mysql-util/src/aws_rds.rs b/src/mysql-util/src/aws_rds.rs index f881e2d32d60b..e21422d521e26 100644 --- a/src/mysql-util/src/aws_rds.rs +++ b/src/mysql-util/src/aws_rds.rs @@ -113,7 +113,6 @@ mod test { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `getauxval` on OS `linux` async fn test_signature() { let time_source = TestTimeSource { time: SystemTime::UNIX_EPOCH + Duration::from_secs(1740690000), diff --git a/src/mz/tests/local.rs b/src/mz/tests/local.rs index cd586d1884d73..539b47cc7b8c7 100644 --- a/src/mz/tests/local.rs +++ b/src/mz/tests/local.rs @@ -62,7 +62,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `pipe2` on OS `linux` fn test_version() { // We don't make assertions about the build SHA because caching in CI can // cause the test binary and `mz` to have different embedded SHAs. @@ -103,7 +102,6 @@ mod tests { /// Tests local commands that do not requires interacting with any API. #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `pipe2` on OS `linux` fn test_local() { let unique_id = Uuid::new_v4().to_string(); let config_file_name = format!("test_local_config_{}.toml", unique_id); diff --git a/src/ore/src/channel/trigger.rs b/src/ore/src/channel/trigger.rs index 00cd49c09b5bd..f11f2dc42b618 100644 --- a/src/ore/src/channel/trigger.rs +++ b/src/ore/src/channel/trigger.rs @@ -115,7 +115,6 @@ pub fn channel() -> (Trigger, Receiver) { mod tests { use crate::channel::trigger; - #[cfg_attr(miri, ignore)] // error: unsupported operation: returning ready events from epoll_wait is not yet implemented #[mz_ore::test(tokio::test)] async fn test_trigger_channel() { let (trigger1, mut trigger1_rx) = trigger::channel(); diff --git a/src/ore/src/metrics.rs b/src/ore/src/metrics.rs index ee34305cdc93a..b637f070ab7a3 100644 --- a/src/ore/src/metrics.rs +++ b/src/ore/src/metrics.rs @@ -958,7 +958,6 @@ mod tests { } #[crate::test] - #[cfg_attr(miri, ignore)] // unsupported operation: integer-to-pointer casts and `ptr::from_exposed_addr` are not supported with `-Zmiri-strict-provenance` fn smoke_test_metrics_future_ext() { let runtime = tokio::runtime::Builder::new_current_thread() .enable_time() diff --git a/src/ore/src/retry.rs b/src/ore/src/retry.rs index e859e35ce3561..ad50047784002 100644 --- a/src/ore/src/retry.rs +++ b/src/ore/src/retry.rs @@ -584,7 +584,6 @@ mod tests { } #[crate::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: cannot write to event async fn test_retry_async_success() { let mut states = vec![]; let res = Retry::default() @@ -650,7 +649,6 @@ mod tests { } #[crate::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: cannot write to event async fn test_retry_async_fatal() { let mut states = vec![]; let res = Retry::default() @@ -683,7 +681,6 @@ mod tests { } #[crate::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: cannot write to event async fn test_retry_fail_max_tries() { let mut states = vec![]; let res = Retry::default() @@ -714,7 +711,6 @@ mod tests { } #[crate::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: cannot write to event async fn test_retry_async_fail_max_tries() { let mut states = vec![]; let res = Retry::default() @@ -746,7 +742,6 @@ mod tests { } #[crate::test] - #[cfg_attr(miri, ignore)] // unsupported operation: cannot write to event fn test_retry_fail_max_duration() { let mut states = vec![]; let res = Retry::default() @@ -789,7 +784,6 @@ mod tests { } #[crate::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: cannot write to event async fn test_retry_async_fail_max_duration() { let mut states = vec![]; let res = Retry::default() @@ -833,7 +827,6 @@ mod tests { } #[crate::test] - #[cfg_attr(miri, ignore)] // unsupported operation: cannot write to event fn test_retry_fail_clamp_backoff() { let mut states = vec![]; let res = Retry::default() @@ -869,7 +862,6 @@ mod tests { } #[crate::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: cannot write to event async fn test_retry_async_fail_clamp_backoff() { let mut states = vec![]; let res = Retry::default() @@ -908,7 +900,6 @@ mod tests { /// Test that canceling retry operations surface the last error when the /// underlying future is not explicitly timed out. #[crate::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: cannot write to event async fn test_retry_async_canceling_uncanceled_failure() { let res = Retry::default() .max_duration(Duration::from_millis(100)) @@ -920,7 +911,6 @@ mod tests { /// Test that canceling retry operations surface the last error when the /// underlying future *is* not explicitly timed out. #[crate::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: cannot write to event async fn test_retry_async_canceling_canceled_failure() { let res = Retry::default() .max_duration(Duration::from_millis(100)) @@ -939,7 +929,6 @@ mod tests { /// Test that the "deadline has elapsed" error is surfaced when there is /// no other error to surface. #[crate::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: cannot write to event async fn test_retry_async_canceling_canceled_first_failure() { let res = Retry::default() .max_duration(Duration::from_millis(100)) @@ -952,7 +941,6 @@ mod tests { } #[crate::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: cannot write to event async fn test_retry_reader() { use tokio::io::AsyncReadExt; @@ -994,7 +982,6 @@ mod tests { } #[crate::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: cannot write to event async fn test_retry_async_state() { struct S { i: i64, diff --git a/src/ore/tests/task.rs b/src/ore/tests/task.rs index 235b9386c5f08..693334585d120 100644 --- a/src/ore/tests/task.rs +++ b/src/ore/tests/task.rs @@ -16,7 +16,6 @@ use mz_ore::task::JoinSetExt; #[tokio::test] // allow(test-attribute) -#[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn join_set_exts() { let mut js = tokio::task::JoinSet::new(); js.spawn_named(|| "test".to_string(), async { diff --git a/src/persist-client/src/batch.rs b/src/persist-client/src/batch.rs index 94803f4993e2b..eac128bb1199c 100644 --- a/src/persist-client/src/batch.rs +++ b/src/persist-client/src/batch.rs @@ -1513,7 +1513,6 @@ mod tests { use crate::tests::{all_ok, new_test_client}; #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn batch_builder_flushing() { let data = vec![ (("1".to_owned(), "one".to_owned()), 1, 1), @@ -1599,7 +1598,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn batch_builder_keys() { let cache = PersistClientCache::new_no_metrics(); // Set blob_target_size to 0 so that each row gets forced into its own batch part @@ -1643,7 +1641,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn batch_delete() { let cache = PersistClientCache::new_no_metrics(); cache.cfg.set_config(&INLINE_WRITES_SINGLE_MAX_BYTES, 0); @@ -1743,7 +1740,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn structured_lowers() { let cache = PersistClientCache::new_no_metrics(); // Ensure structured data is calculated, and that we give some budget for a key lower. diff --git a/src/persist-client/src/cache.rs b/src/persist-client/src/cache.rs index 8809df0f2f015..5f1a2e9ebde0f 100644 --- a/src/persist-client/src/cache.rs +++ b/src/persist-client/src/cache.rs @@ -736,7 +736,6 @@ mod tests { use super::*; #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn client_cache() { let cache = PersistClientCache::new( PersistConfig::new_for_tests(), @@ -806,7 +805,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn state_cache() { mz_ore::test::init_logging(); fn new_state(shard_id: ShardId) -> TypedState diff --git a/src/persist-client/src/critical.rs b/src/persist-client/src/critical.rs index 70bfe7131326a..62c38f2cd8ee1 100644 --- a/src/persist-client/src/critical.rs +++ b/src/persist-client/src/critical.rs @@ -392,7 +392,6 @@ mod tests { } #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn rate_limit(dyncfgs: ConfigUpdates) { let client = crate::tests::new_test_client(&dyncfgs).await; @@ -424,7 +423,6 @@ mod tests { // Verifies that the handle updates its view of the opaque token correctly #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn handle_opaque_token(dyncfgs: ConfigUpdates) { let client = new_test_client(&dyncfgs).await; let shard_id = ShardId::new(); diff --git a/src/persist-client/src/internal/compact.rs b/src/persist-client/src/internal/compact.rs index cf315bfc3c7f5..6c5d1955b75e0 100644 --- a/src/persist-client/src/internal/compact.rs +++ b/src/persist-client/src/internal/compact.rs @@ -1148,7 +1148,6 @@ mod tests { // made it to main) where batches written by compaction would always have a // since of the minimum timestamp. #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn regression_minimum_since(dyncfgs: ConfigUpdates) { let data = vec![ (("0".to_owned(), "zero".to_owned()), 0, 1), @@ -1224,7 +1223,6 @@ mod tests { } #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn disable_compaction(dyncfgs: ConfigUpdates) { let data = [ (("0".to_owned(), "zero".to_owned()), 0, 1), diff --git a/src/persist-client/src/internal/encoding.rs b/src/persist-client/src/internal/encoding.rs index 85dd9490eca1f..cf53f18cef5e1 100644 --- a/src/persist-client/src/internal/encoding.rs +++ b/src/persist-client/src/internal/encoding.rs @@ -2171,7 +2171,6 @@ mod tests { } #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn state_diff_migration_rollups(dyncfgs: ConfigUpdates) { let r1_rollup = HollowRollup { key: PartialRollupKey("foo".to_owned()), diff --git a/src/persist-client/src/internal/machine.rs b/src/persist-client/src/internal/machine.rs index 33e5544ec2f39..8e43578b0eb2c 100644 --- a/src/persist-client/src/internal/machine.rs +++ b/src/persist-client/src/internal/machine.rs @@ -2612,7 +2612,6 @@ pub mod tests { use crate::{Diagnostics, PersistClient, ShardId}; #[mz_persist_proc::test(tokio::test(flavor = "multi_thread"))] - #[cfg_attr(miri, ignore)] // error: unsupported operation: integer-to-pointer casts and `ptr::from_exposed_addr` are not supported with `-Zmiri-strict-provenance` async fn apply_unbatched_cmd_truncate(dyncfgs: ConfigUpdates) { mz_ore::test::init_logging(); @@ -2679,7 +2678,6 @@ pub mod tests { // state invariant being violated which resulted in gc being permanently // wedged for the shard. #[mz_persist_proc::test(tokio::test(flavor = "multi_thread"))] - #[cfg_attr(miri, ignore)] // error: unsupported operation: integer-to-pointer casts and `ptr::from_exposed_addr` are not supported with `-Zmiri-strict-provenance` async fn regression_gc_skipped_req_and_interrupted(dyncfgs: ConfigUpdates) { let mut client = new_test_client(&dyncfgs).await; let intercept = InterceptHandle::default(); @@ -2729,7 +2727,6 @@ pub mod tests { // a write that could succeed if retried on the latest state would instead // return an UpperMismatch. #[mz_persist_proc::test(tokio::test(flavor = "multi_thread"))] - #[cfg_attr(miri, ignore)] // error: unsupported operation: integer-to-pointer casts and `ptr::from_exposed_addr` are not supported with `-Zmiri-strict-provenance` async fn regression_update_state_after_upper_mismatch(dyncfgs: ConfigUpdates) { let client = new_test_client(&dyncfgs).await; let mut client2 = client.clone(); diff --git a/src/persist-client/src/internal/state_versions.rs b/src/persist-client/src/internal/state_versions.rs index 3a35853875f09..bd695f9d3502d 100644 --- a/src/persist-client/src/internal/state_versions.rs +++ b/src/persist-client/src/internal/state_versions.rs @@ -1314,7 +1314,6 @@ mod tests { /// Regression test for (part of) database-issues#5170, where an interrupted /// `bin/environmentd --reset` resulted in panic in persist usage code. #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn fetch_all_live_states_regression_uninitialized(dyncfgs: ConfigUpdates) { let client = new_test_client(&dyncfgs).await; let state_versions = StateVersions::new( diff --git a/src/persist-client/src/internal/watch.rs b/src/persist-client/src/internal/watch.rs index a1a628a1855bf..f0141cba4efe1 100644 --- a/src/persist-client/src/internal/watch.rs +++ b/src/persist-client/src/internal/watch.rs @@ -211,7 +211,6 @@ mod tests { } #[mz_ore::test(tokio::test(flavor = "multi_thread"))] - #[cfg_attr(miri, ignore)] // error: unsupported operation: integer-to-pointer casts and `ptr::from_exposed_addr` are not supported with `-Zmiri-strict-provenance` async fn state_watch_concurrency() { mz_ore::test::init_logging(); let metrics = Arc::new(Metrics::new( @@ -280,7 +279,6 @@ mod tests { } #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn state_watch_listen_snapshot(dyncfgs: ConfigUpdates) { mz_ore::test::init_logging(); let waker = noop_waker(); diff --git a/src/persist-client/src/iter.rs b/src/persist-client/src/iter.rs index 050062e4ec68a..ff272e8776127 100644 --- a/src/persist-client/src/iter.rs +++ b/src/persist-client/src/iter.rs @@ -1218,7 +1218,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn prefetches() { fn check(budget: usize, runs: Vec>, prefetch_all: bool) { let desc = Description::new( diff --git a/src/persist-client/src/lib.rs b/src/persist-client/src/lib.rs index 1ffe69be17230..eb10c1d176e4b 100644 --- a/src/persist-client/src/lib.rs +++ b/src/persist-client/src/lib.rs @@ -1021,7 +1021,6 @@ mod tests { } #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn sanity_check(dyncfgs: ConfigUpdates) { let data = [ (("1".to_owned(), "one".to_owned()), 1, 1), @@ -1069,7 +1068,6 @@ mod tests { // Sanity check that the open_reader and open_writer calls work. #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn open_reader_writer(dyncfgs: ConfigUpdates) { let data = vec![ (("1".to_owned(), "one".to_owned()), 1, 1), @@ -1394,7 +1392,6 @@ mod tests { } #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn multiple_shards(dyncfgs: ConfigUpdates) { let data1 = [ (("1".to_owned(), "one".to_owned()), 1, 1), @@ -1435,7 +1432,6 @@ mod tests { } #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn fetch_upper(dyncfgs: ConfigUpdates) { let data = [ (("1".to_owned(), "one".to_owned()), 1, 1), @@ -1467,7 +1463,6 @@ mod tests { } #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn append_with_invalid_upper(dyncfgs: ConfigUpdates) { let data = [ (("1".to_owned(), "one".to_owned()), 1, 1), @@ -1531,7 +1526,6 @@ mod tests { } #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn compare_and_append(dyncfgs: ConfigUpdates) { let data = vec![ (("1".to_owned(), "one".to_owned()), 1, 1), @@ -1588,7 +1582,6 @@ mod tests { } #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn overlapping_append(dyncfgs: ConfigUpdates) { mz_ore::test::init_logging_default("info"); @@ -1639,7 +1632,6 @@ mod tests { // Appends need to be contiguous for a shard, meaning the lower of an appended batch must not // be in advance of the current shard upper. #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn contiguous_append(dyncfgs: ConfigUpdates) { let data = vec![ (("1".to_owned(), "one".to_owned()), 1, 1), @@ -1687,7 +1679,6 @@ mod tests { // Per-writer appends can be non-contiguous, as long as appends to the shard from all writers // combined are contiguous. #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn noncontiguous_append_per_writer(dyncfgs: ConfigUpdates) { let data = vec![ (("1".to_owned(), "one".to_owned()), 1, 1), @@ -1730,7 +1721,6 @@ mod tests { // Compare_and_appends need to be contiguous for a shard, meaning the lower of an appended // batch needs to match the current shard upper. #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn contiguous_compare_and_append(dyncfgs: ConfigUpdates) { let data = vec![ (("1".to_owned(), "one".to_owned()), 1, 1), @@ -1777,7 +1767,6 @@ mod tests { // Per-writer compare_and_appends can be non-contiguous, as long as appends to the shard from // all writers combined are contiguous. #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn noncontiguous_compare_and_append_per_writer(dyncfgs: ConfigUpdates) { let data = vec![ (("1".to_owned(), "one".to_owned()), 1, 1), @@ -1822,7 +1811,6 @@ mod tests { } #[mz_persist_proc::test(tokio::test(flavor = "multi_thread"))] - #[cfg_attr(miri, ignore)] // error: unsupported operation: integer-to-pointer casts and `ptr::from_exposed_addr` are not supported with `-Zmiri-strict-provenance` async fn concurrency(dyncfgs: ConfigUpdates) { let data = DataGenerator::small(); @@ -1920,7 +1908,6 @@ mod tests { // immediately return the data currently available instead of waiting for // upper to advance past as_of. #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn regression_blocking_reads(dyncfgs: ConfigUpdates) { let waker = noop_waker(); let mut cx = Context::from_waker(&waker); @@ -1992,7 +1979,6 @@ mod tests { } #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn heartbeat_task_shutdown(dyncfgs: ConfigUpdates) { // Verify that the ReadHandle and WriteHandle background heartbeat tasks // shut down cleanly after the handle is expired. @@ -2020,7 +2006,6 @@ mod tests { /// Verify that shard finalization works with empty shards, shards that have /// an empty write up to the empty upper Antichain. #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn finalize_empty_shard(dyncfgs: ConfigUpdates) { let persist_client = new_test_client(&dyncfgs).await; @@ -2070,7 +2055,6 @@ mod tests { /// written to them, plus then an empty batch to bring their upper to the /// empty Antichain. #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn finalize_shard(dyncfgs: ConfigUpdates) { const DATA: &[(((), ()), u64, i64)] = &[(((), ()), 0, 1)]; let persist_client = new_test_client(&dyncfgs).await; diff --git a/src/persist-client/src/operators/shard_source.rs b/src/persist-client/src/operators/shard_source.rs index 45a61b2977cb2..039fedb942125 100644 --- a/src/persist-client/src/operators/shard_source.rs +++ b/src/persist-client/src/operators/shard_source.rs @@ -727,7 +727,6 @@ mod tests { /// NOTE: This test is weird: if everything is good it will pass. If we /// break the assumption that we test this will time out and we will notice. #[mz_ore::test(tokio::test(flavor = "multi_thread"))] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn test_shard_source_implicit_initial_as_of() { let persist_client = PersistClient::new_for_tests().await; @@ -795,7 +794,6 @@ mod tests { /// NOTE: This test is weird: if everything is good it will pass. If we /// break the assumption that we test this will time out and we will notice. #[mz_ore::test(tokio::test(flavor = "multi_thread"))] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn test_shard_source_explicit_initial_as_of() { let persist_client = PersistClient::new_for_tests().await; diff --git a/src/persist-client/src/read.rs b/src/persist-client/src/read.rs index 21ee955db815a..30e64332d8a3b 100644 --- a/src/persist-client/src/read.rs +++ b/src/persist-client/src/read.rs @@ -1292,7 +1292,6 @@ mod tests { // Verifies `Subscribe` can be dropped while holding snapshot batches. #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn drop_unused_subscribe(dyncfgs: ConfigUpdates) { let data = [ (("0".to_owned(), "zero".to_owned()), 0, 1), @@ -1322,7 +1321,6 @@ mod tests { // Verifies that we streaming-consolidate away identical key-values in the same batch. #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn streaming_consolidate(dyncfgs: ConfigUpdates) { let data = &[ // Identical records should sum together... @@ -1368,7 +1366,6 @@ mod tests { } #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn snapshot_and_stream(dyncfgs: ConfigUpdates) { let data = &mut [ (("k1".to_owned(), "v1".to_owned()), 0, 1), diff --git a/src/persist-client/src/rpc.rs b/src/persist-client/src/rpc.rs index 7a1afd0cadbb0..e10ca50087d64 100644 --- a/src/persist-client/src/rpc.rs +++ b/src/persist-client/src/rpc.rs @@ -1457,7 +1457,6 @@ mod grpc { // closely model an actual disconnect. #[mz_ore::test] - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `socket` on OS `linux` fn grpc_server() { let metrics = Arc::new(Metrics::new( &test_persist_config(), @@ -1516,7 +1515,6 @@ mod grpc { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `socket` on OS `linux` fn grpc_client_sender_reconnects() { let metrics = Arc::new(Metrics::new( &test_persist_config(), @@ -1597,7 +1595,6 @@ mod grpc { } #[mz_ore::test(tokio::test(flavor = "multi_thread"))] - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `socket` on OS `linux` async fn grpc_client_sender_subscription_tokens() { let metrics = Arc::new(Metrics::new( &test_persist_config(), @@ -1672,7 +1669,6 @@ mod grpc { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `socket` on OS `linux` fn grpc_client_receiver() { let metrics = Arc::new(Metrics::new( &PersistConfig::new_for_tests(), diff --git a/src/persist-client/src/usage.rs b/src/persist-client/src/usage.rs index 2f1d87d0db46f..0c65513a3b7d2 100644 --- a/src/persist-client/src/usage.rs +++ b/src/persist-client/src/usage.rs @@ -734,7 +734,6 @@ mod tests { use super::*; #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn size(dyncfgs: ConfigUpdates) { let data = [ (("1".to_owned(), "one".to_owned()), 1, 1), @@ -847,7 +846,6 @@ mod tests { /// This is just a sanity check for the overall flow of computing ShardUsage. /// The edge cases are exercised in separate tests. #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn usage_sanity(dyncfgs: ConfigUpdates) { let data = [ (("1".to_owned(), "one".to_owned()), 1, 1), @@ -916,7 +914,6 @@ mod tests { } #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn usage_referenced(dyncfgs: ConfigUpdates) { mz_ore::test::init_logging(); @@ -1237,7 +1234,6 @@ mod tests { /// initial rollup is written for a shard, but the initial CaS hasn't yet /// succeeded. #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn usage_regression_shard_in_blob_not_consensus(dyncfgs: ConfigUpdates) { let client = new_test_client(&dyncfgs).await; let shard_id = ShardId::new(); diff --git a/src/persist-client/src/write.rs b/src/persist-client/src/write.rs index 61ab7ba8a6e8a..51b836dae5ed7 100644 --- a/src/persist-client/src/write.rs +++ b/src/persist-client/src/write.rs @@ -1161,7 +1161,6 @@ mod tests { use super::*; #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn empty_batches(dyncfgs: ConfigUpdates) { let data = [ (("1".to_owned(), "one".to_owned()), 1, 1), @@ -1201,7 +1200,6 @@ mod tests { } #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn compare_and_append_batch_multi(dyncfgs: ConfigUpdates) { let data0 = vec![ (("1".to_owned(), "one".to_owned()), 1, 1), @@ -1278,7 +1276,6 @@ mod tests { } #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn hollow_batch_roundtrip(dyncfgs: ConfigUpdates) { let data = vec![ (("1".to_owned(), "one".to_owned()), 1, 1), @@ -1314,7 +1311,6 @@ mod tests { } #[mz_persist_proc::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn wait_for_upper_past(dyncfgs: ConfigUpdates) { let client = new_test_client(&dyncfgs).await; let (mut write, _) = client.expect_open::<(), (), u64, i64>(ShardId::new()).await; @@ -1348,7 +1344,6 @@ mod tests { } #[mz_ore::test(tokio::test(flavor = "multi_thread"))] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn fetch_recent_upper_linearized() { type Timestamp = u64; let max_upper = 1000; diff --git a/src/persist/src/azure.rs b/src/persist/src/azure.rs index ebfedbde2e8b8..e16656e4a09fa 100644 --- a/src/persist/src/azure.rs +++ b/src/persist/src/azure.rs @@ -435,7 +435,6 @@ mod tests { use super::*; - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `TLS_method` on OS `linux` #[mz_ore::test(tokio::test(flavor = "multi_thread"))] async fn azure_blob() -> Result<(), ExternalError> { let config = match AzureBlobConfig::new_for_test()? { diff --git a/src/persist/src/file.rs b/src/persist/src/file.rs index 6d10b20d4fe92..64af83190de0a 100644 --- a/src/persist/src/file.rs +++ b/src/persist/src/file.rs @@ -276,7 +276,6 @@ mod tests { use super::*; #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // error: unsupported operation: integer-to-pointer casts and `ptr::from_exposed_addr` are not supported with `-Zmiri-strict-provenance` async fn file_blob() -> Result<(), ExternalError> { let temp_dir = tempfile::tempdir().map_err(Error::from)?; blob_impl_test(move |path| { diff --git a/src/persist/src/indexed/encoding.rs b/src/persist/src/indexed/encoding.rs index a99dd4fe787d1..bebd933af4a8b 100644 --- a/src/persist/src/indexed/encoding.rs +++ b/src/persist/src/indexed/encoding.rs @@ -1034,7 +1034,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn trace_batch_meta_validate_data() -> Result<(), Error> { let metrics = ColumnarMetrics::disconnected(); let blob = Arc::new(MemBlob::open(MemBlobConfig::default())); diff --git a/src/persist/src/mem.rs b/src/persist/src/mem.rs index 72d1d921ee785..553175ccbb732 100644 --- a/src/persist/src/mem.rs +++ b/src/persist/src/mem.rs @@ -341,7 +341,6 @@ mod tests { use super::*; #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn mem_blob() -> Result<(), ExternalError> { let registry = Arc::new(tokio::sync::Mutex::new(MemMultiRegistry::new(false))); blob_impl_test(move |path| { @@ -363,7 +362,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn mem_consensus() -> Result<(), ExternalError> { consensus_impl_test(|| async { Ok(MemConsensus::default()) }).await } diff --git a/src/persist/src/postgres.rs b/src/persist/src/postgres.rs index c737cd8c1f4c8..be225f7003760 100644 --- a/src/persist/src/postgres.rs +++ b/src/persist/src/postgres.rs @@ -571,7 +571,6 @@ mod tests { use super::*; #[mz_ore::test(tokio::test(flavor = "multi_thread"))] - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn postgres_consensus() -> Result<(), ExternalError> { let config = match PostgresConsensusConfig::new_for_test()? { Some(config) => config, diff --git a/src/persist/src/s3.rs b/src/persist/src/s3.rs index 9f8c905c53816..a1bc7490409fe 100644 --- a/src/persist/src/s3.rs +++ b/src/persist/src/s3.rs @@ -1149,7 +1149,6 @@ mod tests { #[mz_ore::test(tokio::test(flavor = "multi_thread"))] #[cfg_attr(coverage, ignore)] // https://github.com/MaterializeInc/database-issues/issues/5586 - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `TLS_method` on OS `linux` #[ignore] // TODO: Reenable against minio so it can run locally async fn s3_blob() -> Result<(), ExternalError> { let config = match S3BlobConfig::new_for_test().await? { diff --git a/src/persist/src/unreliable.rs b/src/persist/src/unreliable.rs index 07f83002b37d9..c59c7529456d1 100644 --- a/src/persist/src/unreliable.rs +++ b/src/persist/src/unreliable.rs @@ -239,7 +239,6 @@ mod tests { use super::*; #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn unreliable_blob() { let blob = Arc::new(MemBlob::open(MemBlobConfig::default())); let handle = UnreliableHandle::default(); @@ -271,7 +270,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn unreliable_consensus() { let consensus = Arc::new(MemConsensus::default()); let handle = UnreliableHandle::default(); diff --git a/src/pgrepr/src/value/numeric.rs b/src/pgrepr/src/value/numeric.rs index 7b082cdc170e1..ddbe21cac1fc6 100644 --- a/src/pgrepr/src/value/numeric.rs +++ b/src/pgrepr/src/value/numeric.rs @@ -238,7 +238,6 @@ impl<'a> FromSql<'a> for Numeric { } #[mz_ore::test] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decContextDefault` on OS `linux` fn test_to_from_sql_roundtrip() { fn inner(s: &str) { let mut cx = numeric::cx_datum(); diff --git a/src/regexp/src/lib.rs b/src/regexp/src/lib.rs index 6378e36edd13f..56c31f163e8dd 100644 --- a/src/regexp/src/lib.rs +++ b/src/regexp/src/lib.rs @@ -65,7 +65,6 @@ mod tests { // Assert equivalency to postgres and generate TestCases. #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented fn test_pg_regexp_split_array() { let Ok(postgres_url) = std::env::var("POSTGRES_URL") else { return; diff --git a/src/repr-test-util/tests/test_runner.rs b/src/repr-test-util/tests/test_runner.rs index dc6f63b004c27..ab053a19866cf 100644 --- a/src/repr-test-util/tests/test_runner.rs +++ b/src/repr-test-util/tests/test_runner.rs @@ -79,7 +79,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decContextDefault` on OS `linux` fn run() { datadriven::walk("tests/testdata", |f| { f.run(move |s| -> String { diff --git a/src/repr/src/adt/numeric.rs b/src/repr/src/adt/numeric.rs index 2acfb9722c0bb..18f7bf5708976 100644 --- a/src/repr/src/adt/numeric.rs +++ b/src/repr/src/adt/numeric.rs @@ -433,7 +433,6 @@ pub fn twos_complement_be_to_numeric_inner, const N: usize>( } #[mz_ore::test] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decNumberFromInt32` on OS `linux` fn test_twos_complement_roundtrip() { fn inner(s: &str) { let mut cx = cx_datum(); diff --git a/src/repr/src/relation.rs b/src/repr/src/relation.rs index ca5d4cbd118b5..16790fb4876fa 100644 --- a/src/repr/src/relation.rs +++ b/src/repr/src/relation.rs @@ -1664,7 +1664,6 @@ mod tests { use prost::Message; #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `pipe2` on OS `linux` fn smoktest_at_version() { let desc = RelationDesc::builder() .with_column("a", SqlScalarType::Bool.nullable(true)) diff --git a/src/repr/src/row.rs b/src/repr/src/row.rs index f49792fe7dda0..182be4afe35f7 100644 --- a/src/repr/src/row.rs +++ b/src/repr/src/row.rs @@ -3263,7 +3263,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decNumberFromInt32` on OS `linux` fn test_datum_sizes() { let arena = RowArena::new(); diff --git a/src/repr/src/row/encode.rs b/src/repr/src/row/encode.rs index f9f5aea1a7aa4..30e8a1a4cb781 100644 --- a/src/repr/src/row/encode.rs +++ b/src/repr/src/row/encode.rs @@ -2426,7 +2426,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decContextDefault` on OS `linux` fn proptest_datums() { let strat = any::().prop_flat_map(|ty| { proptest::collection::vec(arb_datum_for_column(ty.clone()), 0..16) @@ -2440,7 +2439,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decContextDefault` on OS `linux` fn proptest_non_empty_relation_descs() { let strat = arb_relation_desc(1..8).prop_flat_map(|desc| { proptest::collection::vec(arb_row_for_relation(&desc), 0..12) @@ -2639,7 +2637,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decNumberFromInt32` on OS `linux` fn roundtrip() { let mut row = Row::default(); let mut packer = row.packer(); diff --git a/src/repr/src/scalar.rs b/src/repr/src/scalar.rs index 561de5e69704b..d947e8c7b37f5 100644 --- a/src/repr/src/scalar.rs +++ b/src/repr/src/scalar.rs @@ -5114,7 +5114,6 @@ mod tests { proptest! { #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decContextDefault` on OS `linux` fn array_packing_unpacks_correctly(array in arb_array(arb_datum())) { let PropArray(row, elts) = array; let datums: Vec> = elts.iter().map(|e| e.into()).collect(); @@ -5123,7 +5122,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decContextDefault` on OS `linux` fn list_packing_unpacks_correctly(array in arb_list(arb_datum())) { let PropList(row, elts) = array; let datums: Vec> = elts.iter().map(|e| e.into()).collect(); diff --git a/src/rocksdb/tests/basic.rs b/src/rocksdb/tests/basic.rs index 4413a6a0cba80..26916417a1e9a 100644 --- a/src/rocksdb/tests/basic.rs +++ b/src/rocksdb/tests/basic.rs @@ -47,7 +47,6 @@ fn instance_metrics_for_tests() -> Result, anyhow::E } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `rocksdb_create_default_env` on OS `linux` async fn basic() -> Result<(), anyhow::Error> { // If the test aborts, this may not be cleaned up. let t = tempfile::tempdir()?; @@ -131,7 +130,6 @@ async fn basic() -> Result<(), anyhow::Error> { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `rocksdb_create_default_env` on OS `linux` async fn associative_merge_operator_test() -> Result<(), anyhow::Error> { // If the test aborts, this may not be cleaned up. let t = tempfile::tempdir()?; @@ -260,7 +258,6 @@ async fn associative_merge_operator_test() -> Result<(), anyhow::Error> { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `rocksdb_create_default_env` on OS `linux` async fn update_operation_stats_test() -> Result<(), anyhow::Error> { // If the test aborts, this may not be cleaned up. let t = tempfile::tempdir()?; @@ -309,7 +306,6 @@ async fn update_operation_stats_test() -> Result<(), anyhow::Error> { } #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `rocksdb_create_default_env` on OS `linux` async fn shared_write_buffer_manager() -> Result<(), anyhow::Error> { // If the test aborts, this may not be cleaned up. let t = tempfile::tempdir()?; @@ -413,7 +409,6 @@ async fn shared_write_buffer_manager() -> Result<(), anyhow::Error> { /// A small validation test; Ensure that if a directory is empty, we don't fail to destroy. #[mz_ore::test(tokio::test)] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `rocksdb_create_default_env` on OS `linux` async fn destroy() -> Result<(), anyhow::Error> { let t = tempfile::tempdir()?; DB::destroy(&Default::default(), t.path())?; diff --git a/src/sql-lexer/tests/lexer.rs b/src/sql-lexer/tests/lexer.rs index aea7bfbf6f5f2..98f6f5136eedc 100644 --- a/src/sql-lexer/tests/lexer.rs +++ b/src/sql-lexer/tests/lexer.rs @@ -22,7 +22,6 @@ use datadriven::walk; use mz_sql_lexer::lexer::lex; #[mz_ore::test] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux` fn test_datadriven() { walk("tests/testdata", |f| { f.run(|tc| -> String { diff --git a/src/sql-parser/tests/sqlparser_common.rs b/src/sql-parser/tests/sqlparser_common.rs index 15c99d6769d67..2ecd002aa6f80 100644 --- a/src/sql-parser/tests/sqlparser_common.rs +++ b/src/sql-parser/tests/sqlparser_common.rs @@ -34,7 +34,6 @@ use mz_sql_parser::parser::{ }; #[mz_ore::test] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux` fn datadriven() { walk("tests/testdata", |f| { f.run(|tc| -> String { datadriven_testcase(tc) }) @@ -42,7 +41,6 @@ fn datadriven() { } #[mz_ore::test] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux` fn op_precedence() -> Result<(), Box> { struct RemoveParens; @@ -117,7 +115,6 @@ fn format_ident() { } #[mz_ore::test] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux` fn test_basic_visitor() -> Result<(), Box> { struct Visitor<'a> { seen_idents: Vec<&'a str>, diff --git a/src/sql-pretty/tests/parser.rs b/src/sql-pretty/tests/parser.rs index 5331e800ebaed..6f34c2913ca4e 100644 --- a/src/sql-pretty/tests/parser.rs +++ b/src/sql-pretty/tests/parser.rs @@ -19,7 +19,6 @@ use mz_sql_pretty::{Pretty, PrettyConfig, to_pretty}; // generate identical ASTs when pretty printed. Output the same output as the parser so datadriven // is happy. (Having the datadriven parser be exported would be nice here too.) #[mz_ore::test] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux` fn test_parser() { walk("../sql-parser/tests/testdata", |f| { f.run(|tc| -> String { diff --git a/src/sql-server-util/src/desc.rs b/src/sql-server-util/src/desc.rs index 21b41af60fc2a..17a9a98e99b62 100644 --- a/src/sql-server-util/src/desc.rs +++ b/src/sql-server-util/src/desc.rs @@ -1512,7 +1512,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decNumberFromInt32` on OS `linux` fn smoketest_numeric_conversion() { let a = tiberius::numeric::Numeric::new_with_scale(12345, 2); let rnd = tiberius_numeric_to_mz_numeric(a); diff --git a/src/sqllogictest/src/runner.rs b/src/sqllogictest/src/runner.rs index 40b0264ec3001..18e5924b6f00f 100644 --- a/src/sqllogictest/src/runner.rs +++ b/src/sqllogictest/src/runner.rs @@ -2800,7 +2800,6 @@ fn mutate(sql: &str) -> Vec { } #[mz_ore::test] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux` fn test_generate_view_sql() { let uuid = Uuid::parse_str("67e5504410b1426f9247bb680e5fe0c8").unwrap(); let cases = vec![ diff --git a/src/sqllogictest/tests/parser.rs b/src/sqllogictest/tests/parser.rs index c5f559ce72645..358b0df528d6b 100644 --- a/src/sqllogictest/tests/parser.rs +++ b/src/sqllogictest/tests/parser.rs @@ -11,7 +11,6 @@ use mz_sqllogictest::ast::{Location, Record}; use mz_sqllogictest::parser; #[mz_ore::test] -#[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `llvm.x86.avx2.pshuf.b` on OS `linux` fn test_parser() { struct TestCase { input: &'static str, diff --git a/src/storage-client/src/storage_collections.rs b/src/storage-client/src/storage_collections.rs index 746811dad670e..37a07df1e2e3c 100644 --- a/src/storage-client/src/storage_collections.rs +++ b/src/storage-client/src/storage_collections.rs @@ -3220,7 +3220,6 @@ mod tests { use super::*; #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: integer-to-pointer casts and `ptr::from_exposed_addr` async fn test_snapshot_stats(&self) { let persist_location = PersistLocation { blob_uri: SensitiveUrl::from_str("mem://").expect("invalid URL"), diff --git a/src/storage-operators/src/s3_oneshot_sink/pgcopy.rs b/src/storage-operators/src/s3_oneshot_sink/pgcopy.rs index a4823795d7826..5a49f3cdecdf8 100644 --- a/src/storage-operators/src/s3_oneshot_sink/pgcopy.rs +++ b/src/storage-operators/src/s3_oneshot_sink/pgcopy.rs @@ -212,7 +212,6 @@ mod tests { #[mz_ore::test(tokio::test(flavor = "multi_thread"))] #[cfg_attr(coverage, ignore)] // https://github.com/MaterializeInc/database-issues/issues/5586 - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `TLS_method` on OS `linux` #[ignore] // TODO: Reenable against minio so it can run locally async fn test_multiple_files() -> Result<(), anyhow::Error> { let sdk_config = mz_aws_util::defaults().load().await; diff --git a/src/storage-types/src/errors.rs b/src/storage-types/src/errors.rs index fd29c0622287b..11e23d7cfbf08 100644 --- a/src/storage-types/src/errors.rs +++ b/src/storage-types/src/errors.rs @@ -921,7 +921,6 @@ mod columnation { proptest! { #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decContextDefault` on OS `linux` fn dataflow_error_roundtrip(expect in any::()) { let actual = columnation_roundtrip(&expect); proptest::prop_assert_eq!(&expect, &actual[0]) diff --git a/src/storage-types/src/sources.rs b/src/storage-types/src/sources.rs index 32fa6dc7d3317..3a21b20445f4a 100644 --- a/src/storage-types/src/sources.rs +++ b/src/storage-types/src/sources.rs @@ -1852,7 +1852,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decContextDefault` on OS `linux` fn all_source_data_roundtrips() { let mut weights = vec![(500, Just(0..8)), (50, Just(8..32))]; if std::env::var("PROPTEST_LARGE_DATA").is_ok() { @@ -2033,7 +2032,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decContextDefault` on OS `linux` fn empty_relation_desc_roundtrips() { let empty = RelationDesc::empty(); let rows = proptest::collection::vec(arb_source_data_for_relation_desc(&empty), 0..8) @@ -2047,7 +2045,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `decContextDefault` on OS `linux` fn arrow_datatype_consistent() { fn test_case(desc: RelationDesc, datas: Vec) { let half = datas.len() / 2; diff --git a/src/storage/src/healthcheck.rs b/src/storage/src/healthcheck.rs index 2c2eb5f44fdbd..3ee7472e21b74 100644 --- a/src/storage/src/healthcheck.rs +++ b/src/storage/src/healthcheck.rs @@ -579,7 +579,6 @@ mod tests { // Actual timely tests for `health_operator`. #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented fn test_health_operator_basic() { use Step::*; @@ -661,7 +660,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented fn test_health_operator_write_namespaced_map() { use Step::*; @@ -703,7 +701,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented fn test_health_operator_namespaces() { use Step::*; @@ -780,7 +777,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented fn test_health_operator_namespace_side_channel() { use Step::*; @@ -854,7 +850,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented fn test_health_operator_hints() { use Step::*; diff --git a/src/storage/src/source/reclock.rs b/src/storage/src/source/reclock.rs index f84e27544d4aa..89b50099b0b8b 100644 --- a/src/storage/src/source/reclock.rs +++ b/src/storage/src/source/reclock.rs @@ -332,7 +332,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `decNumberFromInt32` on OS `linux` async fn test_basic_usage() { let (mut operator, _) = make_test_operator(ShardId::new(), Antichain::from_elem(0.into())).await; @@ -377,7 +376,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `decNumberFromInt32` on OS `linux` async fn test_compaction() { let persist_location = PersistLocation { blob_uri: SensitiveUrl::from_str("mem://").expect("invalid URL"), @@ -468,7 +466,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `decNumberFromInt32` on OS `linux` async fn test_concurrency() { // Create two operators pointing to the same shard let shared_shard = ShardId::new(); @@ -544,7 +541,6 @@ mod tests { // Regression test for // https://github.com/MaterializeInc/database-issues/issues/4216. #[mz_ore::test(tokio::test(start_paused = true))] - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `decNumberFromInt32` on OS `linux` async fn test_since_hold() { let binding_shard = ShardId::new(); diff --git a/src/timestamp-oracle/src/batching_oracle.rs b/src/timestamp-oracle/src/batching_oracle.rs index 5438ec4b8bebb..f4261f519c3d5 100644 --- a/src/timestamp-oracle/src/batching_oracle.rs +++ b/src/timestamp-oracle/src/batching_oracle.rs @@ -137,7 +137,6 @@ mod tests { use super::*; #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_batching_timestamp_oracle() -> Result<(), anyhow::Error> { let config = match PostgresTimestampOracleConfig::new_for_test() { Some(config) => config, diff --git a/src/timestamp-oracle/src/postgres_oracle.rs b/src/timestamp-oracle/src/postgres_oracle.rs index 38c45e46722d1..3e20dc85f57fb 100644 --- a/src/timestamp-oracle/src/postgres_oracle.rs +++ b/src/timestamp-oracle/src/postgres_oracle.rs @@ -853,7 +853,6 @@ mod tests { use super::*; #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `TLS_client_method` on OS `linux` async fn test_postgres_timestamp_oracle() -> Result<(), anyhow::Error> { let config = match PostgresTimestampOracleConfig::new_for_test() { Some(config) => config, diff --git a/src/transform/tests/test_runner.rs b/src/transform/tests/test_runner.rs index c043148e57f57..c88a9189331a9 100644 --- a/src/transform/tests/test_runner.rs +++ b/src/transform/tests/test_runner.rs @@ -527,7 +527,6 @@ mod tests { } #[mz_ore::test] - #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux` fn run() { datadriven::walk("tests/testdata", |f| { let mut catalog = TestCatalog::default(); diff --git a/src/txn-wal/src/lib.rs b/src/txn-wal/src/lib.rs index 07b864db53fe3..cd6a94ab5702e 100644 --- a/src/txn-wal/src/lib.rs +++ b/src/txn-wal/src/lib.rs @@ -862,7 +862,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn commit_log() { let (d0, d1) = (ShardId::new(), ShardId::new()); let log0 = CommitLog::new(PersistClient::new_for_tests().await, ShardId::new()); diff --git a/src/txn-wal/src/txn_cache.rs b/src/txn-wal/src/txn_cache.rs index 12d844bd5538b..22ad3182e8006 100644 --- a/src/txn-wal/src/txn_cache.rs +++ b/src/txn-wal/src/txn_cache.rs @@ -1427,7 +1427,6 @@ mod tests { /// - The unblock read waits for this write to be applied before doing the /// empty CaA, but this write never existed so it hangs forever. #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn regression_compact_latest_write() { let client = PersistClient::new_for_tests().await; let mut txns = TxnsHandle::expect_open(client.clone()).await; @@ -1463,7 +1462,6 @@ mod tests { // cache. This caused them to be applied in a surprising order (e.g. forget // before register). #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn regression_ts_sort() { let client = PersistClient::new_for_tests().await; let txns = TxnsHandle::expect_open(client.clone()).await; @@ -1483,7 +1481,6 @@ mod tests { /// Tests that `data_snapshot` and `data_listen_next` properly handle an /// `init_ts` > 0. #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn data_compacted() { let d0 = ShardId::new(); let mut c = TxnsCacheState::new(ShardId::new(), 10, None); diff --git a/src/txn-wal/src/txn_write.rs b/src/txn-wal/src/txn_write.rs index a360c290e76c2..f0d8280808db6 100644 --- a/src/txn-wal/src/txn_write.rs +++ b/src/txn-wal/src/txn_write.rs @@ -448,7 +448,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn apply_and_tidy() { let mut txns = TxnsHandle::expect_open(PersistClient::new_for_tests().await).await; let log = txns.new_log(); @@ -652,7 +651,6 @@ mod tests { // Regression test for a bug caught during code review, where it was // possible to commit to an unregistered data shard. #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn commit_unregistered_table() { let client = PersistClient::new_for_tests().await; let mut txns = TxnsHandle::expect_open(client.clone()).await; diff --git a/src/txn-wal/src/txns.rs b/src/txn-wal/src/txns.rs index 4bedf10b112a3..b1c52a1774bb6 100644 --- a/src/txn-wal/src/txns.rs +++ b/src/txn-wal/src/txns.rs @@ -1283,7 +1283,6 @@ mod tests { // assumes someone else did the work // - result: the write is lost #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn race_data_shard_register_and_commit() { let client = PersistClient::new_for_tests().await; let mut txns = TxnsHandle::expect_open(client.clone()).await; @@ -1307,7 +1306,6 @@ mod tests { // A test that applies a batch of writes all at once. #[mz_ore::test(tokio::test(flavor = "multi_thread"))] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn apply_many_ts() { let client = PersistClient::new_for_tests().await; let mut txns = TxnsHandle::expect_open(client.clone()).await; @@ -1550,7 +1548,6 @@ mod tests { } #[mz_ore::test(tokio::test(flavor = "multi_thread"))] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn stress_correctness() { const NUM_DATA_SHARDS: usize = 2; const NUM_WORKERS: usize = 2; @@ -1647,7 +1644,6 @@ mod tests { } #[mz_ore::test(tokio::test)] - #[cfg_attr(miri, ignore)] // unsupported operation: returning ready events from epoll_wait is not yet implemented async fn advance_physical_uppers_past() { let client = PersistClient::new_for_tests().await; let mut txns = TxnsHandle::expect_open(client.clone()).await; diff --git a/src/walkabout/tests/walkabout.rs b/src/walkabout/tests/walkabout.rs index 3370dbc5466ec..3bc05d096c5f9 100644 --- a/src/walkabout/tests/walkabout.rs +++ b/src/walkabout/tests/walkabout.rs @@ -12,7 +12,6 @@ use std::io::Write; use tempfile::NamedTempFile; #[mz_ore::test] -#[cfg_attr(miri, ignore)] // unsupported operation: non-default mode 0o600 is not supported fn datadriven() { datadriven::walk("tests/testdata", |f| { f.run(|test_case| {