Parent Log: http://ci.aztec-labs.com/ce99f00708501a49 Command: 5b4d9f16dc72b5a7 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/1b10c7d500621ca2e4c0db764df67f3085beb282 Env: REF_NAME=gh-readonly-queue/next/pr-15229-99e234fe4473771b32124e0402885610a6a3f98a CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 10:05:17 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15229_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 10:05:18 [10:05:18.893] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 10:05:18 [10:05:18.898] 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":"0x670b7e614c270fc1b2753a7371b9291f948240a4"}} 10:05:18 [10:05:18.903] 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:05:18 [10:05:18.904] 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":"0xf0bc6fbd2ee597182c3b57f47c38ba4eb1abcfac"}} 10:05:18 [10:05:18.911] 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:05:18 [10:05:18.912] 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":"0xf54c3cbb5238c6abfd71418fd6ad570c0aeaf7b3"}} 10:05:18 [10:05:18.919] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 10:05:18 { 10:05:18 "code": "invalid_type", 10:05:18 "expected": "number", 10:05:18 "received": "undefined", 10:05:18 "path": [ 10:05:18 "schemaVersion" 10:05:18 ], 10:05:18 "message": "Required" 10:05:18 }, 10:05:18 { 10:05:18 "code": "invalid_type", 10:05:18 "expected": "string", 10:05:18 "received": "undefined", 10:05:18 "path": [ 10:05:18 "rollupAddress" 10:05:18 ], 10:05:18 "message": "Required" 10:05:18 } 10:05:18 ]. Defaulting to empty version 10:05:18 [10:05:18.919] 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":"0xb9d2b0cbda2f840903dc74ad6b7148a7520df6a4"}} 10:05:18 [10:05:18.923] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x25fb3ee40834bef77795aa678ab690628be5ef73"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x25fb3ee40834bef77795aa678ab690628be5ef73"}. Resetting database at /tmp/aztec-version-test 10:05:18 [10:05:18.927] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xc38563aab3db2fd718400d6a54729f8160d95e0d"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xc38563aab3db2fd718400d6a54729f8160d95e0d"}. Resetting database at /tmp/aztec-version-test 10:05:18 [10:05:18.930] INFO: foundation:version-manager Upgrading from version 41 to 42 10:05:18 [10:05:18.931] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 10:05:18 [10:05:18.934] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x8aa7b6ba0bad11396709ea53f9c37cd486b75018"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xde013a7cc285c636d65efd232c0b889916d83cdb"}} 10:05:18 [10:05:18.937] INFO: foundation:version-manager Upgrading from version 41 to 42 10:05:18 PASS src/database-version/version_manager.test.ts 10:05:18 VersionManager 10:05:18 open 10:05:18 upgrades the db (3 ms) 10:05:18 opens the db (2 ms) 10:05:18 resets the database 10:05:18 when no version file exists (9 ms) 10:05:18 when there's an fs error (10 ms) 10:05:18 when the version file is malformed (6 ms) 10:05:18 when the version file is malformed (5 ms) 10:05:18 when the version file is malformed (7 ms) 10:05:18 when there is no way to upgrade (4 ms) 10:05:18 when it's a downgrade (3 ms) 10:05:18 when the upgrade fails (3 ms) 10:05:18 when the rollup address changes (3 ms) 10:05:18 Version 10:05:18 should create an empty version (1 ms) 10:05:18 should serialize correctly (1 ms) 10:05:18 establishes a partial odering 10:05:18 10:05:18 Test Suites: 1 passed, 1 total 10:05:18 Tests: 14 passed, 14 total 10:05:18 Snapshots: 0 total 10:05:18 Time: 0.587 s 10:05:18 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 10:05:18 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?