Parent Log: http://ci.aztec-labs.com/2221392aab538d60 Command: 6e611b2acba6dc44 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/9a37be7dc4208f0eeb44ec50194c00ca3f5c4cc6 Env: REF_NAME=gh-readonly-queue/next/pr-15072-1e338a3fb2e2077f1feaee8b86c42644ff8a5352 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 16:43:06 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15072_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 16:43:07 [16:43:07.982] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 16:43:07 [16:43:07.987] 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":"0x3448eb2f11a10a27a0b6158be3aa4ba44335be6d"}} 16:43:07 [16:43:07.993] 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 16:43:07 [16:43:07.993] 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":"0x7d6d2e79312f48078ba7db1f5e6fcaff17c157cc"}} 16:43:07 [16:43:07.996] 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 16:43:07 [16:43:07.997] 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":"0xfc2cd80dee78de70c404949386efda43df2d5baa"}} 16:43:08 [16:43:08.002] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 16:43:08 { 16:43:08 "code": "invalid_type", 16:43:08 "expected": "number", 16:43:08 "received": "undefined", 16:43:08 "path": [ 16:43:08 "schemaVersion" 16:43:08 ], 16:43:08 "message": "Required" 16:43:08 }, 16:43:08 { 16:43:08 "code": "invalid_type", 16:43:08 "expected": "string", 16:43:08 "received": "undefined", 16:43:08 "path": [ 16:43:08 "rollupAddress" 16:43:08 ], 16:43:08 "message": "Required" 16:43:08 } 16:43:08 ]. Defaulting to empty version 16:43:08 [16:43:08.003] 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":"0x82ae85e4d4fa7de00af5e946036b11fea5f3a070"}} 16:43:08 [16:43:08.007] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x61f4d2f365d126140bf7dc9fc329b08c23a69968"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x61f4d2f365d126140bf7dc9fc329b08c23a69968"}. Resetting database at /tmp/aztec-version-test 16:43:08 [16:43:08.011] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x76fba09ced29944c93d775bab36853c31f549767"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x76fba09ced29944c93d775bab36853c31f549767"}. Resetting database at /tmp/aztec-version-test 16:43:08 [16:43:08.014] INFO: foundation:version-manager Upgrading from version 41 to 42 16:43:08 [16:43:08.014] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 16:43:08 [16:43:08.017] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xdf99a37ef2568b9d6bd19dbc1e512ba99af9e0ee"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x8222fda41d4953331a76d7e3aea3eab0756f64b3"}} 16:43:08 [16:43:08.020] INFO: foundation:version-manager Upgrading from version 41 to 42 16:43:08 PASS src/database-version/version_manager.test.ts 16:43:08 VersionManager 16:43:08 open 16:43:08 upgrades the db (3 ms) 16:43:08 opens the db (2 ms) 16:43:08 resets the database 16:43:08 when no version file exists (9 ms) 16:43:08 when there's an fs error (9 ms) 16:43:08 when the version file is malformed (4 ms) 16:43:08 when the version file is malformed (3 ms) 16:43:08 when the version file is malformed (6 ms) 16:43:08 when there is no way to upgrade (4 ms) 16:43:08 when it's a downgrade (3 ms) 16:43:08 when the upgrade fails (3 ms) 16:43:08 when the rollup address changes (3 ms) 16:43:08 Version 16:43:08 should create an empty version (1 ms) 16:43:08 should serialize correctly (1 ms) 16:43:08 establishes a partial odering (1 ms) 16:43:08 16:43:08 Test Suites: 1 passed, 1 total 16:43:08 Tests: 14 passed, 14 total 16:43:08 Snapshots: 0 total 16:43:08 Time: 0.636 s 16:43:08 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 16:43:08 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?