Parent Log:
http://ci.aztec-labs.com/94393e9a39f896cc
Command: 2f5a01bdc943190c yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/b4e88ec5c5067a9b12be306fb60258508bcfdcf8
Env: REF_NAME=gh-readonly-queue/next/pr-15196-812a53d5d7c2057744dbf808172864443b5de7af CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 26 14:24:14 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15196_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
14:24:16 [14:24:16.266]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
14:24:16 [14:24:16.271]
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":"0xaddcdac4215ead64c3b0adfc650d4a43b1d9657d"}}
14:24:16 [14:24:16.274]
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
14:24:16 [14:24:16.274]
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":"0xd1fc73dd5630f050d5942ac01b397099c02fce01"}}
14:24:16 [14:24:16.276]
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
14:24:16 [14:24:16.277]
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":"0x147eabe0b72c447f7e1c569aa8c55c25f9ac032a"}}
14:24:16 [14:24:16.280]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
14:24:16 {
14:24:16 "code": "invalid_type",
14:24:16 "expected": "number",
14:24:16 "received": "undefined",
14:24:16 "path": [
14:24:16 "schemaVersion"
14:24:16 ],
14:24:16 "message": "Required"
14:24:16 },
14:24:16 {
14:24:16 "code": "invalid_type",
14:24:16 "expected": "string",
14:24:16 "received": "undefined",
14:24:16 "path": [
14:24:16 "rollupAddress"
14:24:16 ],
14:24:16 "message": "Required"
14:24:16 }
14:24:16 ]. Defaulting to empty version
14:24:16 [14:24:16.280]
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":"0x741153c59ad90d56620ef959d01368518ac1dfdf"}}
14:24:16 [14:24:16.283]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x1a0b8f4fdc851e2485a37163344c7bea0ee648dd"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x1a0b8f4fdc851e2485a37163344c7bea0ee648dd"}. Resetting database at /tmp/aztec-version-test
14:24:16 [14:24:16.285]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x42ecb6965a06774ad79242858b4ddc07dc248bdb"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x42ecb6965a06774ad79242858b4ddc07dc248bdb"}. Resetting database at /tmp/aztec-version-test
14:24:16 [14:24:16.287]
INFO:
foundation:version-manager Upgrading from version 41 to 42
14:24:16 [14:24:16.287]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
14:24:16 [14:24:16.289]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x96a340d0fd2cf262ee13579e60fadd4bdbdc6e22"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x3484e546a4b854e5d09b4c85dfda1920aa6f6202"}}
14:24:16 [14:24:16.294]
INFO:
foundation:version-manager Upgrading from version 41 to 42
14:24:16
PASS src/database-version/version_manager.test.ts
14:24:16 VersionManager
14:24:16 open
14:24:16
✓ upgrades the db (4 ms)
14:24:16
✓ opens the db (2 ms)
14:24:16 resets the database
14:24:16
✓ when no version file exists (8 ms)
14:24:16
✓ when there's an fs error (9 ms)
14:24:16
✓ when the version file is malformed (3 ms)
14:24:16
✓ when the version file is malformed (2 ms)
14:24:16
✓ when the version file is malformed (3 ms)
14:24:16
✓ when there is no way to upgrade (2 ms)
14:24:16
✓ when it's a downgrade (2 ms)
14:24:16
✓ when the upgrade fails (2 ms)
14:24:16
✓ when the rollup address changes (1 ms)
14:24:16 Version
14:24:16
✓ should create an empty version
14:24:16
✓ should serialize correctly (1 ms)
14:24:16
✓ establishes a partial odering
14:24:16
14:24:16
Test Suites: 1 passed, 1 total
14:24:16
Tests: 14 passed, 14 total
14:24:16
Snapshots: 0 total
14:24:16
Time: 0.58 s
14:24:16
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
14:24:16
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?