Parent Log:
http://ci.aztec-labs.com/03b9ba3e2cc99f2a
Command: 1fec7f5307cfdb51 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/7e505bcd7fcd90a7d5fe893194272157cc9ec848
Env: REF_NAME=gh-readonly-queue/next/pr-15159-88a99fb5fb938035dfeff0d9ed0cfd81b9eb2c5a CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 19 16:35:27 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15159_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
16:35:29 [16:35:29.373]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
16:35:29 [16:35:29.377]
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":"0x0c81c3901ae99de324d660b1b558d88a978dce3b"}}
16:35:29 [16:35:29.382]
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
16:35:29 [16:35:29.382]
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":"0xc7dae03179edebc3a7f78ec9e61da8facd17ab05"}}
16:35:29 [16:35:29.385]
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
16:35:29 [16:35:29.385]
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":"0xa58635d0f7d524decbfec1a2a95b61ea1a886266"}}
16:35:29 [16:35:29.389]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
16:35:29 {
16:35:29 "code": "invalid_type",
16:35:29 "expected": "number",
16:35:29 "received": "undefined",
16:35:29 "path": [
16:35:29 "schemaVersion"
16:35:29 ],
16:35:29 "message": "Required"
16:35:29 },
16:35:29 {
16:35:29 "code": "invalid_type",
16:35:29 "expected": "string",
16:35:29 "received": "undefined",
16:35:29 "path": [
16:35:29 "rollupAddress"
16:35:29 ],
16:35:29 "message": "Required"
16:35:29 }
16:35:29 ]. Defaulting to empty version
16:35:29 [16:35:29.390]
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":"0xc935ad5ba0c2ed1a84f65d103610d1e33d9647e0"}}
16:35:29 [16:35:29.392]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x521f4c1b9e9e3382037342561a5f020fc7a39f1b"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x521f4c1b9e9e3382037342561a5f020fc7a39f1b"}. Resetting database at /tmp/aztec-version-test
16:35:29 [16:35:29.395]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x7bd49934393f7ff8f31af3d77890b8b32b433a97"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x7bd49934393f7ff8f31af3d77890b8b32b433a97"}. Resetting database at /tmp/aztec-version-test
16:35:29 [16:35:29.398]
INFO:
foundation:version-manager Upgrading from version 41 to 42
16:35:29 [16:35:29.399]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
16:35:29 [16:35:29.402]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x75788785fbbac6ecfc075699368db768a147297f"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x0006cf525bfc16407cdb18c401d10b8044c0c208"}}
16:35:29 [16:35:29.405]
INFO:
foundation:version-manager Upgrading from version 41 to 42
16:35:29
PASS src/database-version/version_manager.test.ts
16:35:29 VersionManager
16:35:29 open
16:35:29
✓ upgrades the db (3 ms)
16:35:29
✓ opens the db (2 ms)
16:35:29 resets the database
16:35:29
✓ when no version file exists (11 ms)
16:35:29
✓ when there's an fs error (8 ms)
16:35:29
✓ when the version file is malformed (4 ms)
16:35:29
✓ when the version file is malformed (3 ms)
16:35:29
✓ when the version file is malformed (4 ms)
16:35:29
✓ when there is no way to upgrade (3 ms)
16:35:29
✓ when it's a downgrade (3 ms)
16:35:29
✓ when the upgrade fails (3 ms)
16:35:29
✓ when the rollup address changes (3 ms)
16:35:29 Version
16:35:29
✓ should create an empty version (1 ms)
16:35:29
✓ should serialize correctly (1 ms)
16:35:29
✓ establishes a partial odering
16:35:29
16:35:29
Test Suites: 1 passed, 1 total
16:35:29
Tests: 14 passed, 14 total
16:35:29
Snapshots: 0 total
16:35:29
Time: 0.65 s
16:35:29
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
16:35:29
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?