Adapt to new GHA Runners #5811
Closed
Adapt to new GHA Runners #5811
IOG Hydra / ci/hydra-build:x86_64-darwin.required
failed
May 6, 2024 in 0s
Build dependency failed
1 failed steps
Details
Failed Steps
Step 1
Derivation
/nix/store/ms0z5crpm4hb5rqdls64nakf1znhh1r5-cardano-testnet-test-cardano-testnet-test-8.8.0-check.drv
Log
unpacking sources
unpacking source archive /nix/store/4pfb0sni04d4arxy7w6sfjch6gxgyyv7-source-root-cardano-testnet-test-cardano-testnet-test-root
source root is source-root-cardano-testnet-test-cardano-testnet-test-root
patching sources
building
/nix/store/q5nqn69f522cmqddpx1brcikwl5rza0z-cardano-testnet-test-cardano-testnet-test-8.8.0/bin:
patching script interpreter paths in /tmp/tmp.vSMhSezP7O/tmp.PJ9U6rew8n/bin
test/Spec.hs
Spec
Ledger Events
Sanity Check: OK (26.00s)
✓ Sanity Check passed 1 test.
Treasury Growth: FAIL (77.64s)
✗ Treasury Growth failed at test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/TreasuryGrowth.hs:35:37
after 1 test.
shrink path: 1:
forAll0 =
All 0 attempts failed
forAll3 =
Started logging epoch states to: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/logs/ledger-epoch-state.log
forAll4 =
/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/./socket/pool1/sock
forAll5 =
━━━━ File: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/current-stake-pools.json ━━━━
[
"pool1zdw28v0lxlv5pgaszsfxtf2fmfkqjrsdshjkz3eh90ndjpmp3qe",
"pool1vjuf6akkv0lx5mjrh8dezekaszc8zlft39336ddn8yg9xkjuv7l",
"pool147gpktjevk3jpr3kj00ky55s9jw6z5zdtd7jcm4wpj5ugjy3nmh"
]
forAll6 =
Reading file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/current-stake-pools.json
forAll7 =
━━━━ command ━━━━
/nix/store/pbr6mlsgqjvclip9nhhdn8xnxl7zvmkd-cardano-cli-exe-cardano-cli-8.22.0.0/bin/cardano-cli query stake-pools --out-file /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/current-stake-pools.json
forAll8 =
/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/current-stake-pools.json
forAll9 =
TxHash TxIx Amount
--------------------------------------------------------------------------------------
c6189988c67eb1a25770378a620e7a47d63b07ceab5265cd5a8a80c0f4a897b9 0 300000000000 lovelace + TxOutDatumNone
forAll10 =
━━━━ command ━━━━
/nix/store/pbr6mlsgqjvclip9nhhdn8xnxl7zvmkd-cardano-cli-exe-cardano-cli-8.22.0.0/bin/cardano-cli query utxo --address addr_test1vrw6v3tpw4q6vrsnw907a5cv77xqjux00yef3jllu47z4kguyn7ha --cardano-mode
forAll11 =
━━━━ File: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo3/utxo.vkey ━━━━
{
"type": "GenesisUTxOVerificationKey_ed25519",
"description": "Genesis Initial UTxO Verification Key",
"cborHex": "58208aa138c74b675ffc67fb09b4fb9a92ce62cf92c7b8f7e3d8b5c191e381fd2bcc"
}
forAll12 =
Reading file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo3/utxo.vkey
forAll13 =
━━━━ File: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo3/utxo.skey ━━━━
{
"type": "GenesisUTxOSigningKey_ed25519",
"description": "Genesis Initial UTxO Signing Key",
"cborHex": "582012494142dbd938482da4a5aa83557867e57aab99f8a4465891e19ee230747e31"
}
forAll14 =
Reading file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo3/utxo.skey
forAll15 =
TxHash TxIx Amount
--------------------------------------------------------------------------------------
a729884f2eb322fe3e7b4e3614d4051a28e60f6ee44eb317ab2e8ca3b07c13ea 0 300000000000 lovelace + TxOutDatumNone
forAll16 =
━━━━ command ━━━━
/nix/store/pbr6mlsgqjvclip9nhhdn8xnxl7zvmkd-cardano-cli-exe-cardano-cli-8.22.0.0/bin/cardano-cli query utxo --address addr_test1vz8cjcfstvdk0sj96xlgw0j9l0sh6xapktydx74gdrtq2usg3uyua --cardano-mode
forAll17 =
━━━━ File: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo2/utxo.vkey ━━━━
{
"type": "GenesisUTxOVerificationKey_ed25519",
"description": "Genesis Initial UTxO Verification Key",
"cborHex": "58207f34ac90fa3b6886d183f89771f9f2eb6747a33ef1f41e18e77d1e61c7a7d7d8"
}
forAll18 =
Reading file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo2/utxo.vkey
forAll19 =
━━━━ File: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo2/utxo.skey ━━━━
{
"type": "GenesisUTxOSigningKey_ed25519",
"description": "Genesis Initial UTxO Signing Key",
"cborHex": "58206f694c463ff68c159150452508e631f51b9511eb478ef9033e51412532a3a6f4"
}
forAll20 =
Reading file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo2/utxo.skey
forAll21 =
TxHash TxIx Amount
--------------------------------------------------------------------------------------
0a6e8c5c79b447d4a50159e2effaf5066c4b81b0ff479b1b282a6629d17ee94d 0 300000000000 lovelace + TxOutDatumNone
forAll22 =
━━━━ command ━━━━
/nix/store/pbr6mlsgqjvclip9nhhdn8xnxl7zvmkd-cardano-cli-exe-cardano-cli-8.22.0.0/bin/cardano-cli query utxo --address addr_test1vr63x4kg6qw3mc7kc5pje6wgr9wqexrc5a5z5n25dssgghq62uv8c --cardano-mode
forAll23 =
━━━━ File: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo1/utxo.vkey ━━━━
{
"type": "GenesisUTxOVerificationKey_ed25519",
"description": "Genesis Initial UTxO Verification Key",
"cborHex": "5820f18648e0bf15bd6caf2c5e50cdf122d2c8cf1fd231b0cd1e7ca1d2b3d10d52c7"
}
forAll24 =
Reading file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo1/utxo.vkey
forAll25 =
━━━━ File: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo1/utxo.skey ━━━━
{
"type": "GenesisUTxOSigningKey_ed25519",
"description": "Genesis Initial UTxO Signing Key",
"cborHex": "58200f7da378f5357977869939d9df19a3ae7a4c379cf5f2e4f5b3596dcc6c882900"
}
forAll26 =
Reading file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo1/utxo.skey
forAll27 =
━━━━ File: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo3/utxo.vkey ━━━━
{
"type": "GenesisUTxOVerificationKey_ed25519",
"description": "Genesis Initial UTxO Verification Key",
"cborHex": "58208aa138c74b675ffc67fb09b4fb9a92ce62cf92c7b8f7e3d8b5c191e381fd2bcc"
}
forAll28 =
Reading file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo3/utxo.vkey
forAll29 =
━━━━ File: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo3/utxo.skey ━━━━
{
"type": "GenesisUTxOSigningKey_ed25519",
"description": "Genesis Initial UTxO Signing Key",
"cborHex": "582012494142dbd938482da4a5aa83557867e57aab99f8a4465891e19ee230747e31"
}
forAll30 =
Reading file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo3/utxo.skey
forAll31 =
━━━━ File: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo2/utxo.vkey ━━━━
{
"type": "GenesisUTxOVerificationKey_ed25519",
"description": "Genesis Initial UTxO Verification Key",
"cborHex": "58207f34ac90fa3b6886d183f89771f9f2eb6747a33ef1f41e18e77d1e61c7a7d7d8"
}
forAll32 =
Reading file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo2/utxo.vkey
forAll33 =
━━━━ File: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo2/utxo.skey ━━━━
{
"type": "GenesisUTxOSigningKey_ed25519",
"description": "Genesis Initial UTxO Signing Key",
"cborHex": "58206f694c463ff68c159150452508e631f51b9511eb478ef9033e51412532a3a6f4"
}
forAll34 =
Reading file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo2/utxo.skey
forAll35 =
━━━━ File: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo1/utxo.vkey ━━━━
{
"type": "GenesisUTxOVerificationKey_ed25519",
"description": "Genesis Initial UTxO Verification Key",
"cborHex": "5820f18648e0bf15bd6caf2c5e50cdf122d2c8cf1fd231b0cd1e7ca1d2b3d10d52c7"
}
forAll36 =
Reading file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo1/utxo.vkey
forAll37 =
━━━━ File: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo1/utxo.skey ━━━━
{
"type": "GenesisUTxOSigningKey_ed25519",
"description": "Genesis Initial UTxO Signing Key",
"cborHex": "58200f7da378f5357977869939d9df19a3ae7a4c379cf5f2e4f5b3596dcc6c882900"
}
forAll38 =
Reading file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo1/utxo.skey
forAll39 =
2024-05-03 09:41:36.415945 UTC
forAll40 =
2024-05-03 09:42:20.160392 UTC
forAll41 =
2024-05-03 09:41:35.160392 UTC
forAll42 =
Node name: pool3
forAll43 =
Node name: pool2
forAll44 =
Node name: pool1
forAll45 =
Writing file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools-keys/pool3/topology.json
forAll46 =
Writing file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools-keys/pool2/topology.json
forAll47 =
Writing file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools-keys/pool1/topology.json
forAll48 =
Writing file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools-keys/pool3/port
forAll49 =
Renaming from "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/byron-gen-command/delegation-cert.002.json" to "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools-keys/pool3/byron-delegation.cert"
forAll50 =
Renaming from "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/byron-gen-command/delegate-keys.002.key" to "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools-keys/pool3/byron-delegate.key"
forAll51 =
Writing file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools-keys/pool2/port
forAll52 =
Renaming from "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/byron-gen-command/delegation-cert.001.json" to "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools-keys/pool2/byron-delegation.cert"
forAll53 =
Renaming from "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/byron-gen-command/delegate-keys.001.key" to "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools-keys/pool2/byron-delegate.key"
forAll54 =
Writing file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools-keys/pool1/port
forAll55 =
Renaming from "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/byron-gen-command/delegation-cert.000.json" to "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools-keys/pool1/byron-delegation.cert"
forAll56 =
Renaming from "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/byron-gen-command/delegate-keys.000.key" to "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools-keys/pool1/byron-delegate.key"
forAll57 =
Reading file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo3/utxo.addr
forAll58 =
━━━━ command ━━━━
/nix/store/pbr6mlsgqjvclip9nhhdn8xnxl7zvmkd-cardano-cli-exe-cardano-cli-8.22.0.0/bin/cardano-cli address build --payment-verification-key-file /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo3/utxo.vkey --testnet-magic 42 --out-file /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo3/utxo.addr
forAll59 =
Reading file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo2/utxo.addr
forAll60 =
━━━━ command ━━━━
/nix/store/pbr6mlsgqjvclip9nhhdn8xnxl7zvmkd-cardano-cli-exe-cardano-cli-8.22.0.0/bin/cardano-cli address build --payment-verification-key-file /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo2/utxo.vkey --testnet-magic 42 --out-file /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo2/utxo.addr
forAll61 =
Reading file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo1/utxo.addr
forAll62 =
━━━━ command ━━━━
/nix/store/pbr6mlsgqjvclip9nhhdn8xnxl7zvmkd-cardano-cli-exe-cardano-cli-8.22.0.0/bin/cardano-cli address build --payment-verification-key-file /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo1/utxo.vkey --testnet-magic 42 --out-file /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/utxo-keys/utxo1/utxo.addr
forAll63 =
[PoolNodeKeys {poolNodeKeysColdVkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/cold1.vkey", poolNodeKeysColdSkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/cold1.skey", poolNodeKeysVrfVkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/vrf1.vkey", poolNodeKeysVrfSkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/vrf1.skey", poolNodeKeysStakingVkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/staking-reward1.vkey", poolNodeKeysStakingSkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/staking-reward1.skey"},PoolNodeKeys {poolNodeKeysColdVkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/cold2.vkey", poolNodeKeysColdSkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/cold2.skey", poolNodeKeysVrfVkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/vrf2.vkey", poolNodeKeysVrfSkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/vrf2.skey", poolNodeKeysStakingVkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/staking-reward2.vkey", poolNodeKeysStakingSkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/staking-reward2.skey"},PoolNodeKeys {poolNodeKeysColdVkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/cold3.vkey", poolNodeKeysColdSkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/cold3.skey", poolNodeKeysVrfVkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/vrf3.vkey", poolNodeKeysVrfSkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/vrf3.skey", poolNodeKeysStakingVkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/staking-reward3.vkey", poolNodeKeysStakingSkey = "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools/staking-reward3.skey"}]
forAll64 =
Renaming from "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/byron-gen-command/genesis.json" to "/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/byron/genesis.json"
forAll65 =
byron-gen-command
forAll66 =
pools-keys
forAll67 =
genesis.alonzo.spec.json
forAll68 =
utxo-keys
forAll69 =
stake-delegators
forAll70 =
byron
forAll71 =
conway-genesis.json
forAll72 =
byron.genesis.spec.json
forAll73 =
shelley-genesis.json
forAll74 =
module
forAll75 =
drep-keys
forAll76 =
genesis-keys
forAll77 =
delegate-keys
forAll78 =
alonzo-genesis.json
forAll79 =
genesis.conway.spec.json
forAll80 =
Listing directory: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/
forAll81 =
Creating directory if missing: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/byron
forAll82 =
━━━━ command ━━━━
/nix/store/pbr6mlsgqjvclip9nhhdn8xnxl7zvmkd-cardano-cli-exe-cardano-cli-8.22.0.0/bin/cardano-cli babbage genesis create-testnet-data --spec-shelley /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/genesis-input.shelley.json --spec-alonzo /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/genesis-input.alonzo.json --spec-conway /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/genesis-input.conway.json --testnet-magic 42 --pools 3 --total-supply 2000000000000 --delegated-supply 1000000000000 --stake-delegators 3 --utxo-keys 3 --drep-keys 3 --start-time 2024-05-03T09:41:35Z --out-dir /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/
forAll83 =
Number of seeded UTxO keys: 3
forAll84 =
Number of stake delegators: 3
forAll85 =
Number of pools: 3
forAll86 =
Writing file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/genesis-input.shelley.json
forAll87 =
Reading file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/genesis-input.shelley.json
forAll88 =
Rewriting JSON file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/genesis-input.shelley.json
forAll89 =
Creating directory if missing: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee
forAll90 =
"/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/configuration.yaml"
forAll91 =
"/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/genesis.conway.spec.json"
forAll92 =
"/private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/genesis.alonzo.spec.json"
forAll93 =
━━━━ command ━━━━
/nix/store/pbr6mlsgqjvclip9nhhdn8xnxl7zvmkd-cardano-cli-exe-cardano-cli-8.22.0.0/bin/cardano-cli byron genesis genesis --protocol-magic 42 --start-time 1714729295 --k 10 --n-poor-addresses 0 --n-delegate-addresses 3 --total-balance 8000000001 --delegate-share 1 --avvm-entry-count 0 --avvm-entry-balance 0 --avvm-balance-factor 1 --protocol-parameters-file /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/byron.genesis.spec.json --genesis-output-dir /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/byron-gen-command
forAll94 =
Writing file: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/byron.genesis.spec.json
forAll95 =
darwin
forAll96 =
2024-05-03 09:41:35.330065 UTC
forAll97 =
2024-05-03 09:41:20.330065 UTC
forAll100 =
Retry attempt 0 of 0
┏━━ test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/TreasuryGrowth.hs ━━━
34 ┃ prop_check_if_treasury_is_growing :: H.Property
35 ┃ prop_check_if_treasury_is_growing = H.integrationRetryWorkspace 0 "growing-treasury" $ \tempAbsBasePath' -> runWithDefaultWatchdog_ $ do
┃ │ Workspace: /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee
┃ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┃ │ ━━━ Exception (IOException) ━━━
┃ │ /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/pools-keys/pool2/db: removeDirectoryRecursive:removeContentsRecursive:removePathRecursive:removeContentsRecursive:removePathRecursive:removeContentsRecursive:removePathRecursive:removeContentsRecursive:removeDirectory: unsatisfied constraints (Directory not empty)
36 ┃ -- Start testnet
37 ┃ conf@Conf{tempAbsPath=TmpAbsolutePath tempAbsPath'} <- TN.mkConf tempAbsBasePath'
┃ │ /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee
38 ┃
39 ┃ let era = BabbageEra
40 ┃ options = cardanoDefaultTestnetOptions
41 ┃ { cardanoEpochLength = 100
42 ┃ , cardanoNodeEra = AnyCardanoEra era -- TODO: We should only support the latest era and the upcoming era
43 ┃ , cardanoActiveSlotsCoeff = 0.3
44 ┃ }
45 ┃
46 ┃ runtime@TestnetRuntime{configurationFile} <- cardanoTestnetDefault options conf
47 ┃
48 ┃ -- Get socketPath
49 ┃ socketPathAbs <- do
50 ┃ socketPath' <- H.sprocketArgumentName <$> H.headM (poolSprockets runtime)
51 ┃ H.noteIO (IO.canonicalizePath $ tempAbsPath' </> socketPath')
┃ │ /private/tmp/tmp.vSMhSezP7O/growing-treasury-0-test-609f7e61196d7dee/socket/pool1/sock
52 ┃
53 ┃ (_condition, treasuryValues) <- H.leftFailM . H.evalIO . runExceptT $
54 ┃ Api.foldEpochState (File configurationFile) (Api.File socketPathAbs) Api.QuickValidation (EpochNo 10) M.empty handler
55 ┃ H.note_ $ "treasury for last 5 epochs: " <> show treasuryValues
┃ │ treasury for last 5 epochs: fromList [(EpochNo 0,0),(EpochNo 1,0),(EpochNo 2,1791999999),(EpochNo 3,3313663999),(EpochNo 4,5196418866),(EpochNo 5,6807416895)]
56 ┃
57 ┃ let treasuriesSortedByEpoch =
58 ┃ map snd
59 ┃ . sortOn fst
60 ┃ . M.assocs
61 ┃ $ treasuryValues
62 ┃
63 ┃ if checkNonDecreasing treasuriesSortedByEpoch && checkHasIncreased treasuriesSortedByEpoch
64 ┃ then H.success
65 ┃ else do
66 ┃ H.note_ "treasury is not growing"
67 ┃ H.failure
68 ┃ where
69 ┃ handler :: AnyNewEpochState -> SlotNo -> BlockNo -> StateT (Map EpochNo Integer) IO LedgerStateCondition
70 ┃ handler (AnyNewEpochState _ newEpochState) _slotNo _blockNo = do
71 ┃ let (Coin coin) = newEpochState ^. L.nesEsL . L.esAccountStateL . L.asTreasuryL
72 ┃ epochNo = newEpochState ^. L.nesELL
73 ┃ -- handler is executed multiple times per epoch, so we keep only the latest treasury value
74 ┃ modify $ M.insert epochNo coin
75 ┃ pure $ if epochNo >= EpochNo 5
76 ┃ then ConditionMet
77 ┃ else ConditionNotMet
78 ┃
79 ┃ -- | Check if the last element > first element
80 ┃ checkHasIncreased :: (Ord a) => [a] -> Bool
81 ┃ checkHasIncreased = \case
82 ┃ [] -> False
83 ┃ x1:xs -> case reverse xs of
84 ┃ [] -> False
85 ┃ xn:_ -> xn > x1
86 ┃
87 ┃ checkNonDecreasing :: (Ord a) => [a] -> Bool
88 ┃ checkNonDecreasing = \case
89 ┃ [] -> False
90 ┃ [_] -> True
91 ┃ (x:y:xs) -> x <= y && checkNonDecreasing (y:xs)
This failure can be reproduced by running:
> recheckAt (Seed 2325441857831872122 5347996346673870613) "1:" Treasury Growth
Use "--pattern '$NF ~ /Treasury Growth/' --hedgehog-replay '1: Seed 2325441857831872122 5347996346673870613'" to reproduce from the command-line.
Use -p '/Treasury Growth/' to rerun this test only.
Governance
ProposeAndRatifyNewConstitution: IGNORED on MacOS and Windows
IGNORED on MacOS and Windows
DRep Activity: OK (305.24s)
✓ DRep Activity passed 1 test.
DRep Deposits: OK (22.22s)
✓ DRep Deposits passed 1 test.
ProposeNewConstitutionSPO: OK (21.41s)
✓ ProposeNewConstitutionSPO passed 1 test.
TreasuryWithdrawal: OK (43.13s)
✓ TreasuryWithdrawal passed 1 test.
DRepRetirement: OK (22.59s)
✓ DRepRetirement passed 1 test.
Plutus
PlutusV3: OK (31.18s)
✓ PlutusV3 passed 1 test.
CLI
Shutdown: OK (12.46s)
✓ Shutdown passed 1 test.
ShutdownOnSigint: IGNORED on MacOS and Windows
IGNORED on MacOS and Windows
Babbage
leadership-schedule: IGNORED on MacOS and Windows
IGNORED on MacOS and Windows
stake-snapshot: OK (241.81s)
✓ stake-snapshot passed 1 test.
transaction: OK (33.30s)
✓ transaction passed 1 test.
kes-period-info: OK (218.47s)
✓ kes-period-info passed 1 test.
query-slot-number: OK (20.36s)
✓ query-slot-number passed 1 test.
foldBlocks receives ledger state: OK (16.61s)
✓ foldBlocks receives ledger state passed 1 test.
CliQueries: OK (19.18s)
✓ CliQueries passed 1 test.
SubmitApi
Babbage
transaction: OK (24.61s)
✓ transaction passed 1 test.
1 out of 19 tests failed (1136.21s)
Loading