Parent Log:
http://ci.aztec-labs.com/fc0133061c7951d2
Command: abf2df8792edab68 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/15da5b0f4fc17ee864697604093cf1ff2bd900d2
Env: REF_NAME=gh-readonly-queue/staging/pr-15174-a1fcc6d25d2ef5242bc875b44f6b8c627357a0d1 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 12:51:56 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15174_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_staging
12:51:57 [12:51:57.978]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
12:51:57 [12:51:57.983]
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":"0xc6b56606faf8b65833306108b643965337cffb9e"}}
12:51:57 [12:51:57.987]
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
12:51:57 [12:51:57.987]
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":"0x71a01088c9694a57e59e01f030336f10dafcd658"}}
12:51:57 [12:51:57.990]
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
12:51:57 [12:51:57.991]
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":"0xe92b74b8a232f9ea78437137f3d2e6d72754186f"}}
12:51:57 [12:51:57.995]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
12:51:57 {
12:51:57 "code": "invalid_type",
12:51:57 "expected": "number",
12:51:57 "received": "undefined",
12:51:57 "path": [
12:51:57 "schemaVersion"
12:51:57 ],
12:51:57 "message": "Required"
12:51:57 },
12:51:57 {
12:51:57 "code": "invalid_type",
12:51:57 "expected": "string",
12:51:57 "received": "undefined",
12:51:57 "path": [
12:51:57 "rollupAddress"
12:51:57 ],
12:51:57 "message": "Required"
12:51:57 }
12:51:57 ]. Defaulting to empty version
12:51:57 [12:51:57.996]
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":"0x288cda1a467262b26db09f4b4983a4cd0e678373"}}
12:51:57 [12:51:57.999]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xa919155d7bdfe7b564bd492cc99924c7e958d480"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xa919155d7bdfe7b564bd492cc99924c7e958d480"}. Resetting database at /tmp/aztec-version-test
12:51:58 [12:51:58.002]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x685ba0340c4f31f0057a659bac846fce18c1cc11"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x685ba0340c4f31f0057a659bac846fce18c1cc11"}. Resetting database at /tmp/aztec-version-test
12:51:58 [12:51:58.005]
INFO:
foundation:version-manager Upgrading from version 41 to 42
12:51:58 [12:51:58.006]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
12:51:58 [12:51:58.009]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x3b028fc61d47c16f59ba6fde5aec8a4deb4da36c"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x6e553e061e958c9b3da44fcb23213f8c8a235544"}}
12:51:58 [12:51:58.012]
INFO:
foundation:version-manager Upgrading from version 41 to 42
12:51:58
PASS src/database-version/version_manager.test.ts
12:51:58 VersionManager
12:51:58 open
12:51:58
✓ upgrades the db (3 ms)
12:51:58
✓ opens the db (3 ms)
12:51:58 resets the database
12:51:58
✓ when no version file exists (9 ms)
12:51:58
✓ when there's an fs error (8 ms)
12:51:58
✓ when the version file is malformed (4 ms)
12:51:58
✓ when the version file is malformed (3 ms)
12:51:58
✓ when the version file is malformed (5 ms)
12:51:58
✓ when there is no way to upgrade (4 ms)
12:51:58
✓ when it's a downgrade (3 ms)
12:51:58
✓ when the upgrade fails (3 ms)
12:51:58
✓ when the rollup address changes (3 ms)
12:51:58 Version
12:51:58
✓ should create an empty version
12:51:58
✓ should serialize correctly (1 ms)
12:51:58
✓ establishes a partial odering
12:51:58
12:51:58
Test Suites: 1 passed, 1 total
12:51:58
Tests: 14 passed, 14 total
12:51:58
Snapshots: 0 total
12:51:58
Time: 0.617 s
12:51:58
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
12:51:58
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?