Enhance artifact structure for incremental cardano db #8450
GitHub Actions / Test Results
failed
Feb 28, 2025 in 0s
2 fail, 1 670 pass in 10m 18s
Annotations
Check warning on line 0 in mithril-aggregator-fake::bin/mithril-aggregator-fake
github-actions / Test Results
application::tests::get_cardano_database (mithril-aggregator-fake::bin/mithril-aggregator-fake) failed
./test-results-Linux-X64.xml [took 0s]
Raw output
thread 'application::tests::get_cardano_database' panicked at mithril-test-lab/mithril-aggregator-fake/src/application.rs:125:10:
called `Result::unwrap()` on an `Err` value: OpenAPI invalid response in ../../openapi.yaml on route /artifact/cardano-database/{hash}, reason: Additional properties are not allowed ('locations' was unexpected), "network" is a required property, "digests" is a required property, "immutables" is a required property, "ancillary" is a required property
response: Response {
status: 200,
version: HTTP/1.1,
headers: {},
body: b"{\n \"beacon\": {\n \"epoch\": 19,\n \"immutable_file_number\": 4\n },\n \"cardano_node_version\": \"10.1.4\",\n \"certificate_hash\": \"43bf8d02a294b686760a7aa48e4bc2834d6db366d3d6fd9747d3634b455b6f08\",\n \"compression_algorithm\": \"zstandard\",\n \"created_at\": \"2025-02-25T16:20:26.391019071Z\",\n \"hash\": \"01f6f9318c2dbd6865c578d2b6945812a9fe292ee46dd6d8b2e57cf237836be8\",\n \"locations\": {\n \"ancillary\": [\n {\n \"type\": \"cloud_storage\",\n \"uri\": \"http://localhost:8080/aggregator/cardano-database-download/ancillary/devnet-e19-i4.ancillary.tar.zst\"\n }\n ],\n \"digests\": [\n {\n \"type\": \"cloud_storage\",\n \"uri\": \"http://localhost:8080/aggregator/cardano-database-download/digests/devnet-e19-i4.digests.json\"\n },\n {\n \"type\": \"aggregator\",\n \"uri\": \"http://localhost:8080/aggregator/artifact/cardano-database/digests\"\n }\n ],\n \"immutables\": [\n {\n \"type\": \"cloud_storage\",\n \"uri\": {\n \"Template\": \"http://localhost:8080/aggregator/cardano-database-download/immutable/{immutable_file_number}.tar.zst\"\n }\n }\n ]\n },\n \"merkle_root\": \"1c42ad7292c2663b6a9a71a649847c05c9a671ae5b5608e3ae00775477ed241a\",\n \"total_db_size_uncompressed\": 1566971\n}",
}
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
running 1 test
test application::tests::get_cardano_database ... FAILED
failures:
failures:
application::tests::get_cardano_database
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 39 filtered out; finished in 0.15s
thread 'application::tests::get_cardano_database' panicked at mithril-test-lab/mithril-aggregator-fake/src/application.rs:125:10:
called `Result::unwrap()` on an `Err` value: OpenAPI invalid response in ../../openapi.yaml on route /artifact/cardano-database/{hash}, reason: Additional properties are not allowed ('locations' was unexpected), "network" is a required property, "digests" is a required property, "immutables" is a required property, "ancillary" is a required property
response: Response {
status: 200,
version: HTTP/1.1,
headers: {},
body: b"{\n \"beacon\": {\n \"epoch\": 19,\n \"immutable_file_number\": 4\n },\n \"cardano_node_version\": \"10.1.4\",\n \"certificate_hash\": \"43bf8d02a294b686760a7aa48e4bc2834d6db366d3d6fd9747d3634b455b6f08\",\n \"compression_algorithm\": \"zstandard\",\n \"created_at\": \"2025-02-25T16:20:26.391019071Z\",\n \"hash\": \"01f6f9318c2dbd6865c578d2b6945812a9fe292ee46dd6d8b2e57cf237836be8\",\n \"locations\": {\n \"ancillary\": [\n {\n \"type\": \"cloud_storage\",\n \"uri\": \"http://localhost:8080/aggregator/cardano-database-download/ancillary/devnet-e19-i4.ancillary.tar.zst\"\n }\n ],\n \"digests\": [\n {\n \"type\": \"cloud_storage\",\n \"uri\": \"http://localhost:8080/aggregator/cardano-database-download/digests/devnet-e19-i4.digests.json\"\n },\n {\n \"type\": \"aggregator\",\n \"uri\": \"http://localhost:8080/aggregator/artifact/cardano-database/digests\"\n }\n ],\n \"immutables\": [\n {\n \"type\": \"cloud_storage\",\n \"uri\": {\n \"Template\": \"http://localhost:8080/aggregator/cardano-database-download/immutable/{immutable_file_number}.tar.zst\"\n }\n }\n ]\n },\n \"merkle_root\": \"1c42ad7292c2663b6a9a71a649847c05c9a671ae5b5608e3ae00775477ed241a\",\n \"total_db_size_uncompressed\": 1566971\n}",
}
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Check warning on line 0 in mithril-aggregator-fake::bin/mithril-aggregator-fake
github-actions / Test Results
application::tests::get_cardano_databases (mithril-aggregator-fake::bin/mithril-aggregator-fake) failed
./test-results-Linux-X64.xml [took 0s]
Raw output
thread 'application::tests::get_cardano_databases' panicked at mithril-test-lab/mithril-aggregator-fake/src/application.rs:125:10:
called `Result::unwrap()` on an `Err` value: OpenAPI invalid response in ../../openapi.yaml on route /artifact/cardano-database, reason: Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected)
response: Response {
status: 200,
version: HTTP/1.1,
headers: {},
body: b"[\n {\n \"hash\": \"b56cecb5e158197e63fd41f3f419e4d28b9f3a862ca2e39067fc261696967b64\",\n \"merkle_root\": \"274d68c21af063e3df77137d6cacb14627314fb2cbc4ec45eb5432506cd71478\",\n \"beacon\": {\n \"epoch\": 21,\n \"immutable_file_number\": 5\n },\n \"certificate_hash\": \"23d31ba29dbe521a8a6ea97d565649ae40320f996ecbbb76ffc872881a73cc9d\",\n \"total_db_size_uncompressed\": 1730848,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:32.626504076Z\"\n },\n {\n \"hash\": \"e68111c32fc734dd715ef746bddeb88846351e1dda614bc1d7199ac1a234cc73\",\n \"merkle_root\": \"274d68c21af063e3df77137d6cacb14627314fb2cbc4ec45eb5432506cd71478\",\n \"beacon\": {\n \"epoch\": 20,\n \"immutable_file_number\": 5\n },\n \"certificate_hash\": \"722d5ff37ae6725245979d4dcc0bfdf1945846a5b32f4596de88584c0a97ee09\",\n \"total_db_size_uncompressed\": 1645202,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:29.444584150Z\"\n },\n {\n \"hash\": \"01f6f9318c2dbd6865c578d2b6945812a9fe292ee46dd6d8b2e57cf237836be8\",\n \"merkle_root\": \"1c42ad7292c2663b6a9a71a649847c05c9a671ae5b5608e3ae00775477ed241a\",\n \"beacon\": {\n \"epoch\": 19,\n \"immutable_file_number\": 4\n },\n \"certificate_hash\": \"43bf8d02a294b686760a7aa48e4bc2834d6db366d3d6fd9747d3634b455b6f08\",\n \"total_db_size_uncompressed\": 1566971,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:26.391019071Z\"\n },\n {\n \"hash\": \"514896b9484b36b146a107e776fd2877574c15ed94a51ea0f596dab8b01190a7\",\n \"merkle_root\": \"1c42ad7292c2663b6a9a71a649847c05c9a671ae5b5608e3ae00775477ed241a\",\n \"beacon\": {\n \"epoch\": 18,\n \"immutable_file_number\": 4\n },\n \"certificate_hash\": \"42647fc5944abd4470c896a19a38b80de1061879cd241150677534ecf45b5f12\",\n \"total_db_size_uncompressed\": 1488011,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:23.474096497Z\"\n },\n {\n \"hash\": \"d5d4249ca28ac2b2bfe4f4e8459b9c74256a5f6eef580b57edd63ed76b84c153\",\n \"merkle_root\": \"1c42ad7292c2663b6a9a71a649847c05c9a671ae5b5608e3ae00775477ed241a\",\n \"beacon\": {\n \"epoch\": 17,\n \"immutable_file_number\": 4\n },\n \"certificate_hash\": \"49aa42c70fbb9a4f628dd686be5459f27716e4062ccdb2909242b61c391f0548\",\n \"total_db_size_uncompressed\": 1411565,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:20.430439671Z\"\n },\n {\n \"hash\": \"a838fc5d367436c2a144d80544831fb9a58e0fd6b7200628fc1377d32ef81d4a\",\n \"merkle_root\": \"fd416afe915600c3a9e72fb6e68afb4e1fd9030d86cf44861e5d9bc9ced3267f\",\n \"beacon\": {\n \"epoch\": 16,\n \"immutable_file_number\": 3\n },\n \"certificate_hash\": \"2c18063e049fc935b4a54094d58d3518ea3da2ce6650c3a3967c27e12af67994\",\n \"total_db_size_uncompressed\": 1328186,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:17.380824379Z\"\n },\n {\n \"hash\": \"af77ae9cd3f345c75986f48dc185838d848f8572841bfe1fd9b0e4d329e488e4\",\n \"merkle_root\": \"fd416afe915600c3a9e72fb6e68afb4e1fd9030d86cf44861e5d9bc9ced3267f\",\n \"beacon\": {\n \"epoch\": 15,\n \"immutable_file_number\": 3\n },\n \"certificate_hash\": \"80c1349c9a0f244fff9f5b4dee24355533da32e73b14994c93d310aecde036b5\",\n \"total_db_size_uncompressed\": 1246592,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:14.325683857Z\"\n },\n {\n \"hash\": \"dec1ff6cf9e08781a310a1e51964eb1d0e79bc6f03267698c4525f65d9ddd2cd\",\n \"merkle_root\": \"fd416afe915600c3a9e72fb6e68afb4e1fd9030d86cf44861e5d9bc9ced3267f\",\n \"beacon\": {\n \"epoch\": 14,\n \"immutable_file_number\": 3\n },\n \"certificate_hash\": \"3c44692dcd2b41e4cb67b3c51dc65099d51a5ad15737690d0acafa5f054c3b31\",\n \"total_db_size_uncompressed\": 1167946,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:11.388578993Z\"\n },\n {\n \"hash\": \"7825eb8cfdc5acc0c62815becdfb7025c2095c88e8d4298d78d35fca7c60c98c\",\n \"merkle_root\": \"fd416afe915600c3a9e72fb6e68afb4e1fd9030d86cf44861e5d9bc9ced3267f\",\n \"beacon\": {\n \"epoch\": 13,\n \"immutable_file_number\": 3\n },\n \"certificate_hash\": \"c17313cc9fa3ff453ce975540fb13e1f531615474a2ff7cfdaff5844900b56b6\",\n \"total_db_size_uncompressed\": 1117294,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:09.514424677Z\"\n },\n {\n \"hash\": \"9698b62980a658ecfc9ede994f4e4a19e2c120008ed3a4f7d1cfb369d3a07cb7\",\n \"merkle_root\": \"318fac86471a0063b18e70234c1037870f6bc7eacbf78909d30a64d65d1019a8\",\n \"beacon\": {\n \"epoch\": 13,\n \"immutable_file_number\": 2\n },\n \"certificate_hash\": \"580f2871b0d6526fb296799b0e952d53e946590829def5e089e57ba45b74ec00\",\n \"total_db_size_uncompressed\": 1083961,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:08.322704492Z\"\n },\n {\n \"hash\": \"5b91863abdcbd7044ef64728d3d56293cf77cdfe6e203b40faf3c768b8b68d6c\",\n \"merkle_root\": \"318fac86471a0063b18e70234c1037870f6bc7eacbf78909d30a64d65d1019a8\",\n \"beacon\": {\n \"epoch\": 12,\n \"immutable_file_number\": 2\n },\n \"certificate_hash\": \"8c069f1401760c3ba1308db3277a3ae624237c4d00fb00ba8481bbd43fbb783d\",\n \"total_db_size_uncompressed\": 1006849,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:05.491341859Z\"\n }\n]\n",
}
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
running 1 test
test application::tests::get_cardano_databases ... FAILED
failures:
failures:
application::tests::get_cardano_databases
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 39 filtered out; finished in 0.15s
thread 'application::tests::get_cardano_databases' panicked at mithril-test-lab/mithril-aggregator-fake/src/application.rs:125:10:
called `Result::unwrap()` on an `Err` value: OpenAPI invalid response in ../../openapi.yaml on route /artifact/cardano-database, reason: Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected), Additional properties are not allowed ('compression_algorithm' was unexpected)
response: Response {
status: 200,
version: HTTP/1.1,
headers: {},
body: b"[\n {\n \"hash\": \"b56cecb5e158197e63fd41f3f419e4d28b9f3a862ca2e39067fc261696967b64\",\n \"merkle_root\": \"274d68c21af063e3df77137d6cacb14627314fb2cbc4ec45eb5432506cd71478\",\n \"beacon\": {\n \"epoch\": 21,\n \"immutable_file_number\": 5\n },\n \"certificate_hash\": \"23d31ba29dbe521a8a6ea97d565649ae40320f996ecbbb76ffc872881a73cc9d\",\n \"total_db_size_uncompressed\": 1730848,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:32.626504076Z\"\n },\n {\n \"hash\": \"e68111c32fc734dd715ef746bddeb88846351e1dda614bc1d7199ac1a234cc73\",\n \"merkle_root\": \"274d68c21af063e3df77137d6cacb14627314fb2cbc4ec45eb5432506cd71478\",\n \"beacon\": {\n \"epoch\": 20,\n \"immutable_file_number\": 5\n },\n \"certificate_hash\": \"722d5ff37ae6725245979d4dcc0bfdf1945846a5b32f4596de88584c0a97ee09\",\n \"total_db_size_uncompressed\": 1645202,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:29.444584150Z\"\n },\n {\n \"hash\": \"01f6f9318c2dbd6865c578d2b6945812a9fe292ee46dd6d8b2e57cf237836be8\",\n \"merkle_root\": \"1c42ad7292c2663b6a9a71a649847c05c9a671ae5b5608e3ae00775477ed241a\",\n \"beacon\": {\n \"epoch\": 19,\n \"immutable_file_number\": 4\n },\n \"certificate_hash\": \"43bf8d02a294b686760a7aa48e4bc2834d6db366d3d6fd9747d3634b455b6f08\",\n \"total_db_size_uncompressed\": 1566971,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:26.391019071Z\"\n },\n {\n \"hash\": \"514896b9484b36b146a107e776fd2877574c15ed94a51ea0f596dab8b01190a7\",\n \"merkle_root\": \"1c42ad7292c2663b6a9a71a649847c05c9a671ae5b5608e3ae00775477ed241a\",\n \"beacon\": {\n \"epoch\": 18,\n \"immutable_file_number\": 4\n },\n \"certificate_hash\": \"42647fc5944abd4470c896a19a38b80de1061879cd241150677534ecf45b5f12\",\n \"total_db_size_uncompressed\": 1488011,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:23.474096497Z\"\n },\n {\n \"hash\": \"d5d4249ca28ac2b2bfe4f4e8459b9c74256a5f6eef580b57edd63ed76b84c153\",\n \"merkle_root\": \"1c42ad7292c2663b6a9a71a649847c05c9a671ae5b5608e3ae00775477ed241a\",\n \"beacon\": {\n \"epoch\": 17,\n \"immutable_file_number\": 4\n },\n \"certificate_hash\": \"49aa42c70fbb9a4f628dd686be5459f27716e4062ccdb2909242b61c391f0548\",\n \"total_db_size_uncompressed\": 1411565,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:20.430439671Z\"\n },\n {\n \"hash\": \"a838fc5d367436c2a144d80544831fb9a58e0fd6b7200628fc1377d32ef81d4a\",\n \"merkle_root\": \"fd416afe915600c3a9e72fb6e68afb4e1fd9030d86cf44861e5d9bc9ced3267f\",\n \"beacon\": {\n \"epoch\": 16,\n \"immutable_file_number\": 3\n },\n \"certificate_hash\": \"2c18063e049fc935b4a54094d58d3518ea3da2ce6650c3a3967c27e12af67994\",\n \"total_db_size_uncompressed\": 1328186,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:17.380824379Z\"\n },\n {\n \"hash\": \"af77ae9cd3f345c75986f48dc185838d848f8572841bfe1fd9b0e4d329e488e4\",\n \"merkle_root\": \"fd416afe915600c3a9e72fb6e68afb4e1fd9030d86cf44861e5d9bc9ced3267f\",\n \"beacon\": {\n \"epoch\": 15,\n \"immutable_file_number\": 3\n },\n \"certificate_hash\": \"80c1349c9a0f244fff9f5b4dee24355533da32e73b14994c93d310aecde036b5\",\n \"total_db_size_uncompressed\": 1246592,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:14.325683857Z\"\n },\n {\n \"hash\": \"dec1ff6cf9e08781a310a1e51964eb1d0e79bc6f03267698c4525f65d9ddd2cd\",\n \"merkle_root\": \"fd416afe915600c3a9e72fb6e68afb4e1fd9030d86cf44861e5d9bc9ced3267f\",\n \"beacon\": {\n \"epoch\": 14,\n \"immutable_file_number\": 3\n },\n \"certificate_hash\": \"3c44692dcd2b41e4cb67b3c51dc65099d51a5ad15737690d0acafa5f054c3b31\",\n \"total_db_size_uncompressed\": 1167946,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:11.388578993Z\"\n },\n {\n \"hash\": \"7825eb8cfdc5acc0c62815becdfb7025c2095c88e8d4298d78d35fca7c60c98c\",\n \"merkle_root\": \"fd416afe915600c3a9e72fb6e68afb4e1fd9030d86cf44861e5d9bc9ced3267f\",\n \"beacon\": {\n \"epoch\": 13,\n \"immutable_file_number\": 3\n },\n \"certificate_hash\": \"c17313cc9fa3ff453ce975540fb13e1f531615474a2ff7cfdaff5844900b56b6\",\n \"total_db_size_uncompressed\": 1117294,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:09.514424677Z\"\n },\n {\n \"hash\": \"9698b62980a658ecfc9ede994f4e4a19e2c120008ed3a4f7d1cfb369d3a07cb7\",\n \"merkle_root\": \"318fac86471a0063b18e70234c1037870f6bc7eacbf78909d30a64d65d1019a8\",\n \"beacon\": {\n \"epoch\": 13,\n \"immutable_file_number\": 2\n },\n \"certificate_hash\": \"580f2871b0d6526fb296799b0e952d53e946590829def5e089e57ba45b74ec00\",\n \"total_db_size_uncompressed\": 1083961,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:08.322704492Z\"\n },\n {\n \"hash\": \"5b91863abdcbd7044ef64728d3d56293cf77cdfe6e203b40faf3c768b8b68d6c\",\n \"merkle_root\": \"318fac86471a0063b18e70234c1037870f6bc7eacbf78909d30a64d65d1019a8\",\n \"beacon\": {\n \"epoch\": 12,\n \"immutable_file_number\": 2\n },\n \"certificate_hash\": \"8c069f1401760c3ba1308db3277a3ae624237c4d00fb00ba8481bbd43fbb783d\",\n \"total_db_size_uncompressed\": 1006849,\n \"compression_algorithm\": \"zstandard\",\n \"cardano_node_version\": \"10.1.4\",\n \"created_at\": \"2025-02-25T16:20:05.491341859Z\"\n }\n]\n",
}
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Loading