Parent Log:
http://ci.aztec-labs.com/be516e64aa730e93
Command: a1fcfb018e125472 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/308037ad9b1489540aedbb57a9dac3d71282010e
Env: REF_NAME=gh-readonly-queue/next/pr-15152-cb89edc02f7d386e48ee81660565d91895a3464b CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 12:40:25 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15152_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
12:40:27 [12:40:27.527]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
12:40:27 [12:40:27.532]
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":"0x3010b7c951457d7d2208adb94b34882e1a3f159e"}}
12:40:27 [12:40:27.535]
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
12:40:27 [12:40:27.535]
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":"0x4286104b8e2811e342b6d39144da3d1164d09881"}}
12:40:27 [12:40:27.538]
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
12:40:27 [12:40:27.539]
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":"0xf638b66e10314d2394e9c981cb7906fbd3b17143"}}
12:40:27 [12:40:27.544]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
12:40:27 {
12:40:27 "code": "invalid_type",
12:40:27 "expected": "number",
12:40:27 "received": "undefined",
12:40:27 "path": [
12:40:27 "schemaVersion"
12:40:27 ],
12:40:27 "message": "Required"
12:40:27 },
12:40:27 {
12:40:27 "code": "invalid_type",
12:40:27 "expected": "string",
12:40:27 "received": "undefined",
12:40:27 "path": [
12:40:27 "rollupAddress"
12:40:27 ],
12:40:27 "message": "Required"
12:40:27 }
12:40:27 ]. Defaulting to empty version
12:40:27 [12:40:27.544]
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":"0x7806521a1788c236cd7a137924eec6c20eb1a3ef"}}
12:40:27 [12:40:27.548]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x8083b841c5d2b0d190523583d3217b10390fd2a2"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x8083b841c5d2b0d190523583d3217b10390fd2a2"}. Resetting database at /tmp/aztec-version-test
12:40:27 [12:40:27.551]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x7c4011a742239a1ef372a4eb1242315ed1be9f4c"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x7c4011a742239a1ef372a4eb1242315ed1be9f4c"}. Resetting database at /tmp/aztec-version-test
12:40:27 [12:40:27.555]
INFO:
foundation:version-manager Upgrading from version 41 to 42
12:40:27 [12:40:27.555]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
12:40:27 [12:40:27.558]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x789fc5606753dc081cb0beda3f6c434d9d86bbe0"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x55075efda06584641c49666a60d2248cf702d1cf"}}
12:40:27 [12:40:27.561]
INFO:
foundation:version-manager Upgrading from version 41 to 42
12:40:27
PASS src/database-version/version_manager.test.ts
12:40:27 VersionManager
12:40:27 open
12:40:27
✓ upgrades the db (4 ms)
12:40:27
✓ opens the db (2 ms)
12:40:27 resets the database
12:40:27
✓ when no version file exists (8 ms)
12:40:27
✓ when there's an fs error (8 ms)
12:40:27
✓ when the version file is malformed (3 ms)
12:40:27
✓ when the version file is malformed (3 ms)
12:40:27
✓ when the version file is malformed (5 ms)
12:40:27
✓ when there is no way to upgrade (4 ms)
12:40:27
✓ when it's a downgrade (3 ms)
12:40:27
✓ when the upgrade fails (2 ms)
12:40:27
✓ when the rollup address changes (2 ms)
12:40:27 Version
12:40:27
✓ should create an empty version
12:40:27
✓ should serialize correctly (1 ms)
12:40:27
✓ establishes a partial odering (1 ms)
12:40:27
12:40:27
Test Suites: 1 passed, 1 total
12:40:27
Tests: 14 passed, 14 total
12:40:27
Snapshots: 0 total
12:40:27
Time: 0.607 s
12:40:27
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
12:40:27
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?