Parent Log:
http://ci.aztec-labs.com/bee3602a849f3b31
Command: a5f5c8aa95cdbf1c yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/90e495a77534c1d250949dbc053161959c9aadcc
Env: REF_NAME=gh-readonly-queue/next/pr-15048-af8041048ee98abe05402607256df4b4cac51dd8 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 15:08:28 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15048_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
15:08:29 [15:08:29.735]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
15:08:29 [15:08:29.740]
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":"0xe8371e15c9eeec481c2ab8958d28ed843b50ccaa"}}
15:08:29 [15:08:29.745]
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
15:08:29 [15:08:29.746]
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":"0xe7b3c83332af0b51d01b9f66bda35e6be21ec13c"}}
15:08:29 [15:08:29.749]
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
15:08:29 [15:08:29.750]
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":"0x490a9946ee3fbe8644fd0af8be3f9208fc0b87f2"}}
15:08:29 [15:08:29.755]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
15:08:29 {
15:08:29 "code": "invalid_type",
15:08:29 "expected": "number",
15:08:29 "received": "undefined",
15:08:29 "path": [
15:08:29 "schemaVersion"
15:08:29 ],
15:08:29 "message": "Required"
15:08:29 },
15:08:29 {
15:08:29 "code": "invalid_type",
15:08:29 "expected": "string",
15:08:29 "received": "undefined",
15:08:29 "path": [
15:08:29 "rollupAddress"
15:08:29 ],
15:08:29 "message": "Required"
15:08:29 }
15:08:29 ]. Defaulting to empty version
15:08:29 [15:08:29.755]
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":"0x25ccc087000820b917c73ad58704d165edf399fe"}}
15:08:29 [15:08:29.759]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xf669b50bbb5544f469f38df5626859f7383a1d7e"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xf669b50bbb5544f469f38df5626859f7383a1d7e"}. Resetting database at /tmp/aztec-version-test
15:08:29 [15:08:29.767]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x3c470843a66decd305c9d85da8ca037502e36805"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x3c470843a66decd305c9d85da8ca037502e36805"}. Resetting database at /tmp/aztec-version-test
15:08:29 [15:08:29.771]
INFO:
foundation:version-manager Upgrading from version 41 to 42
15:08:29 [15:08:29.772]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
15:08:29 [15:08:29.776]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x6f2c6b95087b3b7ef5bc17a3533744389cbbca2e"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xba4ebce8e84affa8f2864e92a76ae7f71cba02e7"}}
15:08:29 [15:08:29.779]
INFO:
foundation:version-manager Upgrading from version 41 to 42
15:08:29
PASS src/database-version/version_manager.test.ts
15:08:29 VersionManager
15:08:29 open
15:08:29
✓ upgrades the db (3 ms)
15:08:29
✓ opens the db (2 ms)
15:08:29 resets the database
15:08:29
✓ when no version file exists (9 ms)
15:08:29
✓ when there's an fs error (10 ms)
15:08:29
✓ when the version file is malformed (5 ms)
15:08:29
✓ when the version file is malformed (3 ms)
15:08:29
✓ when the version file is malformed (5 ms)
15:08:29
✓ when there is no way to upgrade (3 ms)
15:08:29
✓ when it's a downgrade (8 ms)
15:08:29
✓ when the upgrade fails (4 ms)
15:08:29
✓ when the rollup address changes (4 ms)
15:08:29 Version
15:08:29
✓ should create an empty version (1 ms)
15:08:29
✓ should serialize correctly (1 ms)
15:08:29
✓ establishes a partial odering (1 ms)
15:08:29
15:08:29
Test Suites: 1 passed, 1 total
15:08:29
Tests: 14 passed, 14 total
15:08:29
Snapshots: 0 total
15:08:29
Time: 0.673 s
15:08:29
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
15:08:29
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?