GreptimeTeam / greptimedb

An open-source, cloud-native, distributed time-series database with PromQL/SQL/Python supported. Available on GreptimeCloud.
https://greptime.com/
Apache License 2.0
3.97k stars 281 forks source link

Workflow run 'Release' failed #4191

Closed github-actions[bot] closed 6 days ago

github-actions[bot] commented 1 week ago

@GreptimeTeam/db-approver New failure: https://github.com/GreptimeTeam/greptimedb/actions/runs/9637529879

github-actions[bot] commented 1 week ago

@GreptimeTeam/db-approver New failure: https://github.com/GreptimeTeam/greptimedb/actions/runs/9637529879

github-actions[bot] commented 1 week ago

@GreptimeTeam/db-approver New failure: https://github.com/GreptimeTeam/greptimedb/actions/runs/9637529879

tisonkun commented 1 week ago

@zyy17 please track this issue as I saw you're the last workflow trigger >_<

zyy17 commented 1 week ago

@evenyag @waynexia Seems there is one case always failed in amd64 platform:

  TRY 2 FAIL [   1.634s] mito2 manifest::tests::checkpoint::test_corrupted_data_causing_checksum_error

--- TRY 2 STDOUT:        mito2 manifest::tests::checkpoint::test_corrupted_data_causing_checksum_error ---

