Parent Log:
http://ci.aztec-labs.com/e3a80bcbe207fd36
Command: 48483af633053ffe yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/3b44f825dcd3249b2c8a1105905fa3394aa7213d
Env: REF_NAME=gh-readonly-queue/next/pr-15041-eeab628a4e44477cb6796c5a461ee0c0bb332d75 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 17:47:25 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15041_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
17:47:26 [17:47:26.770]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
17:47:26 [17:47:26.777]
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":"0xeb6fe3a1b39eef7b051e7dd4b74fad4819d9c2b8"}}
17:47:26 [17:47:26.783]
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
17:47:26 [17:47:26.784]
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":"0x8800da953c5e48c0aeb1ff03d37689b3ce94b8c9"}}
17:47:26 [17:47:26.788]
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
17:47:26 [17:47:26.789]
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":"0xeeb2897c4f83ea2a99277173c68024ef0ed73e5b"}}
17:47:26 [17:47:26.795]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
17:47:26 {
17:47:26 "code": "invalid_type",
17:47:26 "expected": "number",
17:47:26 "received": "undefined",
17:47:26 "path": [
17:47:26 "schemaVersion"
17:47:26 ],
17:47:26 "message": "Required"
17:47:26 },
17:47:26 {
17:47:26 "code": "invalid_type",
17:47:26 "expected": "string",
17:47:26 "received": "undefined",
17:47:26 "path": [
17:47:26 "rollupAddress"
17:47:26 ],
17:47:26 "message": "Required"
17:47:26 }
17:47:26 ]. Defaulting to empty version
17:47:26 [17:47:26.796]
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":"0xa036220db37031257b3984415c949a5f50324dde"}}
17:47:26 [17:47:26.800]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x2d30134bae3eed974a664f11ea9b38973fce85da"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x2d30134bae3eed974a664f11ea9b38973fce85da"}. Resetting database at /tmp/aztec-version-test
17:47:26 [17:47:26.803]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xaa9f7e244c7af26916d41ccd2aec86aa63915d5c"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xaa9f7e244c7af26916d41ccd2aec86aa63915d5c"}. Resetting database at /tmp/aztec-version-test
17:47:26 [17:47:26.806]
INFO:
foundation:version-manager Upgrading from version 41 to 42
17:47:26 [17:47:26.807]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
17:47:26 [17:47:26.810]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x2af4d830b9e9148d8b990c80347e3b6d7da632e4"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x98b2e88c7c61d8c61bfc3ecaf08a3836a9f14b80"}}
17:47:26 [17:47:26.814]
INFO:
foundation:version-manager Upgrading from version 41 to 42
17:47:26
PASS src/database-version/version_manager.test.ts
17:47:26 VersionManager
17:47:26 open
17:47:26
✓ upgrades the db (3 ms)
17:47:26
✓ opens the db (2 ms)
17:47:26 resets the database
17:47:26
✓ when no version file exists (11 ms)
17:47:26
✓ when there's an fs error (13 ms)
17:47:26
✓ when the version file is malformed (6 ms)
17:47:26
✓ when the version file is malformed (4 ms)
17:47:26
✓ when the version file is malformed (6 ms)
17:47:26
✓ when there is no way to upgrade (4 ms)
17:47:26
✓ when it's a downgrade (3 ms)
17:47:26
✓ when the upgrade fails (4 ms)
17:47:26
✓ when the rollup address changes (3 ms)
17:47:26 Version
17:47:26
✓ should create an empty version
17:47:26
✓ should serialize correctly
17:47:26
✓ establishes a partial odering (1 ms)
17:47:26
17:47:26
Test Suites: 1 passed, 1 total
17:47:26
Tests: 14 passed, 14 total
17:47:26
Snapshots: 0 total
17:47:26
Time: 0.731 s
17:47:26
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
17:47:26
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?