Parent Log:
http://ci.aztec-labs.com/85449a36e9425412
Command: ebfed4061172f77e yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/07aee119a58dd438ddfb5bd53e124e7269e6c651
Env: REF_NAME=gh-readonly-queue/next/pr-15083-9b801754ba98479ee645488c29d2fda1eecbfd85 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 21:05:53 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15083_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
21:05:54 [21:05:54.898]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
21:05:54 [21:05:54.903]
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":"0x1388f1835a992f212c8848db9e2c9a87609c7356"}}
21:05:54 [21:05:54.908]
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
21:05:54 [21:05:54.909]
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":"0xaa69d2c9ff47399d00e77dfc1b0b316fb0521bbe"}}
21:05:54 [21:05:54.911]
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
21:05:54 [21:05:54.912]
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":"0x7c8e308b3579bac908dd354d9bd050b176773d97"}}
21:05:54 [21:05:54.915]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
21:05:54 {
21:05:54 "code": "invalid_type",
21:05:54 "expected": "number",
21:05:54 "received": "undefined",
21:05:54 "path": [
21:05:54 "schemaVersion"
21:05:54 ],
21:05:54 "message": "Required"
21:05:54 },
21:05:54 {
21:05:54 "code": "invalid_type",
21:05:54 "expected": "string",
21:05:54 "received": "undefined",
21:05:54 "path": [
21:05:54 "rollupAddress"
21:05:54 ],
21:05:54 "message": "Required"
21:05:54 }
21:05:54 ]. Defaulting to empty version
21:05:54 [21:05:54.916]
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":"0x1f29e6a718aa021756b065d7cafb48503d62938d"}}
21:05:54 [21:05:54.919]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xf193e9d8f54403dcfd2b6d2f9992e9d812bea011"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xf193e9d8f54403dcfd2b6d2f9992e9d812bea011"}. Resetting database at /tmp/aztec-version-test
21:05:54 [21:05:54.922]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x1cf0a5d4ef58aa411ca69aa57712810ca7dc6217"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x1cf0a5d4ef58aa411ca69aa57712810ca7dc6217"}. Resetting database at /tmp/aztec-version-test
21:05:54 [21:05:54.925]
INFO:
foundation:version-manager Upgrading from version 41 to 42
21:05:54 [21:05:54.925]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
21:05:54 [21:05:54.928]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x6256604e6e1e565e86ae42085c4c3ddc680656d2"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x1b9908ea620c1a3ab272f5b5150700a3b8013469"}}
21:05:54 [21:05:54.931]
INFO:
foundation:version-manager Upgrading from version 41 to 42
21:05:54
PASS src/database-version/version_manager.test.ts
21:05:54 VersionManager
21:05:54 open
21:05:54
✓ upgrades the db (2 ms)
21:05:54
✓ opens the db (2 ms)
21:05:54 resets the database
21:05:54
✓ when no version file exists (9 ms)
21:05:54
✓ when there's an fs error (9 ms)
21:05:54
✓ when the version file is malformed (4 ms)
21:05:54
✓ when the version file is malformed (3 ms)
21:05:54
✓ when the version file is malformed (4 ms)
21:05:54
✓ when there is no way to upgrade (2 ms)
21:05:54
✓ when it's a downgrade (3 ms)
21:05:54
✓ when the upgrade fails (3 ms)
21:05:54
✓ when the rollup address changes (3 ms)
21:05:54 Version
21:05:54
✓ should create an empty version (1 ms)
21:05:54
✓ should serialize correctly (1 ms)
21:05:54
✓ establishes a partial odering
21:05:54
21:05:54
Test Suites: 1 passed, 1 total
21:05:54
Tests: 14 passed, 14 total
21:05:54
Snapshots: 0 total
21:05:54
Time: 0.633 s
21:05:54
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
21:05:54
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?