Parent Log:
http://ci.aztec-labs.com/be5e45ccea0d4a06
Command: a5f5c8aa95cdbf1c yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/90e495a77534c1d250949dbc053161959c9aadcc
Env: REF_NAME=gh-readonly-queue/next/pr-15048-af8041048ee98abe05402607256df4b4cac51dd8 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 15:08:39 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15048_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
15:08:41 [15:08:41.002]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
15:08:41 [15:08:41.008]
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":"0x5bb6edc6dc05d5335c996f3bc0ce35cefa0ed84a"}}
15:08:41 [15:08:41.014]
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:08:41 [15:08:41.014]
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":"0x1ffbdea07b8405357883210ea678771e93f23374"}}
15:08:41 [15:08:41.019]
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:08:41 [15:08:41.020]
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":"0x97ced08a0ba90b68d7ac8126fbedc7095d2665a7"}}
15:08:41 [15:08:41.026]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
15:08:41 {
15:08:41 "code": "invalid_type",
15:08:41 "expected": "number",
15:08:41 "received": "undefined",
15:08:41 "path": [
15:08:41 "schemaVersion"
15:08:41 ],
15:08:41 "message": "Required"
15:08:41 },
15:08:41 {
15:08:41 "code": "invalid_type",
15:08:41 "expected": "string",
15:08:41 "received": "undefined",
15:08:41 "path": [
15:08:41 "rollupAddress"
15:08:41 ],
15:08:41 "message": "Required"
15:08:41 }
15:08:41 ]. Defaulting to empty version
15:08:41 [15:08:41.027]
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":"0x20bf5cb147f42298d7739bb80c36605d5e17cc32"}}
15:08:41 [15:08:41.032]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x00bcf6539ababe258be2740d06c9a6d37e0f6aa6"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x00bcf6539ababe258be2740d06c9a6d37e0f6aa6"}. Resetting database at /tmp/aztec-version-test
15:08:41 [15:08:41.037]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xd1f45929ebee1902c685ca5114497810f08ddf43"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xd1f45929ebee1902c685ca5114497810f08ddf43"}. Resetting database at /tmp/aztec-version-test
15:08:41 [15:08:41.040]
INFO:
foundation:version-manager Upgrading from version 41 to 42
15:08:41 [15:08:41.041]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
15:08:41 [15:08:41.044]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xd2f4b6ab92459c4ba131e39e1e2dbf1f0f7c8387"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xa5e1a78e158adf34f5d3f5527f211271a17a22dc"}}
15:08:41 [15:08:41.048]
INFO:
foundation:version-manager Upgrading from version 41 to 42
15:08:41
PASS src/database-version/version_manager.test.ts
15:08:41 VersionManager
15:08:41 open
15:08:41
✓ upgrades the db (2 ms)
15:08:41
✓ opens the db (2 ms)
15:08:41 resets the database
15:08:41
✓ when no version file exists (7 ms)
15:08:41
✓ when there's an fs error (11 ms)
15:08:41
✓ when the version file is malformed (6 ms)
15:08:41
✓ when the version file is malformed (6 ms)
15:08:41
✓ when the version file is malformed (6 ms)
15:08:41
✓ when there is no way to upgrade (4 ms)
15:08:41
✓ when it's a downgrade (4 ms)
15:08:41
✓ when the upgrade fails (4 ms)
15:08:41
✓ when the rollup address changes (3 ms)
15:08:41 Version
15:08:41
✓ should create an empty version (1 ms)
15:08:41
✓ should serialize correctly
15:08:41
✓ establishes a partial odering
15:08:41
15:08:41
Test Suites: 1 passed, 1 total
15:08:41
Tests: 14 passed, 14 total
15:08:41
Snapshots: 0 total
15:08:41
Time: 0.705 s
15:08:41
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
15:08:41
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?