Parent Log:
http://ci.aztec-labs.com/689bf7188b21e6fd
Command: dc7127b43d957436 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/106f897363bb5aee27ddd091b5be9641b011c5bb
Env: REF_NAME=gh-readonly-queue/next/pr-15004-2b9c409698cf0f475a7a9f5884117c8ad2a4f79a CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Thu Jun 12 15:54:23 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15004_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
15:54:24 [15:54:24.554]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
15:54:24 [15:54:24.558]
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":"0x99227e8a686e8bd6722dc489a479659e2ad7e5b2"}}
15:54:24 [15:54:24.563]
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:54:24 [15:54:24.563]
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":"0x7f4c50acf09c973bf49ba27110af18d0014b37b6"}}
15:54:24 [15:54:24.567]
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:54:24 [15:54:24.567]
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":"0xeffc8d604245574b74435075650e36ec36bd7904"}}
15:54:24 [15:54:24.572]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
15:54:24 {
15:54:24 "code": "invalid_type",
15:54:24 "expected": "number",
15:54:24 "received": "undefined",
15:54:24 "path": [
15:54:24 "schemaVersion"
15:54:24 ],
15:54:24 "message": "Required"
15:54:24 },
15:54:24 {
15:54:24 "code": "invalid_type",
15:54:24 "expected": "string",
15:54:24 "received": "undefined",
15:54:24 "path": [
15:54:24 "rollupAddress"
15:54:24 ],
15:54:24 "message": "Required"
15:54:24 }
15:54:24 ]. Defaulting to empty version
15:54:24 [15:54:24.572]
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":"0x758bf94ca4a23752a899f3d10c47e93d1c5cb577"}}
15:54:24 [15:54:24.576]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x8383fb13f52fce07433d667152ef2fb73aa5ce62"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x8383fb13f52fce07433d667152ef2fb73aa5ce62"}. Resetting database at /tmp/aztec-version-test
15:54:24 [15:54:24.580]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xdba74d03c4c0da94e6e0d4bc535b89926d3d30f6"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xdba74d03c4c0da94e6e0d4bc535b89926d3d30f6"}. Resetting database at /tmp/aztec-version-test
15:54:24 [15:54:24.583]
INFO:
foundation:version-manager Upgrading from version 41 to 42
15:54:24 [15:54:24.584]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
15:54:24 [15:54:24.587]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xa3fbe88608b0867f211c0ee3e49450ed1a02d684"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x9197ae5a717a1f59053f1f031145430bb6c5ed6a"}}
15:54:24 [15:54:24.590]
INFO:
foundation:version-manager Upgrading from version 41 to 42
15:54:24
PASS src/database-version/version_manager.test.ts
15:54:24 VersionManager
15:54:24 open
15:54:24
✓ upgrades the db (3 ms)
15:54:24
✓ opens the db (2 ms)
15:54:24 resets the database
15:54:24
✓ when no version file exists (7 ms)
15:54:24
✓ when there's an fs error (8 ms)
15:54:24
✓ when the version file is malformed (5 ms)
15:54:24
✓ when the version file is malformed (3 ms)
15:54:24
✓ when the version file is malformed (4 ms)
15:54:24
✓ when there is no way to upgrade (4 ms)
15:54:24
✓ when it's a downgrade (3 ms)
15:54:24
✓ when the upgrade fails (3 ms)
15:54:24
✓ when the rollup address changes (3 ms)
15:54:24 Version
15:54:24
✓ should create an empty version
15:54:24
✓ should serialize correctly (1 ms)
15:54:24
✓ establishes a partial odering
15:54:24
15:54:24
Test Suites: 1 passed, 1 total
15:54:24
Tests: 14 passed, 14 total
15:54:24
Snapshots: 0 total
15:54:24
Time: 0.504 s
15:54:24
Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i
.
15:54:24
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?