Parent Log: http://ci.aztec-labs.com/d5005dbc6734dc9b Command: 467c61bd41bfcfc4 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/2a96aa32179deb1c1a98c9bc93fbe72f0d016d62 Env: REF_NAME=gh-readonly-queue/next/pr-15284-aacd7d15462246c78893a25b05d292342c07b582 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Wed Jun 25 15:37:21 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15284_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:37:23 [15:37:23.133] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 15:37:23 [15:37:23.139] 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":"0xadc623958b22fc442c14720c8ad8b5f78065913e"}} 15:37:23 [15:37:23.144] 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:37:23 [15:37:23.145] 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":"0x0f3aee5ee42fc097de0381c474f233c9249d56a3"}} 15:37:23 [15:37:23.147] 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:37:23 [15:37:23.148] 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":"0x0f3de09f7a7b8a1534c8440c1e22da8b0529d62f"}} 15:37:23 [15:37:23.151] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 15:37:23 { 15:37:23 "code": "invalid_type", 15:37:23 "expected": "number", 15:37:23 "received": "undefined", 15:37:23 "path": [ 15:37:23 "schemaVersion" 15:37:23 ], 15:37:23 "message": "Required" 15:37:23 }, 15:37:23 { 15:37:23 "code": "invalid_type", 15:37:23 "expected": "string", 15:37:23 "received": "undefined", 15:37:23 "path": [ 15:37:23 "rollupAddress" 15:37:23 ], 15:37:23 "message": "Required" 15:37:23 } 15:37:23 ]. Defaulting to empty version 15:37:23 [15:37:23.152] 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":"0x7a7ff65b76ba1ca094dd656c8b98b3121c5d5c58"}} 15:37:23 [15:37:23.155] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x15bad19dc2dffdace45910eb5d21d1a76cc0e1bf"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x15bad19dc2dffdace45910eb5d21d1a76cc0e1bf"}. Resetting database at /tmp/aztec-version-test 15:37:23 [15:37:23.158] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x06118dc2a4c28a8622f685ede1b7e96075cda640"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x06118dc2a4c28a8622f685ede1b7e96075cda640"}. Resetting database at /tmp/aztec-version-test 15:37:23 [15:37:23.161] INFO: foundation:version-manager Upgrading from version 41 to 42 15:37:23 [15:37:23.161] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 15:37:23 [15:37:23.164] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x9b9172cbb407c39b9aee493cc2714a6fe3ec7c3e"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x064eb69cb833968a0397ba8615332873aef4113d"}} 15:37:23 [15:37:23.166] INFO: foundation:version-manager Upgrading from version 41 to 42 15:37:23 PASS src/database-version/version_manager.test.ts 15:37:23 VersionManager 15:37:23 open 15:37:23 upgrades the db (3 ms) 15:37:23 opens the db (2 ms) 15:37:23 resets the database 15:37:23 when no version file exists (9 ms) 15:37:23 when there's an fs error (11 ms) 15:37:23 when the version file is malformed (4 ms) 15:37:23 when the version file is malformed (3 ms) 15:37:23 when the version file is malformed (4 ms) 15:37:23 when there is no way to upgrade (3 ms) 15:37:23 when it's a downgrade (2 ms) 15:37:23 when the upgrade fails (2 ms) 15:37:23 when the rollup address changes (2 ms) 15:37:23 Version 15:37:23 should create an empty version (1 ms) 15:37:23 should serialize correctly (1 ms) 15:37:23 establishes a partial odering 15:37:23 15:37:23 Test Suites: 1 passed, 1 total 15:37:23 Tests: 14 passed, 14 total 15:37:23 Snapshots: 0 total 15:37:23 Time: 0.682 s 15:37:23 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 15:37:23 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?