Parent Log:
http://ci.aztec-labs.com/2eb51e87340ddb13
Command: 024e96465ffd3e9a yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/a0a8617413ca6f4fba2ad190ce73dab59bd75a45
Env: REF_NAME=gh-readonly-queue/next/pr-15101-056e5230c330d6ad19900135ecf2a4787181496a CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 14:08:01 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15101_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
14:08:03 [14:08:03.184]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
14:08:03 [14:08:03.188]
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":"0x32a719bffb9e242209aac98482d63c154c3950e4"}}
14:08:03 [14:08:03.192]
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
14:08:03 [14:08:03.192]
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":"0x76381bfed317f4fb9d32ea788b688ff550209460"}}
14:08:03 [14:08:03.194]
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
14:08:03 [14:08:03.195]
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":"0x701ca5b442d65c9437a26c7db3a0af3dbb8136fb"}}
14:08:03 [14:08:03.198]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
14:08:03 {
14:08:03 "code": "invalid_type",
14:08:03 "expected": "number",
14:08:03 "received": "undefined",
14:08:03 "path": [
14:08:03 "schemaVersion"
14:08:03 ],
14:08:03 "message": "Required"
14:08:03 },
14:08:03 {
14:08:03 "code": "invalid_type",
14:08:03 "expected": "string",
14:08:03 "received": "undefined",
14:08:03 "path": [
14:08:03 "rollupAddress"
14:08:03 ],
14:08:03 "message": "Required"
14:08:03 }
14:08:03 ]. Defaulting to empty version
14:08:03 [14:08:03.199]
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":"0x1f739fecc7d958cd88c7be0da4eb6952da779e4d"}}
14:08:03 [14:08:03.201]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xcbac42dfdd7d8a81f35a050990a4f00eb1f19c96"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xcbac42dfdd7d8a81f35a050990a4f00eb1f19c96"}. Resetting database at /tmp/aztec-version-test
14:08:03 [14:08:03.203]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x5a8b7dce735a5f0ce1c48226d4f1954eb785dccb"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x5a8b7dce735a5f0ce1c48226d4f1954eb785dccb"}. Resetting database at /tmp/aztec-version-test
14:08:03 [14:08:03.205]
INFO:
foundation:version-manager Upgrading from version 41 to 42
14:08:03 [14:08:03.206]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
14:08:03 [14:08:03.208]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x42239b59b11a6bc86981fd648ed883d930505270"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x1ce5ac5ce51370d29f3eaf8aae5f78bcd78d1776"}}
14:08:03 [14:08:03.210]
INFO:
foundation:version-manager Upgrading from version 41 to 42
14:08:03
PASS src/database-version/version_manager.test.ts
14:08:03 VersionManager
14:08:03 open
14:08:03
✓ upgrades the db (2 ms)
14:08:03
✓ opens the db (1 ms)
14:08:03 resets the database
14:08:03
✓ when no version file exists (6 ms)
14:08:03
✓ when there's an fs error (7 ms)
14:08:03
✓ when the version file is malformed (2 ms)
14:08:03
✓ when the version file is malformed (2 ms)
14:08:03
✓ when the version file is malformed (4 ms)
14:08:03
✓ when there is no way to upgrade (2 ms)
14:08:03
✓ when it's a downgrade (1 ms)
14:08:03
✓ when the upgrade fails (2 ms)
14:08:03
✓ when the rollup address changes (2 ms)
14:08:03 Version
14:08:03
✓ should create an empty version (1 ms)
14:08:03
✓ should serialize correctly
14:08:03
✓ establishes a partial odering (1 ms)
14:08:03
14:08:03
Test Suites: 1 passed, 1 total
14:08:03
Tests: 14 passed, 14 total
14:08:03
Snapshots: 0 total
14:08:03
Time: 0.62 s
14:08:03
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
14:08:03
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?