Parent Log:
http://ci.aztec-labs.com/b325d16c0a95c660
Command: 4f771e618b80a60c yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/991b313d676f7cf820bb62a33e57cf5a4c8cf9cf
Env: REF_NAME=gh-readonly-queue/next/pr-15075-af42fafbeb7d6a4440329d9e9e5b1df459fa2e2e CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 16:02:36 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15075_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
16:02:38 [16:02:38.411]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
16:02:38 [16:02:38.416]
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":"0x344726bf5cbe68d22df62da3a99850e0f13fcd7e"}}
16:02:38 [16:02:38.421]
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
16:02:38 [16:02:38.422]
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":"0x93035f2e0683707cd01f8063308999a27a30cf3c"}}
16:02:38 [16:02:38.425]
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
16:02:38 [16:02:38.426]
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":"0xd9588b5ec2ae274ad5bafb6f24072010e6364f8b"}}
16:02:38 [16:02:38.431]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
16:02:38 {
16:02:38 "code": "invalid_type",
16:02:38 "expected": "number",
16:02:38 "received": "undefined",
16:02:38 "path": [
16:02:38 "schemaVersion"
16:02:38 ],
16:02:38 "message": "Required"
16:02:38 },
16:02:38 {
16:02:38 "code": "invalid_type",
16:02:38 "expected": "string",
16:02:38 "received": "undefined",
16:02:38 "path": [
16:02:38 "rollupAddress"
16:02:38 ],
16:02:38 "message": "Required"
16:02:38 }
16:02:38 ]. Defaulting to empty version
16:02:38 [16:02:38.431]
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":"0x7fd900ffbd1b21dda888a58e02a70f94e78d4fdb"}}
16:02:38 [16:02:38.435]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xe4f3f72de8b805630c366c74d90dd2d7107e6022"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xe4f3f72de8b805630c366c74d90dd2d7107e6022"}. Resetting database at /tmp/aztec-version-test
16:02:38 [16:02:38.439]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xba9e9246746a0f139b7e8fac0806d151aa36abbb"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xba9e9246746a0f139b7e8fac0806d151aa36abbb"}. Resetting database at /tmp/aztec-version-test
16:02:38 [16:02:38.442]
INFO:
foundation:version-manager Upgrading from version 41 to 42
16:02:38 [16:02:38.443]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
16:02:38 [16:02:38.446]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xc7db66f598f5eb065bedcc9ee41cd197ec549574"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xef1f9ffa61fe5942fa6d1250d0594aed806d0d6f"}}
16:02:38 [16:02:38.449]
INFO:
foundation:version-manager Upgrading from version 41 to 42
16:02:38
PASS src/database-version/version_manager.test.ts
16:02:38 VersionManager
16:02:38 open
16:02:38
✓ upgrades the db (2 ms)
16:02:38
✓ opens the db (2 ms)
16:02:38 resets the database
16:02:38
✓ when no version file exists (10 ms)
16:02:38
✓ when there's an fs error (10 ms)
16:02:38
✓ when the version file is malformed (4 ms)
16:02:38
✓ when the version file is malformed (3 ms)
16:02:38
✓ when the version file is malformed (5 ms)
16:02:38
✓ when there is no way to upgrade (4 ms)
16:02:38
✓ when it's a downgrade (3 ms)
16:02:38
✓ when the upgrade fails (3 ms)
16:02:38
✓ when the rollup address changes (3 ms)
16:02:38 Version
16:02:38
✓ should create an empty version (1 ms)
16:02:38
✓ should serialize correctly
16:02:38
✓ establishes a partial odering
16:02:38
16:02:38
Test Suites: 1 passed, 1 total
16:02:38
Tests: 14 passed, 14 total
16:02:38
Snapshots: 0 total
16:02:38
Time: 0.81 s
16:02:38
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
16:02:38
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?