Parent Log:
http://ci.aztec-labs.com/d750ec1612c5b272
Command: 430b662d7e79c93b yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/04760775ac41c49f04129b978fde906271954e3a
Env: REF_NAME=gh-readonly-queue/next/pr-15067-b70544b6d50e3ecb6598361f1990bd51745c7b55 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 23:20:51 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15067_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
23:20:53 [23:20:53.053]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
23:20:53 [23:20:53.058]
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":"0x604344d1cda5568dfbc5f649d402a0b9a418499c"}}
23:20:53 [23:20:53.063]
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
23:20:53 [23:20:53.063]
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":"0x392068c5c805948fb078f1150fb4dde241dda552"}}
23:20:53 [23:20:53.067]
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
23:20:53 [23:20:53.067]
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":"0xf2ac22b1f033454967761f4f6838da295653078c"}}
23:20:53 [23:20:53.073]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
23:20:53 {
23:20:53 "code": "invalid_type",
23:20:53 "expected": "number",
23:20:53 "received": "undefined",
23:20:53 "path": [
23:20:53 "schemaVersion"
23:20:53 ],
23:20:53 "message": "Required"
23:20:53 },
23:20:53 {
23:20:53 "code": "invalid_type",
23:20:53 "expected": "string",
23:20:53 "received": "undefined",
23:20:53 "path": [
23:20:53 "rollupAddress"
23:20:53 ],
23:20:53 "message": "Required"
23:20:53 }
23:20:53 ]. Defaulting to empty version
23:20:53 [23:20:53.074]
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":"0x095fe85527902bb073e6802d5b13633804e21ff6"}}
23:20:53 [23:20:53.078]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x78a740f468dd8d2a083bf985434faaac52584476"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x78a740f468dd8d2a083bf985434faaac52584476"}. Resetting database at /tmp/aztec-version-test
23:20:53 [23:20:53.081]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x0111c48e5a254d53e627bcc222b5824bd9fcee29"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x0111c48e5a254d53e627bcc222b5824bd9fcee29"}. Resetting database at /tmp/aztec-version-test
23:20:53 [23:20:53.084]
INFO:
foundation:version-manager Upgrading from version 41 to 42
23:20:53 [23:20:53.084]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
23:20:53 [23:20:53.087]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xc4c87cb1d68ffa4881a401de3901cc159a2b2c71"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x3628dca4abf3567f32d38291d91dbb7972363cdc"}}
23:20:53 [23:20:53.090]
INFO:
foundation:version-manager Upgrading from version 41 to 42
23:20:53
PASS src/database-version/version_manager.test.ts
23:20:53 VersionManager
23:20:53 open
23:20:53
✓ upgrades the db (3 ms)
23:20:53
✓ opens the db (2 ms)
23:20:53 resets the database
23:20:53
✓ when no version file exists (8 ms)
23:20:53
✓ when there's an fs error (10 ms)
23:20:53
✓ when the version file is malformed (4 ms)
23:20:53
✓ when the version file is malformed (4 ms)
23:20:53
✓ when the version file is malformed (6 ms)
23:20:53
✓ when there is no way to upgrade (4 ms)
23:20:53
✓ when it's a downgrade (3 ms)
23:20:53
✓ when the upgrade fails (2 ms)
23:20:53
✓ when the rollup address changes (3 ms)
23:20:53 Version
23:20:53
✓ should create an empty version
23:20:53
✓ should serialize correctly (1 ms)
23:20:53
✓ establishes a partial odering (1 ms)
23:20:53
23:20:53
Test Suites: 1 passed, 1 total
23:20:53
Tests: 14 passed, 14 total
23:20:53
Snapshots: 0 total
23:20:53
Time: 0.785 s
23:20:53
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
23:20:53
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?