Parent Log:
http://ci.aztec-labs.com/47dc0fc4fbd4a898
Command: 582720422b3f4dff yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/505a3c071181dbc5242dc8b655a9b2d69988c8db
Env: REF_NAME=gh-readonly-queue/staging/pr-15211-e8f6c3b7e3e0e72a33e118ddf8e67d11e51464a8 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 23 12:40:47 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15211_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_staging
12:40:49 [12:40:49.475]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
12:40:49 [12:40:49.480]
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":"0x67e644aebbbc666a694fd0fef80376aff45a1698"}}
12:40:49 [12:40:49.485]
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
12:40:49 [12:40:49.486]
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":"0x3bbfe4a8ff06c4f1571efe2e2c0a39eceabe37ae"}}
12:40:49 [12:40:49.489]
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
12:40:49 [12:40:49.490]
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":"0xc384bf7b12208b84a6ece3ff0055a1925d075a04"}}
12:40:49 [12:40:49.495]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
12:40:49 {
12:40:49 "code": "invalid_type",
12:40:49 "expected": "number",
12:40:49 "received": "undefined",
12:40:49 "path": [
12:40:49 "schemaVersion"
12:40:49 ],
12:40:49 "message": "Required"
12:40:49 },
12:40:49 {
12:40:49 "code": "invalid_type",
12:40:49 "expected": "string",
12:40:49 "received": "undefined",
12:40:49 "path": [
12:40:49 "rollupAddress"
12:40:49 ],
12:40:49 "message": "Required"
12:40:49 }
12:40:49 ]. Defaulting to empty version
12:40:49 [12:40:49.495]
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":"0x32826dda09cc18acc84e78e32f1554d73e843e62"}}
12:40:49 [12:40:49.499]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xb0dd961510bf662e6add14147dabb5f49a1efdf2"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xb0dd961510bf662e6add14147dabb5f49a1efdf2"}. Resetting database at /tmp/aztec-version-test
12:40:49 [12:40:49.503]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x5bbbfdc92ba481ba81b2f3804abd419a29a0f1e0"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x5bbbfdc92ba481ba81b2f3804abd419a29a0f1e0"}. Resetting database at /tmp/aztec-version-test
12:40:49 [12:40:49.506]
INFO:
foundation:version-manager Upgrading from version 41 to 42
12:40:49 [12:40:49.506]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
12:40:49 [12:40:49.509]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x04e829702a983df9bbfe8e5c7a6a8cc227b11c37"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xe0dd28970267318c02cbd326bbd401fd041ee531"}}
12:40:49 [12:40:49.512]
INFO:
foundation:version-manager Upgrading from version 41 to 42
12:40:49
PASS src/database-version/version_manager.test.ts
12:40:49 VersionManager
12:40:49 open
12:40:49
✓ upgrades the db (3 ms)
12:40:49
✓ opens the db (2 ms)
12:40:49 resets the database
12:40:49
✓ when no version file exists (11 ms)
12:40:49
✓ when there's an fs error (10 ms)
12:40:49
✓ when the version file is malformed (4 ms)
12:40:49
✓ when the version file is malformed (3 ms)
12:40:49
✓ when the version file is malformed (5 ms)
12:40:49
✓ when there is no way to upgrade (4 ms)
12:40:49
✓ when it's a downgrade (3 ms)
12:40:49
✓ when the upgrade fails (3 ms)
12:40:49
✓ when the rollup address changes (3 ms)
12:40:49 Version
12:40:49
✓ should create an empty version
12:40:49
✓ should serialize correctly (1 ms)
12:40:49
✓ establishes a partial odering (1 ms)
12:40:49
12:40:49
Test Suites: 1 passed, 1 total
12:40:49
Tests: 14 passed, 14 total
12:40:49
Snapshots: 0 total
12:40:49
Time: 0.656 s
12:40:49
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
12:40:49
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?