Parent Log: http://ci.aztec-labs.com/252df612f2c5c63f Command: 70462c95d683706b yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/fa159c5d52a45358479f951a547fed37f141a6ed Env: REF_NAME=gh-readonly-queue/next/pr-15054-184d5f7d956dd7251670a2dd6728f313cfdf3caf CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 13 22:34:19 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15054_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 22:34:20 [22:34:20.628] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 22:34:20 [22:34:20.635] 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":"0x6b05f2c4baa7c93cfb2e73fd01afc1b21430539c"}} 22:34:20 [22:34:20.642] 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 22:34:20 [22:34:20.643] 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":"0xce6d2726e80a00194d23d985ac3fb8948f28ac3d"}} 22:34:20 [22:34:20.649] 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 22:34:20 [22:34:20.650] 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":"0x0f57da88caaccf38703b71f4c2b4d2bdf29f793b"}} 22:34:20 [22:34:20.658] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 22:34:20 { 22:34:20 "code": "invalid_type", 22:34:20 "expected": "number", 22:34:20 "received": "undefined", 22:34:20 "path": [ 22:34:20 "schemaVersion" 22:34:20 ], 22:34:20 "message": "Required" 22:34:20 }, 22:34:20 { 22:34:20 "code": "invalid_type", 22:34:20 "expected": "string", 22:34:20 "received": "undefined", 22:34:20 "path": [ 22:34:20 "rollupAddress" 22:34:20 ], 22:34:20 "message": "Required" 22:34:20 } 22:34:20 ]. Defaulting to empty version 22:34:20 [22:34:20.660] 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":"0x5f09e002bb359c8cc8cf46d532358e2d47d95e32"}} 22:34:20 [22:34:20.668] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xeec7aa205b026ce545acc70ec81c77285bd04475"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xeec7aa205b026ce545acc70ec81c77285bd04475"}. Resetting database at /tmp/aztec-version-test 22:34:20 [22:34:20.674] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x635aeb4e5f34d16663622f4864c1d5cff50de90f"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x635aeb4e5f34d16663622f4864c1d5cff50de90f"}. Resetting database at /tmp/aztec-version-test 22:34:20 [22:34:20.679] INFO: foundation:version-manager Upgrading from version 41 to 42 22:34:20 [22:34:20.679] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 22:34:20 [22:34:20.685] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x16736cacb6ff05532ce928f279c3c7ae26fa8ca7"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x64bab8c3714542c4e5ff974cff634ff5802ff4fb"}} 22:34:20 [22:34:20.690] INFO: foundation:version-manager Upgrading from version 41 to 42 22:34:20 PASS src/database-version/version_manager.test.ts 22:34:20 VersionManager 22:34:20 open 22:34:20 upgrades the db (5 ms) 22:34:20 opens the db (4 ms) 22:34:20 resets the database 22:34:20 when no version file exists (12 ms) 22:34:20 when there's an fs error (12 ms) 22:34:20 when the version file is malformed (7 ms) 22:34:20 when the version file is malformed (6 ms) 22:34:20 when the version file is malformed (10 ms) 22:34:20 when there is no way to upgrade (7 ms) 22:34:20 when it's a downgrade (5 ms) 22:34:20 when the upgrade fails (5 ms) 22:34:20 when the rollup address changes (5 ms) 22:34:20 Version 22:34:20 should create an empty version (1 ms) 22:34:20 should serialize correctly (1 ms) 22:34:20 establishes a partial odering (1 ms) 22:34:20 22:34:20 Test Suites: 1 passed, 1 total 22:34:20 Tests: 14 passed, 14 total 22:34:20 Snapshots: 0 total 22:34:20 Time: 0.72 s 22:34:20 Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i. 22:34:20 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?