Parent Log:
http://ci.aztec-labs.com/60ef5c3f88f8fbc6
Command: 519e29bba0e33530 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/2469b5f1633350f6be15733c04242af1cdc98227
Env: REF_NAME=gh-readonly-queue/next/pr-15042-ee3655e025191bc85c5b3d3122eeedb44e38ffb2 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 19:45:21 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15042_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
19:45:23 [19:45:23.039]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
19:45:23 [19:45:23.045]
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":"0x01b47d0d6505c55f83579433f0f7db52ccb4b4f6"}}
19:45:23 [19:45:23.052]
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
19:45:23 [19:45:23.053]
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":"0x9c6a9d5715fb3ebadbfc8dd720e40edff24ea318"}}
19:45:23 [19:45:23.058]
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
19:45:23 [19:45:23.059]
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":"0xb903cc6c525660caabeecb666091061efe424f3d"}}
19:45:23 [19:45:23.065]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
19:45:23 {
19:45:23 "code": "invalid_type",
19:45:23 "expected": "number",
19:45:23 "received": "undefined",
19:45:23 "path": [
19:45:23 "schemaVersion"
19:45:23 ],
19:45:23 "message": "Required"
19:45:23 },
19:45:23 {
19:45:23 "code": "invalid_type",
19:45:23 "expected": "string",
19:45:23 "received": "undefined",
19:45:23 "path": [
19:45:23 "rollupAddress"
19:45:23 ],
19:45:23 "message": "Required"
19:45:23 }
19:45:23 ]. Defaulting to empty version
19:45:23 [19:45:23.066]
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":"0x6a734499454ff66a792d2b3a2a59fce434135a6e"}}
19:45:23 [19:45:23.071]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xb62eeaacd3e8c3d9780684a7aaa6cda7c6f9c57c"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xb62eeaacd3e8c3d9780684a7aaa6cda7c6f9c57c"}. Resetting database at /tmp/aztec-version-test
19:45:23 [19:45:23.075]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xf5ea10f6b215b070e6f9686c2e05f0b938012bc2"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xf5ea10f6b215b070e6f9686c2e05f0b938012bc2"}. Resetting database at /tmp/aztec-version-test
19:45:23 [19:45:23.079]
INFO:
foundation:version-manager Upgrading from version 41 to 42
19:45:23 [19:45:23.080]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
19:45:23 [19:45:23.083]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x68375b80b26f82920af66e28b067e05b4e8ef8ba"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x0a2994f154455c62d195fe60ac53b90eaa7e050d"}}
19:45:23 [19:45:23.088]
INFO:
foundation:version-manager Upgrading from version 41 to 42
19:45:23
PASS src/database-version/version_manager.test.ts
19:45:23 VersionManager
19:45:23 open
19:45:23
✓ upgrades the db (4 ms)
19:45:23
✓ opens the db (2 ms)
19:45:23 resets the database
19:45:23
✓ when no version file exists (11 ms)
19:45:23
✓ when there's an fs error (12 ms)
19:45:23
✓ when the version file is malformed (6 ms)
19:45:23
✓ when the version file is malformed (5 ms)
19:45:23
✓ when the version file is malformed (7 ms)
19:45:23
✓ when there is no way to upgrade (5 ms)
19:45:23
✓ when it's a downgrade (3 ms)
19:45:23
✓ when the upgrade fails (4 ms)
19:45:23
✓ when the rollup address changes (4 ms)
19:45:23 Version
19:45:23
✓ should create an empty version
19:45:23
✓ should serialize correctly (2 ms)
19:45:23
✓ establishes a partial odering (1 ms)
19:45:23
19:45:23
Test Suites: 1 passed, 1 total
19:45:23
Tests: 14 passed, 14 total
19:45:23
Snapshots: 0 total
19:45:23
Time: 0.747 s
19:45:23
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
19:45:23
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?