Parent Log: http://ci.aztec-labs.com/51de6a47cd0be9db Command: 2d72990a54a9c534 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/7edf16da6c056f9499e2dfd9c71fb9b7580f9bfc Env: REF_NAME=gh-readonly-queue/next/pr-15215-1b10c7d500621ca2e4c0db764df67f3085beb282 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 10:17:27 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15215_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 10:17:28 [10:17:28.744] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 10:17:28 [10:17:28.748] 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":"0x6e451a7c6f4e78c96846f85863ab2b458ee69917"}} 10:17:28 [10:17:28.751] 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 10:17:28 [10:17:28.751] 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":"0x613412872a9657d7ccaaa733a89e3ca2be3fe463"}} 10:17:28 [10:17:28.753] 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 10:17:28 [10:17:28.753] 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":"0x0b607edbe32c315623e382e5af7d9212eb8a0004"}} 10:17:28 [10:17:28.757] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 10:17:28 { 10:17:28 "code": "invalid_type", 10:17:28 "expected": "number", 10:17:28 "received": "undefined", 10:17:28 "path": [ 10:17:28 "schemaVersion" 10:17:28 ], 10:17:28 "message": "Required" 10:17:28 }, 10:17:28 { 10:17:28 "code": "invalid_type", 10:17:28 "expected": "string", 10:17:28 "received": "undefined", 10:17:28 "path": [ 10:17:28 "rollupAddress" 10:17:28 ], 10:17:28 "message": "Required" 10:17:28 } 10:17:28 ]. Defaulting to empty version 10:17:28 [10:17:28.757] 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":"0x17b30484d565f4e62f0500267f95108575e17f8d"}} 10:17:28 [10:17:28.759] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x34faf69cada9575f76527198ed97994d7e4434b3"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x34faf69cada9575f76527198ed97994d7e4434b3"}. Resetting database at /tmp/aztec-version-test 10:17:28 [10:17:28.762] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xa233e40f65441bfb2bbf714c685dffe239edfcb8"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xa233e40f65441bfb2bbf714c685dffe239edfcb8"}. Resetting database at /tmp/aztec-version-test 10:17:28 [10:17:28.765] INFO: foundation:version-manager Upgrading from version 41 to 42 10:17:28 [10:17:28.765] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 10:17:28 [10:17:28.768] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xe234927556b1a1e5a8748d8e642d9c9ff2654862"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x9b30a3ab9b43fc52487df71cc0e8be98e1245c1a"}} 10:17:28 [10:17:28.770] INFO: foundation:version-manager Upgrading from version 41 to 42 10:17:28 PASS src/database-version/version_manager.test.ts 10:17:28 VersionManager 10:17:28 open 10:17:28 upgrades the db (2 ms) 10:17:28 opens the db (1 ms) 10:17:28 resets the database 10:17:28 when no version file exists (6 ms) 10:17:28 when there's an fs error (6 ms) 10:17:28 when the version file is malformed (2 ms) 10:17:28 when the version file is malformed (2 ms) 10:17:28 when the version file is malformed (3 ms) 10:17:28 when there is no way to upgrade (2 ms) 10:17:28 when it's a downgrade (2 ms) 10:17:28 when the upgrade fails (3 ms) 10:17:28 when the rollup address changes (2 ms) 10:17:28 Version 10:17:28 should create an empty version (1 ms) 10:17:28 should serialize correctly 10:17:28 establishes a partial odering (1 ms) 10:17:28 10:17:28 Test Suites: 1 passed, 1 total 10:17:28 Tests: 14 passed, 14 total 10:17:28 Snapshots: 0 total 10:17:28 Time: 0.501 s 10:17:28 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 10:17:28 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?