running 1 test
2024-06-24T03:14:40.275367Z  INFO common_telemetry::logging: logs dir = /tmp/__unittest_logs
2024-06-24T03:14:40.329258Z  INFO mito2::manifest::manager: Creating region manifest in / with metadata RegionMetadata { column_metadatas: [[ts TimestampMillisecond not null Timestamp 45], [pk String not null Tag 36], [val Float64 not null Field 251]], time_index: 45, primary_key: [36], region_id: 98784247841(23, 33), schema_version: 0 }
2024-06-24T03:14:40.329385Z DEBUG mito2::manifest::manager: Build region manifest in /, manifest: RegionManifest { metadata: RegionMetadata { column_metadatas: [[ts TimestampMillisecond not null Timestamp 45], [pk String not null Tag 36], [val Float64 not null Field 251]], time_index: 45, primary_key: [36], region_id: 98784247841(23, 33), schema_version: 0 }, files: {}, flushed_entry_id: 0, flushed_sequence: 0, manifest_version: 0, truncated_entry_id: None, compaction_time_window: None }
2024-06-24T03:14:40.329576Z DEBUG mito2::manifest::storage: Save log to manifest storage, version: 0
2024-06-24T03:14:40.456471Z DEBUG mito2::manifest::storage: Save log to manifest storage, version: 1
2024-06-24T03:14:40.620457Z  INFO mito2::manifest::checkpointer: Start doing checkpoint for region 98784247841(23, 33), compacted version: [0, 1]
2024-06-24T03:14:40.620552Z  INFO common_runtime::global: Creating runtime with runtime_name: global-read, thread_name: read-worker, work_threads: 8.
2024-06-24T03:14:40.621238Z  INFO common_runtime::global: Creating runtime with runtime_name: global-write, thread_name: write-worker, work_threads: 8.
2024-06-24T03:14:40.621792Z  INFO common_runtime::global: Creating runtime with runtime_name: global-bg, thread_name: bg-worker, work_threads: 4.
2024-06-24T03:14:40.622116Z  INFO common_runtime::global: Creating runtime with runtime_name: global-hb, thread_name: hb-worker, work_threads: 2.
2024-06-24T03:14:40.622468Z DEBUG mito2::manifest::storage: Save log to manifest storage, version: 2
2024-06-24T03:14:40.767045Z DEBUG mito2::manifest::storage: Save log to manifest storage, version: 3
2024-06-24T03:14:40.767018Z DEBUG mito2::manifest::storage: Save checkpoint in path: /_last_checkpoint,  metadata: CheckpointMetadata { size: 846, version: 1, checksum: Some(3822702399), extend_metadata: {} }
2024-06-24T03:14:40.845518Z DEBUG mito2::manifest::storage: Save log to manifest storage, version: 4
2024-06-24T03:14:40.933057Z DEBUG mito2::manifest::storage: Deleting 1 logs from manifest storage path / until 1, checkpoint_version: None, paths: ["00000000000000000000.json"]
2024-06-24T03:14:40.962521Z  INFO mito2::manifest::checkpointer: Checkpoint for region 98784247841(23, 33) success, version: 1
2024-06-24T03:14:40.973582Z  INFO mito2::manifest::checkpointer: Start doing checkpoint for region 98784247841(23, 33), compacted version: [2, 4]
2024-06-24T03:14:40.973721Z DEBUG mito2::manifest::storage: Save log to manifest storage, version: 5
2024-06-24T03:14:41.142583Z DEBUG mito2::manifest::storage: Save checkpoint in path: /_last_checkpoint,  metadata: CheckpointMetadata { size: 846, version: 4, checksum: Some(3383536462), extend_metadata: {} }
2024-06-24T03:14:41.142615Z DEBUG mito2::manifest::storage: Save log to manifest storage, version: 6
2024-06-24T03:14:41.213343Z DEBUG mito2::manifest::storage: Save log to manifest storage, version: 7
2024-06-24T03:14:41.214018Z DEBUG mito2::manifest::storage: Deleting 1 logs from manifest storage path / until 4, checkpoint_version: Some(1), paths: ["00000000000000000001.json"]
2024-06-24T03:14:41.232960Z  INFO mito2::manifest::checkpointer: Checkpoint for region 98784247841(23, 33) success, version: 4
2024-06-24T03:14:41.314499Z  INFO mito2::manifest::checkpointer: Start doing checkpoint for region 98784247841(23, 33), compacted version: [5, 7]
2024-06-24T03:14:41.314674Z DEBUG mito2::manifest::storage: Save log to manifest storage, version: 8
2024-06-24T03:14:41.399125Z DEBUG mito2::manifest::storage: Save log to manifest storage, version: 9
2024-06-24T03:14:41.473622Z DEBUG mito2::manifest::storage: Save checkpoint in path: /_last_checkpoint,  metadata: CheckpointMetadata { size: 846, version: 7, checksum: Some(1009708166), extend_metadata: {} }
2024-06-24T03:14:41.494178Z DEBUG mito2::manifest::storage: Save log to manifest storage, version: 10
2024-06-24T03:14:41.517956Z DEBUG mito2::manifest::storage: Deleting 4 logs from manifest storage path / until 7, checkpoint_version: Some(4), paths: ["00000000000000000004.json", "00000000000000000002.json", "00000000000000000003.json", "00000000000000000001.checkpoint"]
2024-06-24T03:14:41.518431Z  INFO mito2::manifest::checkpointer: Checkpoint for region 98784247841(23, 33) success, version: 7
2024-06-24T03:14:41.531399Z  INFO mito2::manifest::checkpointer: Start doing checkpoint for region 98784247841(23, 33), compacted version: [8, 10]
2024-06-24T03:14:41.561876Z DEBUG mito2::manifest::storage: Load checkpoint in path: /_last_checkpoint, metadata: CheckpointMetadata { size: 846, version: 7, checksum: Some(1009708166), extend_metadata: {} }
2024-06-24T03:14:41.675711Z DEBUG mito2::manifest::storage: Rewrite checkpoint in path: /_last_checkpoint,  metadata: CheckpointMetadata { size: 67, version: 9, checksum: Some(1218259706), extend_metadata: {} }
2024-06-24T03:14:41.675711Z DEBUG mito2::manifest::storage: Save checkpoint in path: /_last_checkpoint,  metadata: CheckpointMetadata { size: 848, version: 10, checksum: Some(2122617475), extend_metadata: {} }
2024-06-24T03:14:41.887449Z DEBUG mito2::manifest::storage: Load checkpoint in path: /_last_checkpoint, metadata: CheckpointMetadata { size: 848, version: 10, checksum: Some(2122617475), extend_metadata: {} }
2024-06-24T03:14:41.887642Z DEBUG mito2::manifest::storage: Deleting 7 logs from manifest storage path / until 10, checkpoint_version: Some(9), paths: ["00000000000000000007.checkpoint", "00000000000000000005.json", "00000000000000000004.checkpoint", "00000000000000000009.json", "00000000000000000007.json", "00000000000000000008.json", "00000000000000000006.json"]
2024-06-24T03:14:41.888004Z  INFO mito2::manifest::checkpointer: Checkpoint for region 98784247841(23, 33) success, version: 10
test manifest::tests::checkpoint::test_corrupted_data_causing_checksum_error ... FAILED

