Parent Log:
http://ci.aztec-labs.com/c3e440b46afd0ff2
Command: b5d029682575c433 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/fa4d5ef48c8de52059b5658bbd42e4514386f7db
Env: REF_NAME=gh-readonly-queue/next/pr-15073-5ca43853c40a2b8bfbc2148d5fdd46c6f82a74eb CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 15:34:43 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15073_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
15:34:45 [15:34:45.699]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
15:34:45 [15:34:45.705]
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":"0x2a4130931a76f8ad1dba7f4a705d7a4c41f53d56"}}
15:34:45 [15:34:45.710]
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:34:45 [15:34:45.711]
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":"0x4b3a39c9d13d106b4dcbe107a911eec153887d52"}}
15:34:45 [15:34:45.715]
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:34:45 [15:34:45.715]
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":"0xe42276df615df40ca0dfaaafb6c36926b25aa5b3"}}
15:34:45 [15:34:45.720]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
15:34:45 {
15:34:45 "code": "invalid_type",
15:34:45 "expected": "number",
15:34:45 "received": "undefined",
15:34:45 "path": [
15:34:45 "schemaVersion"
15:34:45 ],
15:34:45 "message": "Required"
15:34:45 },
15:34:45 {
15:34:45 "code": "invalid_type",
15:34:45 "expected": "string",
15:34:45 "received": "undefined",
15:34:45 "path": [
15:34:45 "rollupAddress"
15:34:45 ],
15:34:45 "message": "Required"
15:34:45 }
15:34:45 ]. Defaulting to empty version
15:34:45 [15:34:45.721]
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":"0xb3c05ae0949cd05f00a450440f001650a31e4743"}}
15:34:45 [15:34:45.725]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x318e4f3f35fba685b3d2b986998fc27f737655e5"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x318e4f3f35fba685b3d2b986998fc27f737655e5"}. Resetting database at /tmp/aztec-version-test
15:34:45 [15:34:45.729]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x1bde08fc3a009a6092b384d2119717b2dbd8dab5"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x1bde08fc3a009a6092b384d2119717b2dbd8dab5"}. Resetting database at /tmp/aztec-version-test
15:34:45 [15:34:45.732]
INFO:
foundation:version-manager Upgrading from version 41 to 42
15:34:45 [15:34:45.732]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
15:34:45 [15:34:45.735]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x83fcbb6fa4ea98f8f0a768e0c2c8b62386d9e8f4"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x01bc1ad191b7799d33c41578650de9ca77529d85"}}
15:34:45 [15:34:45.739]
INFO:
foundation:version-manager Upgrading from version 41 to 42
15:34:45
PASS src/database-version/version_manager.test.ts
15:34:45 VersionManager
15:34:45 open
15:34:45
✓ upgrades the db (2 ms)
15:34:45
✓ opens the db (2 ms)
15:34:45 resets the database
15:34:45
✓ when no version file exists (9 ms)
15:34:45
✓ when there's an fs error (10 ms)
15:34:45
✓ when the version file is malformed (4 ms)
15:34:45
✓ when the version file is malformed (4 ms)
15:34:45
✓ when the version file is malformed (6 ms)
15:34:45
✓ when there is no way to upgrade (4 ms)
15:34:45
✓ when it's a downgrade (4 ms)
15:34:45
✓ when the upgrade fails (3 ms)
15:34:45
✓ when the rollup address changes (3 ms)
15:34:45 Version
15:34:45
✓ should create an empty version (1 ms)
15:34:45
✓ should serialize correctly (1 ms)
15:34:45
✓ establishes a partial odering (1 ms)
15:34:45
15:34:45
Test Suites: 1 passed, 1 total
15:34:45
Tests: 14 passed, 14 total
15:34:45
Snapshots: 0 total
15:34:45
Time: 0.731 s
15:34:45
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
15:34:45
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?