Parent Log: http://ci.aztec-labs.com/8f44d17c3a895f62 Command: 29957fbe93665d48 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/b43963b96401afabcaa75e0728adbb551b94d20f Env: REF_NAME=gh-readonly-queue/next/pr-15216-4608046e462faf9ff3fbee265ba34dbecb5d0b31 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 23 15:42:02 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15216_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:42:04 [15:42:04.204] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 15:42:04 [15:42:04.209] 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":"0x1f4c9039044b6ed08a99e0ddd4386e4c0736bf27"}} 15:42:04 [15:42:04.214] 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:42:04 [15:42:04.214] 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":"0xbec0d08b8511b159f9fb3016d151aa2e90e1c99b"}} 15:42:04 [15:42:04.217] 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:42:04 [15:42:04.218] 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":"0xd8f3af080280fc7ba2c831f4b1ed771ab8c9124b"}} 15:42:04 [15:42:04.226] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 15:42:04 { 15:42:04 "code": "invalid_type", 15:42:04 "expected": "number", 15:42:04 "received": "undefined", 15:42:04 "path": [ 15:42:04 "schemaVersion" 15:42:04 ], 15:42:04 "message": "Required" 15:42:04 }, 15:42:04 { 15:42:04 "code": "invalid_type", 15:42:04 "expected": "string", 15:42:04 "received": "undefined", 15:42:04 "path": [ 15:42:04 "rollupAddress" 15:42:04 ], 15:42:04 "message": "Required" 15:42:04 } 15:42:04 ]. Defaulting to empty version 15:42:04 [15:42:04.227] 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":"0xae9036b76d9f00f202a7331a3b75f42608add6f6"}} 15:42:04 [15:42:04.232] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x741711d42f5a4e0c75944c92c23a3d19b3cb85de"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x741711d42f5a4e0c75944c92c23a3d19b3cb85de"}. Resetting database at /tmp/aztec-version-test 15:42:04 [15:42:04.236] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xd4a48b0be55c98eeb73e79392318c4e166edb9b7"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xd4a48b0be55c98eeb73e79392318c4e166edb9b7"}. Resetting database at /tmp/aztec-version-test 15:42:04 [15:42:04.239] INFO: foundation:version-manager Upgrading from version 41 to 42 15:42:04 [15:42:04.240] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 15:42:04 [15:42:04.244] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x2b8b7d28f53855170772c2ce1718117948ab858c"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x8a3cb1ee4e6ee5bcaf188fbfe80d5664eea937f2"}} 15:42:04 [15:42:04.247] INFO: foundation:version-manager Upgrading from version 41 to 42 15:42:04 PASS src/database-version/version_manager.test.ts 15:42:04 VersionManager 15:42:04 open 15:42:04 upgrades the db (3 ms) 15:42:04 opens the db (2 ms) 15:42:04 resets the database 15:42:04 when no version file exists (8 ms) 15:42:04 when there's an fs error (9 ms) 15:42:04 when the version file is malformed (4 ms) 15:42:04 when the version file is malformed (7 ms) 15:42:04 when the version file is malformed (7 ms) 15:42:04 when there is no way to upgrade (4 ms) 15:42:04 when it's a downgrade (3 ms) 15:42:04 when the upgrade fails (4 ms) 15:42:04 when the rollup address changes (4 ms) 15:42:04 Version 15:42:04 should create an empty version 15:42:04 should serialize correctly (1 ms) 15:42:04 establishes a partial odering (1 ms) 15:42:04 15:42:04 Test Suites: 1 passed, 1 total 15:42:04 Tests: 14 passed, 14 total 15:42:04 Snapshots: 0 total 15:42:04 Time: 0.618 s 15:42:04 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 15:42:04 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?