Parent Log:
http://ci.aztec-labs.com/2d6245e20328508a
Command: 3f1d1d87da1584d1 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/e742ab186f29d74148403272e50f75bb77cbb8a8
Env: REF_NAME=gh-readonly-queue/next/pr-15051-92d685c3a802eb31897b6f13d28b9ee428c73744 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 19 22:32:43 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15051_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
22:32:45 [22:32:45.436]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
22:32:45 [22:32:45.442]
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":"0x0101f2f59c4f81b05df68689ea9b5e2fef5af43e"}}
22:32:45 [22:32:45.446]
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
22:32:45 [22:32:45.447]
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":"0x4089f9a121d2960dc7e32ec288a6e507d96638b0"}}
22:32:45 [22:32:45.450]
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
22:32:45 [22:32:45.451]
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":"0x515d165e3a2a5a0c0341a5de05d1f643e58940b7"}}
22:32:45 [22:32:45.456]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
22:32:45 {
22:32:45 "code": "invalid_type",
22:32:45 "expected": "number",
22:32:45 "received": "undefined",
22:32:45 "path": [
22:32:45 "schemaVersion"
22:32:45 ],
22:32:45 "message": "Required"
22:32:45 },
22:32:45 {
22:32:45 "code": "invalid_type",
22:32:45 "expected": "string",
22:32:45 "received": "undefined",
22:32:45 "path": [
22:32:45 "rollupAddress"
22:32:45 ],
22:32:45 "message": "Required"
22:32:45 }
22:32:45 ]. Defaulting to empty version
22:32:45 [22:32:45.457]
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":"0x557d6b16e5ecee176a971355ced5527c5508ae59"}}
22:32:45 [22:32:45.461]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x1ec5287ccae1a73089de11d47b237bb91c170f51"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x1ec5287ccae1a73089de11d47b237bb91c170f51"}. Resetting database at /tmp/aztec-version-test
22:32:45 [22:32:45.465]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x0f2e92429928b894f319d46f4fce082df39ad992"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x0f2e92429928b894f319d46f4fce082df39ad992"}. Resetting database at /tmp/aztec-version-test
22:32:45 [22:32:45.468]
INFO:
foundation:version-manager Upgrading from version 41 to 42
22:32:45 [22:32:45.468]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
22:32:45 [22:32:45.471]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x06c2fa9f4f45e8091f4e500672bb172d594dde56"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x1a0cb687628ed0c0e36b7bcf0907f03a0094c1f2"}}
22:32:45 [22:32:45.473]
INFO:
foundation:version-manager Upgrading from version 41 to 42
22:32:45
PASS src/database-version/version_manager.test.ts
22:32:45 VersionManager
22:32:45 open
22:32:45
✓ upgrades the db (3 ms)
22:32:45
✓ opens the db (2 ms)
22:32:45 resets the database
22:32:45
✓ when no version file exists (9 ms)
22:32:45
✓ when there's an fs error (9 ms)
22:32:45
✓ when the version file is malformed (3 ms)
22:32:45
✓ when the version file is malformed (4 ms)
22:32:45
✓ when the version file is malformed (6 ms)
22:32:45
✓ when there is no way to upgrade (4 ms)
22:32:45
✓ when it's a downgrade (3 ms)
22:32:45
✓ when the upgrade fails (2 ms)
22:32:45
✓ when the rollup address changes (2 ms)
22:32:45 Version
22:32:45
✓ should create an empty version
22:32:45
✓ should serialize correctly (1 ms)
22:32:45
✓ establishes a partial odering (1 ms)
22:32:45
22:32:45
Test Suites: 1 passed, 1 total
22:32:45
Tests: 14 passed, 14 total
22:32:45
Snapshots: 0 total
22:32:45
Time: 0.71 s
22:32:45
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
22:32:45
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?