Parent Log:
http://ci.aztec-labs.com/9f4d5cb4c0acef50
Command: fab700985fdda05e yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/9164f0ea2d1bd891bbde066fe27f2239188ddec9
Env: REF_NAME=gh-readonly-queue/next/pr-15169-301dce04331dcfb583b7508b91491de618d4acf4 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 23 11:26:44 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15169_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
11:26:46 [11:26:45.998]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
11:26:46 [11:26:46.003]
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":"0x0edcebfec3ab29ce74e26da2d4a5932af11d610a"}}
11:26:46 [11:26:46.008]
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
11:26:46 [11:26:46.008]
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":"0xa68910ecfa550b4af74010b19b2aee8e89c6c813"}}
11:26:46 [11:26:46.011]
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
11:26:46 [11:26:46.012]
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":"0xf96ebc3a3e0df87e86b5f3a81e4a2432eff5ab56"}}
11:26:46 [11:26:46.017]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
11:26:46 {
11:26:46 "code": "invalid_type",
11:26:46 "expected": "number",
11:26:46 "received": "undefined",
11:26:46 "path": [
11:26:46 "schemaVersion"
11:26:46 ],
11:26:46 "message": "Required"
11:26:46 },
11:26:46 {
11:26:46 "code": "invalid_type",
11:26:46 "expected": "string",
11:26:46 "received": "undefined",
11:26:46 "path": [
11:26:46 "rollupAddress"
11:26:46 ],
11:26:46 "message": "Required"
11:26:46 }
11:26:46 ]. Defaulting to empty version
11:26:46 [11:26:46.018]
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":"0xea34a1833242dbcd16e685837f81fc422c5e3869"}}
11:26:46 [11:26:46.022]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x051fa2b915bda06e98fd540392b22c7447a622e9"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x051fa2b915bda06e98fd540392b22c7447a622e9"}. Resetting database at /tmp/aztec-version-test
11:26:46 [11:26:46.026]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xfe70dc57d1be9ae040c7ad96f1d6b62394e0cdec"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xfe70dc57d1be9ae040c7ad96f1d6b62394e0cdec"}. Resetting database at /tmp/aztec-version-test
11:26:46 [11:26:46.030]
INFO:
foundation:version-manager Upgrading from version 41 to 42
11:26:46 [11:26:46.031]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
11:26:46 [11:26:46.034]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x193c28722d0f8fc983f41fdecba2c7a4900c9ca6"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x6d57440d1dd460ec358e4708a83fdc220e55c6ee"}}
11:26:46 [11:26:46.037]
INFO:
foundation:version-manager Upgrading from version 41 to 42
11:26:46
PASS src/database-version/version_manager.test.ts
11:26:46 VersionManager
11:26:46 open
11:26:46
✓ upgrades the db (3 ms)
11:26:46
✓ opens the db (2 ms)
11:26:46 resets the database
11:26:46
✓ when no version file exists (11 ms)
11:26:46
✓ when there's an fs error (10 ms)
11:26:46
✓ when the version file is malformed (4 ms)
11:26:46
✓ when the version file is malformed (3 ms)
11:26:46
✓ when the version file is malformed (5 ms)
11:26:46
✓ when there is no way to upgrade (4 ms)
11:26:46
✓ when it's a downgrade (3 ms)
11:26:46
✓ when the upgrade fails (3 ms)
11:26:46
✓ when the rollup address changes (3 ms)
11:26:46 Version
11:26:46
✓ should create an empty version
11:26:46
✓ should serialize correctly (1 ms)
11:26:46
✓ establishes a partial odering (1 ms)
11:26:46
11:26:46
Test Suites: 1 passed, 1 total
11:26:46
Tests: 14 passed, 14 total
11:26:46
Snapshots: 0 total
11:26:46
Time: 0.59 s
11:26:46
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
11:26:46
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?