Parent Log:
http://ci.aztec-labs.com/cda42aa9421eefa5
Command: 7c288cdaeed3e186 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/58b067708e8ff927bf26b2994203134853a7eb71
Env: REF_NAME=gh-readonly-queue/next/pr-15078-3b44f825dcd3249b2c8a1105905fa3394aa7213d CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 17:54:17 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15078_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
17:54:19 [17:54:19.150]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
17:54:19 [17:54:19.155]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":0,"rollupAddress":"0x0000000000000000000000000000000000000000"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x24ae8a8ed425c239b083e208b7379e1f04c31a18"}}
17:54:19 [17:54:19.160]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: SyntaxError: Unexpected end of JSON input. Defaulting to empty version
17:54:19 [17:54:19.161]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":0,"rollupAddress":"0x0000000000000000000000000000000000000000"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x893c333ec30774e8e0c70baa86b8d97dd91df066"}}
17:54:19 [17:54:19.164]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: SyntaxError: Unexpected token 'd', "definitely"... is not valid JSON. Defaulting to empty version
17:54:19 [17:54:19.165]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":0,"rollupAddress":"0x0000000000000000000000000000000000000000"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xdec9439d5ed778edc616a5b6407f20d4785b3a26"}}
17:54:19 [17:54:19.170]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
17:54:19 {
17:54:19 "code": "invalid_type",
17:54:19 "expected": "number",
17:54:19 "received": "undefined",
17:54:19 "path": [
17:54:19 "schemaVersion"
17:54:19 ],
17:54:19 "message": "Required"
17:54:19 },
17:54:19 {
17:54:19 "code": "invalid_type",
17:54:19 "expected": "string",
17:54:19 "received": "undefined",
17:54:19 "path": [
17:54:19 "rollupAddress"
17:54:19 ],
17:54:19 "message": "Required"
17:54:19 }
17:54:19 ]. Defaulting to empty version
17:54:19 [17:54:19.171]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":0,"rollupAddress":"0x0000000000000000000000000000000000000000"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xfe5b818d9e34d1d7e31c88a9906688ea5578abe8"}}
17:54:19 [17:54:19.175]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x2f3ccec13a0aca24e19d4ff724e9145b59bc1a7a"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x2f3ccec13a0aca24e19d4ff724e9145b59bc1a7a"}. Resetting database at /tmp/aztec-version-test
17:54:19 [17:54:19.179]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x0171a6dc775627ae7bf462fd11bd7d8f64b146a1"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x0171a6dc775627ae7bf462fd11bd7d8f64b146a1"}. Resetting database at /tmp/aztec-version-test
17:54:19 [17:54:19.181]
INFO:
foundation:version-manager Upgrading from version 41 to 42
17:54:19 [17:54:19.181]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
17:54:19 [17:54:19.183]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xadb946f3f3069f95e47cb0c2cf24373264d07fcb"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x048c742808f414b0a6ad6e3f66fabea8b4612298"}}
17:54:19 [17:54:19.186]
INFO:
foundation:version-manager Upgrading from version 41 to 42
17:54:19
PASS src/database-version/version_manager.test.ts
17:54:19 VersionManager
17:54:19 open
17:54:19
✓ upgrades the db (2 ms)
17:54:19
✓ opens the db (1 ms)
17:54:19 resets the database
17:54:19
✓ when no version file exists (8 ms)
17:54:19
✓ when there's an fs error (9 ms)
17:54:19
✓ when the version file is malformed (5 ms)
17:54:19
✓ when the version file is malformed (4 ms)
17:54:19
✓ when the version file is malformed (6 ms)
17:54:19
✓ when there is no way to upgrade (4 ms)
17:54:19
✓ when it's a downgrade (2 ms)
17:54:19
✓ when the upgrade fails (2 ms)
17:54:19
✓ when the rollup address changes (2 ms)
17:54:19 Version
17:54:19
✓ should create an empty version (1 ms)
17:54:19
✓ should serialize correctly
17:54:19
✓ establishes a partial odering (1 ms)
17:54:19
17:54:19
Test Suites: 1 passed, 1 total
17:54:19
Tests: 14 passed, 14 total
17:54:19
Snapshots: 0 total
17:54:19
Time: 0.64 s
17:54:19
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
17:54:19
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?