Parent Log:
http://ci.aztec-labs.com/34c380f1258b1fe9
Command: f9856415d54196c8 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/3084a7eb89277f14c021ec43f4bddf01c77cc5cc
Env: REF_NAME=gh-readonly-queue/next/pr-15077-433ba6218aed45169029991a493e4232b30b8ec6 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 19:12:55 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15077_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
19:12:56 [19:12:56.792]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
19:12:56 [19:12:56.797]
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":"0xa02eb8e4d60f70cb3bdff1f4c2780043ae9518f2"}}
19:12:56 [19:12:56.806]
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
19:12:56 [19:12:56.807]
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":"0xa6a67d5fc1168e3de07986620888ec293a75c5f5"}}
19:12:56 [19:12:56.810]
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
19:12:56 [19:12:56.813]
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":"0xd42e7bc4ca01e02d9da3e7e1276496d0836c2b54"}}
19:12:56 [19:12:56.819]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
19:12:56 {
19:12:56 "code": "invalid_type",
19:12:56 "expected": "number",
19:12:56 "received": "undefined",
19:12:56 "path": [
19:12:56 "schemaVersion"
19:12:56 ],
19:12:56 "message": "Required"
19:12:56 },
19:12:56 {
19:12:56 "code": "invalid_type",
19:12:56 "expected": "string",
19:12:56 "received": "undefined",
19:12:56 "path": [
19:12:56 "rollupAddress"
19:12:56 ],
19:12:56 "message": "Required"
19:12:56 }
19:12:56 ]. Defaulting to empty version
19:12:56 [19:12:56.820]
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":"0x61931e4c69b3a3cd0539de917d4c21012c905884"}}
19:12:56 [19:12:56.823]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xc8aa1be01fb55b59cef8771d901a531d7ca742f5"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xc8aa1be01fb55b59cef8771d901a531d7ca742f5"}. Resetting database at /tmp/aztec-version-test
19:12:56 [19:12:56.826]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xcb6012b7def458d10dbf2ac5cf4516d368f7aba1"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xcb6012b7def458d10dbf2ac5cf4516d368f7aba1"}. Resetting database at /tmp/aztec-version-test
19:12:56 [19:12:56.828]
INFO:
foundation:version-manager Upgrading from version 41 to 42
19:12:56 [19:12:56.828]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
19:12:56 [19:12:56.831]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x061d2aa990bcd5eb796cbd7a4ebf36f578fa5825"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x1e2846d14f2c3f567c47a6a63920329a2de78f06"}}
19:12:56 [19:12:56.834]
INFO:
foundation:version-manager Upgrading from version 41 to 42
19:12:56
PASS src/database-version/version_manager.test.ts
19:12:56 VersionManager
19:12:56 open
19:12:56
✓ upgrades the db (3 ms)
19:12:56
✓ opens the db (3 ms)
19:12:56 resets the database
19:12:56
✓ when no version file exists (8 ms)
19:12:56
✓ when there's an fs error (13 ms)
19:12:56
✓ when the version file is malformed (3 ms)
19:12:56
✓ when the version file is malformed (6 ms)
19:12:56
✓ when the version file is malformed (6 ms)
19:12:56
✓ when there is no way to upgrade (3 ms)
19:12:56
✓ when it's a downgrade (2 ms)
19:12:56
✓ when the upgrade fails (3 ms)
19:12:56
✓ when the rollup address changes (3 ms)
19:12:56 Version
19:12:56
✓ should create an empty version
19:12:56
✓ should serialize correctly (1 ms)
19:12:56
✓ establishes a partial odering
19:12:56
19:12:56
Test Suites: 1 passed, 1 total
19:12:56
Tests: 14 passed, 14 total
19:12:56
Snapshots: 0 total
19:12:56
Time: 0.794 s
19:12:56
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
19:12:56
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?