Parent Log:
http://ci.aztec-labs.com/42ea70df6ab23912
Command: a01b491a8c032117 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/60e60f99f2634ad75a76b6e103858ff9ccd041d5
Env: REF_NAME=gh-readonly-queue/next/pr-15081-58b067708e8ff927bf26b2994203134853a7eb71 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 18:12:23 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15081_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
18:12:25 [18:12:25.069]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
18:12:25 [18:12:25.074]
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":"0xebc60d450a3d5fb0dc152c43f3e0e3f13003d9f5"}}
18:12:25 [18:12:25.079]
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
18:12:25 [18:12:25.080]
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":"0x3cfa04236969d4dc8ea2b9ee0e3538ab0e9ed176"}}
18:12:25 [18:12:25.082]
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
18:12:25 [18:12:25.083]
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":"0xb4c24519e01038fb837a25de7a92e0d7749f938e"}}
18:12:25 [18:12:25.089]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
18:12:25 {
18:12:25 "code": "invalid_type",
18:12:25 "expected": "number",
18:12:25 "received": "undefined",
18:12:25 "path": [
18:12:25 "schemaVersion"
18:12:25 ],
18:12:25 "message": "Required"
18:12:25 },
18:12:25 {
18:12:25 "code": "invalid_type",
18:12:25 "expected": "string",
18:12:25 "received": "undefined",
18:12:25 "path": [
18:12:25 "rollupAddress"
18:12:25 ],
18:12:25 "message": "Required"
18:12:25 }
18:12:25 ]. Defaulting to empty version
18:12:25 [18:12:25.090]
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":"0x1d5baaeed7687f3beef52eed2baa42073b1184a5"}}
18:12:25 [18:12:25.110]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x6ce2a67b2b2ed0876217ace46ec30dc7e760db86"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x6ce2a67b2b2ed0876217ace46ec30dc7e760db86"}. Resetting database at /tmp/aztec-version-test
18:12:25 [18:12:25.118]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x50c8ee01bc89e0d158fdde4465bb51121138629f"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x50c8ee01bc89e0d158fdde4465bb51121138629f"}. Resetting database at /tmp/aztec-version-test
18:12:25 [18:12:25.120]
INFO:
foundation:version-manager Upgrading from version 41 to 42
18:12:25 [18:12:25.120]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
18:12:25 [18:12:25.122]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x8ad6ac7cffb64f3103819d02c835a54b5037fe58"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xfa3c717d16616d107cde5507bb6c57c3d83f2a82"}}
18:12:25 [18:12:25.125]
INFO:
foundation:version-manager Upgrading from version 41 to 42
18:12:25
PASS src/database-version/version_manager.test.ts
18:12:25 VersionManager
18:12:25 open
18:12:25
✓ upgrades the db (3 ms)
18:12:25
✓ opens the db (2 ms)
18:12:25 resets the database
18:12:25
✓ when no version file exists (9 ms)
18:12:25
✓ when there's an fs error (10 ms)
18:12:25
✓ when the version file is malformed (3 ms)
18:12:25
✓ when the version file is malformed (4 ms)
18:12:25
✓ when the version file is malformed (12 ms)
18:12:25
✓ when there is no way to upgrade (16 ms)
18:12:25
✓ when it's a downgrade (3 ms)
18:12:25
✓ when the upgrade fails (2 ms)
18:12:25
✓ when the rollup address changes (2 ms)
18:12:25 Version
18:12:25
✓ should create an empty version (1 ms)
18:12:25
✓ should serialize correctly (1 ms)
18:12:25
✓ establishes a partial odering (1 ms)
18:12:25
18:12:25
Test Suites: 1 passed, 1 total
18:12:25
Tests: 14 passed, 14 total
18:12:25
Snapshots: 0 total
18:12:25
Time: 0.784 s
18:12:25
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
18:12:25
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?