Parent Log:
http://ci.aztec-labs.com/ddf305e3c7df868f
Command: 29957fbe93665d48 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/4608046e462faf9ff3fbee265ba34dbecb5d0b31
Env: REF_NAME=gh-readonly-queue/next/pr-15169-2868628b6ae039db35b4267ab3975abc64a5d9b4 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 23 13:08:09 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15169_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
13:08:11 [13:08:11.483]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
13:08:11 [13:08:11.488]
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":"0x1aed8e483b5b7b3c83bdc70e82430bd156b0fe3c"}}
13:08:11 [13:08:11.494]
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
13:08:11 [13:08:11.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":"0xe3aed61d96e1e9871452ae1d760726b2a23dc92a"}}
13:08:11 [13:08:11.498]
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
13:08:11 [13:08:11.498]
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":"0x68b4f0e0ff666b1a7e61a615d1f4d35f62950ab7"}}
13:08:11 [13:08:11.501]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
13:08:11 {
13:08:11 "code": "invalid_type",
13:08:11 "expected": "number",
13:08:11 "received": "undefined",
13:08:11 "path": [
13:08:11 "schemaVersion"
13:08:11 ],
13:08:11 "message": "Required"
13:08:11 },
13:08:11 {
13:08:11 "code": "invalid_type",
13:08:11 "expected": "string",
13:08:11 "received": "undefined",
13:08:11 "path": [
13:08:11 "rollupAddress"
13:08:11 ],
13:08:11 "message": "Required"
13:08:11 }
13:08:11 ]. Defaulting to empty version
13:08:11 [13:08:11.502]
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":"0x334a0c27adb7198507251bc6d357dc9b34ccbf50"}}
13:08:11 [13:08:11.504]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x1b36cd1d11c168bfaedd7a0a815edac06be35706"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x1b36cd1d11c168bfaedd7a0a815edac06be35706"}. Resetting database at /tmp/aztec-version-test
13:08:11 [13:08:11.507]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x0e0db172736cc25539b3ba3cd076043cb12cbd09"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x0e0db172736cc25539b3ba3cd076043cb12cbd09"}. Resetting database at /tmp/aztec-version-test
13:08:11 [13:08:11.509]
INFO:
foundation:version-manager Upgrading from version 41 to 42
13:08:11 [13:08:11.509]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
13:08:11 [13:08:11.511]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xb6a985f058432e54334c5ea5e8a6c5afd33fe38f"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xf08058331f4df6b92c54b17eafe6056b1883981d"}}
13:08:11 [13:08:11.515]
INFO:
foundation:version-manager Upgrading from version 41 to 42
13:08:11
PASS src/database-version/version_manager.test.ts
13:08:11 VersionManager
13:08:11 open
13:08:11
✓ upgrades the db (2 ms)
13:08:11
✓ opens the db (2 ms)
13:08:11 resets the database
13:08:11
✓ when no version file exists (8 ms)
13:08:11
✓ when there's an fs error (11 ms)
13:08:11
✓ when the version file is malformed (5 ms)
13:08:11
✓ when the version file is malformed (2 ms)
13:08:11
✓ when the version file is malformed (4 ms)
13:08:11
✓ when there is no way to upgrade (3 ms)
13:08:11
✓ when it's a downgrade (2 ms)
13:08:11
✓ when the upgrade fails (2 ms)
13:08:11
✓ when the rollup address changes (2 ms)
13:08:11 Version
13:08:11
✓ should create an empty version
13:08:11
✓ should serialize correctly (1 ms)
13:08:11
✓ establishes a partial odering
13:08:11
13:08:11
Test Suites: 1 passed, 1 total
13:08:11
Tests: 14 passed, 14 total
13:08:11
Snapshots: 0 total
13:08:11
Time: 0.613 s
13:08:11
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
13:08:11
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?