failures:

failures:
    manifest::tests::checkpoint::test_corrupted_data_causing_checksum_error

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 339 filtered out; finished in 1.63s

--- TRY 2 STDERR:        mito2 manifest::tests::checkpoint::test_corrupted_data_causing_checksum_error ---
thread 'manifest::tests::checkpoint::test_corrupted_data_causing_checksum_error' panicked at src/mito2/src/manifest/tests/checkpoint.rs:202:5:
assertion `left matches right` failed
  left: Ok(Some((10, [123, 34, 108, 97, 115, 116, 95, 118, 101, 114, 115, 105, 111, 110, 34, 58, 49, 48, 44, 34, 99, 111, 109, 112, 97, 99, 116, 101, 100, 95, 97, 99, 116, 105, 111, 110, 115, 34, 58, 51, 44, 34, 99, 104, 101, 99, 107, 112, 111, 105, 110, 116, 34, 58, 123, 34, 109, 101, 116, 97, 100, 97, 116, 97, 34, 58, 123, 34, 99, 111, 108, 117, 109, 110, 95, 109, 101, 116, 97, 100, 97, 116, 97, 115, 34, 58, 91, 123, 34, 99, 111, 108, 117, 109, 110, 95, 115, 99, 104, 101, 109, 97, 34, 58, 123, 34, 110, 97, 109, 101, 34, 58, 34, 116, 115, 34, 44, 34, 100, 97, 116, 97, 95, 116, 121, 112, 101, 34, 58, 123, 34, 84, 105, 109, 101, 115, 116, 97, 109, 112, 34, 58, 123, 34, 77, 105, 108, 108, 105, 115, 101, 99, 111, 110, 100, 34, 58, 110, 117, 108, 108, 125, 125, 44, 34, 105, 115, 95, 110, 117, 108, 108, 97, 98, 108, 101, 34, 58, 102, 97, 108, 115, 101, 44, 34, 105, 115, 95, 116, 105, 109, 101, 95, 105, 110, 100, 101, 120, 34, 58, 102, 97, 108, 115, 101, 44, 34, 100, 101, 102, 97, 117, 108, 116, 95, 99, 111, 110, 115, 116, 114, 97, 105, 110, 116, 34, 58, 110, 117, 108, 108, 44, 34, 109, 101, 116, 97, 100, 97, 116, 97, 34, 58, 123, 125, 125, 44, 34, 115, 101, 109, 97, 110, 116, 105, 99, 95, 116, 121, 112, 101, 34, 58, 34, 84, 105, 109, 101, 115, 116, 97, 109, 112, 34, 44, 34, 99, 111, 108, 117, 109, 110, 95, 105, 100, 34, 58, 52, 53, 125, 44, 123, 34, 99, 111, 108, 117, 109, 110, 95, 115, 99, 104, 101, 109, 97, 34, 58, 123, 34, 110, 97, 109, 101, 34, 58, 34, 112, 107, 34, 44, 34, 100, 97, 116, 97, 95, 116, 121, 112, 101, 34, 58, 123, 34, 83, 116, 114, 105, 110, 103, 34, 58, 110, 117, 108, 108, 125, 44, 34, 105, 115, 95, 110, 117, 108, 108, 97, 98, 108, 101, 34, 58, 102, 97, 108, 115, 101, 44, 34, 105, 115, 95, 116, 105, 109, 101, 95, 105, 110, 100, 101, 120, 34, 58, 102, 97, 108, 115, 101, 44, 34, 100, 101, 102, 97, 117, 108, 116, 95, 99, 111, 110, 115, 116, 114, 97, 105, 110, 116, 34, 58, 110, 117, 108, 108, 44, 34, 109, 101, 116, 97, 100, 97, 116, 97, 34, 58, 123, 125, 125, 44, 34, 115, 101, 109, 97, 110, 116, 105, 99, 95, 116, 121, 112, 101, 34, 58, 34, 84, 97, 103, 34, 44, 34, 99, 111, 108, 117, 109, 110, 95, 105, 100, 34, 58, 51, 54, 125, 44, 123, 34, 99, 111, 108, 117, 109, 110, 95, 115, 99, 104, 101, 109, 97, 34, 58, 123, 34, 110, 97, 109, 101, 34, 58, 34, 118, 97, 108, 34, 44, 34, 100, 97, 116, 97, 95, 116, 121, 112, 101, 34, 58, 123, 34, 70, 108, 111, 97, 116, 54, 52, 34, 58, 123, 125, 125, 44, 34, 105, 115, 95, 110, 117, 108, 108, 97, 98, 108, 101, 34, 58, 102, 97, 108, 115, 101, 44, 34, 105, 115, 95, 116, 105, 109, 101, 95, 105, 110, 100, 101, 120, 34, 58, 102, 97, 108, 115, 101, 44, 34, 100, 101, 102, 97, 117, 108, 116, 95, 99, 111, 110, 115, 116, 114, 97, 105, 110, 116, 34, 58, 110, 117, 108, 108, 44, 34, 109, 101, 116, 97, 100, 97, 116, 97, 34, 58, 123, 125, 125, 44, 34, 115, 101, 109, 97, 110, 116, 105, 99, 95, 116, 121, 112, 101, 34, 58, 34, 70, 105, 101, 108, 100, 34, 44, 34, 99, 111, 108, 117, 109, 110, 95, 105, 100, 34, 58, 50, 53, 49, 125, 93, 44, 34, 112, 114, 105, 109, 97, 114, 121, 95, 107, 101, 121, 34, 58, 91, 51, 54, 93, 44, 34, 114, 101, 103, 105, 111, 110, 95, 105, 100, 34, 58, 57, 56, 55, 56, 52, 50, 52, 55, 56, 52, 49, 44, 34, 115, 99, 104, 101, 109, 97, 95, 118, 101, 114, 115, 105, 111, 110, 34, 58, 48, 125, 44, 34, 102, 105, 108, 101, 115, 34, 58, 123, 125, 44, 34, 102, 108, 117, 115, 104, 101, 100, 95, 101, 110, 116, 114, 121, 95, 105, 100, 34, 58, 48, 44, 34, 102, 108, 117, 115, 104, 101, 100, 95, 115, 101, 113, 117, 101, 110, 99, 101, 34, 58, 48, 44, 34, 109, 97, 110, 105, 102, 101, 115, 116, 95, 118, 101, 114, 115, 105, 111, 110, 34, 58, 49, 48, 44, 34, 116, 114, 117, 110, 99, 97, 116, 101, 100, 95, 101, 110, 116, 114, 121, 95, 105, 100, 34, 58, 110, 117, 108, 108, 44, 34, 99, 111, 109, 112, 97, 99, 116, 105, 111, 110, 95, 116, 105, 109, 101, 95, 119, 105, 110, 100, 111, 119, 34, 58, 110, 117, 108, 108, 125, 125])))
 right: Err(ChecksumMismatch { .. })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
evenyag commented 1 week ago

I guess this is caused by https://github.com/GreptimeTeam/greptimedb/pull/4133

github-actions[bot] commented 6 days ago

@GreptimeTeam/db-approver Back to success: https://github.com/GreptimeTeam/greptimedb/actions/runs/9736099848