Parent Log:
http://ci.aztec-labs.com/179a28111d15e5ae
Command: 382b132597c2ea2f yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/99e234fe4473771b32124e0402885610a6a3f98a
Env: REF_NAME=gh-readonly-queue/next/pr-15233-1c9ca312bfdace816082212846900a49694e1e50 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 09:00:32 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15233_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
09:00:33 [09:00:33.856]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
09:00:33 [09:00:33.862]
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":"0x6120cdf4d542680b1fb8cbe1a20ef9351746bdaa"}}
09:00:33 [09:00:33.867]
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
09:00:33 [09:00:33.868]
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":"0xa958b8e0f77ce6f0c26c4c06b0e396b8619ed25a"}}
09:00:33 [09:00:33.870]
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
09:00:33 [09:00:33.871]
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":"0xf06e6743ced6c4256667df8e7999d2f619b931d5"}}
09:00:33 [09:00:33.874]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
09:00:33 {
09:00:33 "code": "invalid_type",
09:00:33 "expected": "number",
09:00:33 "received": "undefined",
09:00:33 "path": [
09:00:33 "schemaVersion"
09:00:33 ],
09:00:33 "message": "Required"
09:00:33 },
09:00:33 {
09:00:33 "code": "invalid_type",
09:00:33 "expected": "string",
09:00:33 "received": "undefined",
09:00:33 "path": [
09:00:33 "rollupAddress"
09:00:33 ],
09:00:33 "message": "Required"
09:00:33 }
09:00:33 ]. Defaulting to empty version
09:00:33 [09:00:33.875]
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":"0xa9eb111da8a16fbc30589b81df41df03c9a358eb"}}
09:00:33 [09:00:33.877]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x6db37ed7014882fe1a76b55adf274f77c6bf4126"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x6db37ed7014882fe1a76b55adf274f77c6bf4126"}. Resetting database at /tmp/aztec-version-test
09:00:33 [09:00:33.880]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x0b610d46fc1f39cf18621b4f84c77c5d03798cbe"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x0b610d46fc1f39cf18621b4f84c77c5d03798cbe"}. Resetting database at /tmp/aztec-version-test
09:00:33 [09:00:33.883]
INFO:
foundation:version-manager Upgrading from version 41 to 42
09:00:33 [09:00:33.883]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
09:00:33 [09:00:33.886]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x95f49acdd59dbfe9d78d60871136c1227c359aa8"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xd0a936191f90ecdec994201761e3626d52ebdd09"}}
09:00:33 [09:00:33.890]
INFO:
foundation:version-manager Upgrading from version 41 to 42
09:00:33
PASS src/database-version/version_manager.test.ts
09:00:33 VersionManager
09:00:33 open
09:00:33
✓ upgrades the db (3 ms)
09:00:33
✓ opens the db (2 ms)
09:00:33 resets the database
09:00:33
✓ when no version file exists (11 ms)
09:00:33
✓ when there's an fs error (11 ms)
09:00:33
✓ when the version file is malformed (3 ms)
09:00:33
✓ when the version file is malformed (3 ms)
09:00:33
✓ when the version file is malformed (4 ms)
09:00:33
✓ when there is no way to upgrade (3 ms)
09:00:33
✓ when it's a downgrade (3 ms)
09:00:33
✓ when the upgrade fails (3 ms)
09:00:33
✓ when the rollup address changes (3 ms)
09:00:33 Version
09:00:33
✓ should create an empty version
09:00:33
✓ should serialize correctly (1 ms)
09:00:33
✓ establishes a partial odering (1 ms)
09:00:33
09:00:33
Test Suites: 1 passed, 1 total
09:00:33
Tests: 14 passed, 14 total
09:00:33
Snapshots: 0 total
09:00:33
Time: 0.613 s
09:00:33
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
09:00:33
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?