Parent Log:
http://ci.aztec-labs.com/8ed5c55c2bfee19e
Command: 9b90ba1cd25aa9c9 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/4ae29efe4b68ec58d68cf3708b9a36b94dad8b2b
Env: REF_NAME=gh-readonly-queue/next/pr-15129-5c77169d7f01a9e15bc19b05fa231fd96111d7dd CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 15:19:11 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15129_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
15:19:12 [15:19:12.878]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
15:19:12 [15:19:12.884]
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":"0x0c56239fc0dd22b86da99b30d464894101e3a2a9"}}
15:19:12 [15:19:12.890]
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
15:19:12 [15:19:12.891]
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":"0x290035dd7b1177fc7ce09e3f68953a0f481660c0"}}
15:19:12 [15:19:12.896]
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
15:19:12 [15:19:12.898]
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":"0x02eb468f160ef0a1e0aa11ee22dfcae94750ed6d"}}
15:19:12 [15:19:12.907]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
15:19:12 {
15:19:12 "code": "invalid_type",
15:19:12 "expected": "number",
15:19:12 "received": "undefined",
15:19:12 "path": [
15:19:12 "schemaVersion"
15:19:12 ],
15:19:12 "message": "Required"
15:19:12 },
15:19:12 {
15:19:12 "code": "invalid_type",
15:19:12 "expected": "string",
15:19:12 "received": "undefined",
15:19:12 "path": [
15:19:12 "rollupAddress"
15:19:12 ],
15:19:12 "message": "Required"
15:19:12 }
15:19:12 ]. Defaulting to empty version
15:19:12 [15:19:12.910]
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":"0xe9b0fb2868084a86f2da560a342bad321bae4924"}}
15:19:12 [15:19:12.917]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x4e748e835e50e682ab98f6e7eade56eb0955c9ef"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x4e748e835e50e682ab98f6e7eade56eb0955c9ef"}. Resetting database at /tmp/aztec-version-test
15:19:12 [15:19:12.922]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x7f21ffc7877a32fa912ff2120438907dc442b0b3"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x7f21ffc7877a32fa912ff2120438907dc442b0b3"}. Resetting database at /tmp/aztec-version-test
15:19:12 [15:19:12.929]
INFO:
foundation:version-manager Upgrading from version 41 to 42
15:19:12 [15:19:12.930]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
15:19:12 [15:19:12.934]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x9e819a7a6e237d82c09aa15d6d35d837860817a5"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xbbbee7c2f97e228b9d533012782786b27b694e14"}}
15:19:12 [15:19:12.940]
INFO:
foundation:version-manager Upgrading from version 41 to 42
15:19:12
PASS src/database-version/version_manager.test.ts
15:19:12 VersionManager
15:19:12 open
15:19:12
✓ upgrades the db (3 ms)
15:19:12
✓ opens the db (2 ms)
15:19:12 resets the database
15:19:12
✓ when no version file exists (10 ms)
15:19:12
✓ when there's an fs error (12 ms)
15:19:12
✓ when the version file is malformed (6 ms)
15:19:12
✓ when the version file is malformed (6 ms)
15:19:12
✓ when the version file is malformed (12 ms)
15:19:12
✓ when there is no way to upgrade (7 ms)
15:19:12
✓ when it's a downgrade (6 ms)
15:19:12
✓ when the upgrade fails (5 ms)
15:19:12
✓ when the rollup address changes (4 ms)
15:19:12 Version
15:19:12
✓ should create an empty version (1 ms)
15:19:12
✓ should serialize correctly (1 ms)
15:19:12
✓ establishes a partial odering (1 ms)
15:19:12
15:19:12
Test Suites: 1 passed, 1 total
15:19:12
Tests: 14 passed, 14 total
15:19:12
Snapshots: 0 total
15:19:12
Time: 0.756 s
15:19:12
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
15:19:12
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?