Deprecate serialiseTxLedgerCddl
#5867
Closed
IOG Hydra / ci/hydra-build:x86_64-linux.required
failed
May 30, 2024 in 17m 35s
Build dependency failed
1 failed steps
Details
Failed Steps
Step 1
Derivation
/nix/store/2c35q8374z19dchsh7s0w21jjnhb0a9v-cardano-testnet-test-cardano-testnet-test-8.11.0-check.drv
Log
unpacking sources
unpacking source archive /nix/store/32ra9cxsf8l8szc5sqcbqjslgncvpb6v-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/jrzgy1989ay5sfdmpbrdlzp9lzgjggj7-cardano-testnet-test-cardano-testnet-test-8.11.0/bin:
patching script interpreter paths in /tmp/tmp.OwKjPZotYT/tmp.JaCIUDDtxy/bin
test/Spec.hs
Spec
Ledger Events
Sanity Check: OK (25.39s)
✓ Sanity Check passed 1 test.
Treasury Growth: FAIL (70.22s)
✗ Treasury Growth failed at test/cardano-testnet-test/Cardano/Testnet/Test/Gov/TreasuryGrowth.hs:35:37
after 1 test.
shrink path: 1:
forAll0 =
All 0 attempts failed
forAll3 =
Started logging epoch states to: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/logs/ledger-epoch-state.log
forAll4 =
/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/./socket/pool1/sock
forAll5 =
━━━━ File: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/current-stake-pools.json ━━━━
[
"pool1yhgk3vmxglekf9024v6etvjk8clffpj050892r7wffqesdxaf74",
"pool1trr4p808ljcpf5kkgczcjnvnkm7nhhzp8f545hw47h2a5rqwa2l",
"pool1l9e3zhl5hssvn7hqyp7a563m9znx3px0dh7q2g6zt7lz5t877p3"
]
forAll6 =
Reading file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/current-stake-pools.json
forAll7 =
━━━━ command ━━━━
/nix/store/4q8nvcdcbqf3lnapfmbnzq3rkay4jrn0-cardano-cli-exe-cardano-cli-8.23.1.0/bin/cardano-cli query stake-pools --out-file /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/current-stake-pools.json
forAll8 =
/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/current-stake-pools.json
forAll9 =
TxHash TxIx Amount
--------------------------------------------------------------------------------------
0362886ae399d86bb1e925a1abae69cafd64d327dbf35db87bfa2c1cbf98ee8b 0 300000000000 lovelace + TxOutDatumNone
forAll10 =
━━━━ command ━━━━
/nix/store/4q8nvcdcbqf3lnapfmbnzq3rkay4jrn0-cardano-cli-exe-cardano-cli-8.23.1.0/bin/cardano-cli query utxo --address addr_test1vqz2y45twegtn2xt05mtsvjjf43vk69yj4duelxlzt9jhkczle95x --cardano-mode
forAll11 =
━━━━ File: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo3/utxo.vkey ━━━━
{
"type": "GenesisUTxOVerificationKey_ed25519",
"description": "Genesis Initial UTxO Verification Key",
"cborHex": "582042a47700e32f8116eb98bab203156534a81cfe7f577d851528e92487c54b1f48"
}
forAll12 =
Reading file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo3/utxo.vkey
forAll13 =
━━━━ File: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo3/utxo.skey ━━━━
{
"type": "GenesisUTxOSigningKey_ed25519",
"description": "Genesis Initial UTxO Signing Key",
"cborHex": "58203fe545e85138d886ac3caa1cbde4b3c20d574ae2a2ecf0727e40729eea314058"
}
forAll14 =
Reading file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo3/utxo.skey
forAll15 =
TxHash TxIx Amount
--------------------------------------------------------------------------------------
955bb23521549a5048ec64e6932fd2f9417f94cb812193c7cbca3ed750f53370 0 300000000000 lovelace + TxOutDatumNone
forAll16 =
━━━━ command ━━━━
/nix/store/4q8nvcdcbqf3lnapfmbnzq3rkay4jrn0-cardano-cli-exe-cardano-cli-8.23.1.0/bin/cardano-cli query utxo --address addr_test1vqw9uaus3ma4t3sn9jwqyfa7z43s0kgqjr9erzlaqfjrauce5sr3s --cardano-mode
forAll17 =
━━━━ File: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo2/utxo.vkey ━━━━
{
"type": "GenesisUTxOVerificationKey_ed25519",
"description": "Genesis Initial UTxO Verification Key",
"cborHex": "58207c448ebb6fe82a985f634b87f5ec77f892a4c4825d0a994e668b9a3b39a9565a"
}
forAll18 =
Reading file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo2/utxo.vkey
forAll19 =
━━━━ File: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo2/utxo.skey ━━━━
{
"type": "GenesisUTxOSigningKey_ed25519",
"description": "Genesis Initial UTxO Signing Key",
"cborHex": "5820801f2b67d5cfbdcbafa6ff656a82eb9fe00de92ebe60042dd98cc1c4e072aa84"
}
forAll20 =
Reading file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo2/utxo.skey
forAll21 =
TxHash TxIx Amount
--------------------------------------------------------------------------------------
5791d0b4edf8e5b7ee30bb0f65b417f1ec40c65739f3b3d7f8c6bee4327309ba 0 300000000000 lovelace + TxOutDatumNone
forAll22 =
━━━━ command ━━━━
/nix/store/4q8nvcdcbqf3lnapfmbnzq3rkay4jrn0-cardano-cli-exe-cardano-cli-8.23.1.0/bin/cardano-cli query utxo --address addr_test1vrhedfxy2624ttdql6xmd77ywr3jw0juxsvmq6efd30p8rg4zv59n --cardano-mode
forAll23 =
━━━━ File: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo1/utxo.vkey ━━━━
{
"type": "GenesisUTxOVerificationKey_ed25519",
"description": "Genesis Initial UTxO Verification Key",
"cborHex": "582081567d5fd2ffd11730aa43e92d0e875df3aeabecb2adbad2e3f9a03215ae1ccf"
}
forAll24 =
Reading file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo1/utxo.vkey
forAll25 =
━━━━ File: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo1/utxo.skey ━━━━
{
"type": "GenesisUTxOSigningKey_ed25519",
"description": "Genesis Initial UTxO Signing Key",
"cborHex": "5820ffd4a49df293b8413daa6d0dfaa09747264d2b2df2ecceb83f1c2c8db0a905b3"
}
forAll26 =
Reading file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo1/utxo.skey
forAll27 =
━━━━ File: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo3/utxo.vkey ━━━━
{
"type": "GenesisUTxOVerificationKey_ed25519",
"description": "Genesis Initial UTxO Verification Key",
"cborHex": "582042a47700e32f8116eb98bab203156534a81cfe7f577d851528e92487c54b1f48"
}
forAll28 =
Reading file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo3/utxo.vkey
forAll29 =
━━━━ File: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo3/utxo.skey ━━━━
{
"type": "GenesisUTxOSigningKey_ed25519",
"description": "Genesis Initial UTxO Signing Key",
"cborHex": "58203fe545e85138d886ac3caa1cbde4b3c20d574ae2a2ecf0727e40729eea314058"
}
forAll30 =
Reading file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo3/utxo.skey
forAll31 =
━━━━ File: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo2/utxo.vkey ━━━━
{
"type": "GenesisUTxOVerificationKey_ed25519",
"description": "Genesis Initial UTxO Verification Key",
"cborHex": "58207c448ebb6fe82a985f634b87f5ec77f892a4c4825d0a994e668b9a3b39a9565a"
}
forAll32 =
Reading file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo2/utxo.vkey
forAll33 =
━━━━ File: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo2/utxo.skey ━━━━
{
"type": "GenesisUTxOSigningKey_ed25519",
"description": "Genesis Initial UTxO Signing Key",
"cborHex": "5820801f2b67d5cfbdcbafa6ff656a82eb9fe00de92ebe60042dd98cc1c4e072aa84"
}
forAll34 =
Reading file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo2/utxo.skey
forAll35 =
━━━━ File: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo1/utxo.vkey ━━━━
{
"type": "GenesisUTxOVerificationKey_ed25519",
"description": "Genesis Initial UTxO Verification Key",
"cborHex": "582081567d5fd2ffd11730aa43e92d0e875df3aeabecb2adbad2e3f9a03215ae1ccf"
}
forAll36 =
Reading file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo1/utxo.vkey
forAll37 =
━━━━ File: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo1/utxo.skey ━━━━
{
"type": "GenesisUTxOSigningKey_ed25519",
"description": "Genesis Initial UTxO Signing Key",
"cborHex": "5820ffd4a49df293b8413daa6d0dfaa09747264d2b2df2ecceb83f1c2c8db0a905b3"
}
forAll38 =
Reading file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo1/utxo.skey
forAll39 =
2024-05-30 03:26:38.054488825 UTC
forAll40 =
2024-05-30 03:27:21.048538854 UTC
forAll41 =
2024-05-30 03:26:36.048538854 UTC
forAll42 =
Node name: pool3
forAll43 =
Node name: pool2
forAll44 =
Node name: pool1
forAll45 =
Writing file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool3/topology.json
forAll46 =
Writing file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool2/topology.json
forAll47 =
Writing file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool1/topology.json
forAll48 =
Writing file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool3/port
forAll49 =
Renaming from "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/byron-gen-command/delegation-cert.002.json" to "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool3/byron-delegation.cert"
forAll50 =
Renaming from "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/byron-gen-command/delegate-keys.002.key" to "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool3/byron-delegate.key"
forAll51 =
Writing file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool2/port
forAll52 =
Renaming from "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/byron-gen-command/delegation-cert.001.json" to "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool2/byron-delegation.cert"
forAll53 =
Renaming from "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/byron-gen-command/delegate-keys.001.key" to "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool2/byron-delegate.key"
forAll54 =
Writing file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool1/port
forAll55 =
Renaming from "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/byron-gen-command/delegation-cert.000.json" to "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool1/byron-delegation.cert"
forAll56 =
Renaming from "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/byron-gen-command/delegate-keys.000.key" to "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool1/byron-delegate.key"
forAll57 =
Reading file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo3/utxo.addr
forAll58 =
━━━━ command ━━━━
/nix/store/4q8nvcdcbqf3lnapfmbnzq3rkay4jrn0-cardano-cli-exe-cardano-cli-8.23.1.0/bin/cardano-cli address build --payment-verification-key-file /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo3/utxo.vkey --testnet-magic 42 --out-file /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo3/utxo.addr
forAll59 =
Reading file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo2/utxo.addr
forAll60 =
━━━━ command ━━━━
/nix/store/4q8nvcdcbqf3lnapfmbnzq3rkay4jrn0-cardano-cli-exe-cardano-cli-8.23.1.0/bin/cardano-cli address build --payment-verification-key-file /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo2/utxo.vkey --testnet-magic 42 --out-file /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo2/utxo.addr
forAll61 =
Reading file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo1/utxo.addr
forAll62 =
━━━━ command ━━━━
/nix/store/4q8nvcdcbqf3lnapfmbnzq3rkay4jrn0-cardano-cli-exe-cardano-cli-8.23.1.0/bin/cardano-cli address build --payment-verification-key-file /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo1/utxo.vkey --testnet-magic 42 --out-file /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/utxo-keys/utxo1/utxo.addr
forAll63 =
[PoolNodeKeys {poolNodeKeysCold = KeyPair {verificationKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool1/cold.vkey", signingKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool1/cold.skey"}, poolNodeKeysVrf = KeyPair {verificationKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool1/vrf.vkey", signingKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool1/vrf.skey"}, poolNodeKeysStaking = KeyPair {verificationKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool1/staking-reward.vkey", signingKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool1/staking-reward.skey"}},PoolNodeKeys {poolNodeKeysCold = KeyPair {verificationKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool2/cold.vkey", signingKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool2/cold.skey"}, poolNodeKeysVrf = KeyPair {verificationKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool2/vrf.vkey", signingKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool2/vrf.skey"}, poolNodeKeysStaking = KeyPair {verificationKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool2/staking-reward.vkey", signingKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool2/staking-reward.skey"}},PoolNodeKeys {poolNodeKeysCold = KeyPair {verificationKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool3/cold.vkey", signingKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool3/cold.skey"}, poolNodeKeysVrf = KeyPair {verificationKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool3/vrf.vkey", signingKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool3/vrf.skey"}, poolNodeKeysStaking = KeyPair {verificationKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool3/staking-reward.vkey", signingKey = "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool3/staking-reward.skey"}}]
forAll64 =
Renaming from "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/byron-gen-command/genesis.json" to "/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/byron/genesis.json"
forAll65 =
genesis.alonzo.spec.json
forAll66 =
byron-gen-command
forAll67 =
genesis.conway.spec.json
forAll68 =
shelley-genesis.json
forAll69 =
conway-genesis.json
forAll70 =
byron.genesis.spec.json
forAll71 =
alonzo-genesis.json
forAll72 =
stake-delegators
forAll73 =
delegate-keys
forAll74 =
drep-keys
forAll75 =
module
forAll76 =
utxo-keys
forAll77 =
genesis-keys
forAll78 =
pools-keys
forAll79 =
byron
forAll80 =
Listing directory: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/
forAll81 =
Creating directory if missing: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/byron
forAll82 =
━━━━ command ━━━━
/nix/store/4q8nvcdcbqf3lnapfmbnzq3rkay4jrn0-cardano-cli-exe-cardano-cli-8.23.1.0/bin/cardano-cli babbage genesis create-testnet-data --spec-shelley /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/genesis-input.shelley.json --spec-alonzo /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/genesis-input.alonzo.json --spec-conway /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/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-30T03:26:36Z --out-dir /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/
forAll83 =
Number of seeded UTxO keys: 3
forAll84 =
Number of stake delegators: 3
forAll85 =
Number of pools: 3
forAll86 =
Writing file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/genesis-input.shelley.json
forAll87 =
Reading file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/genesis-input.shelley.json
forAll88 =
Rewriting JSON file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/genesis-input.shelley.json
forAll89 =
Creating directory if missing: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6
forAll90 =
"/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/configuration.yaml"
forAll91 =
"/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/genesis.conway.spec.json"
forAll92 =
"/tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/genesis.alonzo.spec.json"
forAll93 =
━━━━ command ━━━━
/nix/store/4q8nvcdcbqf3lnapfmbnzq3rkay4jrn0-cardano-cli-exe-cardano-cli-8.23.1.0/bin/cardano-cli byron genesis genesis --protocol-magic 42 --start-time 1717039596 --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 /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/byron.genesis.spec.json --genesis-output-dir /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/byron-gen-command
forAll94 =
Writing file: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/byron.genesis.spec.json
forAll95 =
linux
forAll96 =
2024-05-30 03:26:36.422926852 UTC
forAll97 =
2024-05-30 03:26:21.422926852 UTC
forAll100 =
Retry attempt 0 of 0
┏━━ test/cardano-testnet-test/Cardano/Testnet/Test/Gov/TreasuryGrowth.hs ━━━
34 ┃ prop_check_if_treasury_is_growing :: H.Property
35 ┃ prop_check_if_treasury_is_growing = integrationRetryWorkspace 0 "growing-treasury" $ \tempAbsBasePath' -> runWithDefaultWatchdog_ $ do
┃ │ Workspace: /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6
┃ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┃ │ ━━━ Exception (IOException) ━━━
┃ │ /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/pools-keys/pool1/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'
┃ │ /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6
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 <- Api.File <$> do
50 ┃ socketPath' <- H.sprocketArgumentName <$> H.headM (poolSprockets runtime)
51 ┃ H.noteIO (IO.canonicalizePath $ tempAbsPath' </> socketPath')
┃ │ /tmp/tmp.OwKjPZotYT/growing-treasury-0-test-112fcd0cf62a9da6/socket/pool1/sock
52 ┃
53 ┃ (_condition, treasuryValues) <- H.leftFailM . H.evalIO . runExceptT $
54 ┃ Api.foldEpochState configurationFile 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,1663999999),(EpochNo 3,3313578665),(EpochNo 4,5195989015),(EpochNo 5,7054492754)]
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 10911747935936340337 10299092669201506555) "1:" Treasury Growth
Use "--pattern '$NF ~ /Treasury Growth/' --hedgehog-replay '1: Seed 10911747935936340337 10299092669201506555'" to reproduce from the command-line.
Use -p '/Treasury Growth/' to rerun this test only.
Governance
Committee Add New: OK (56.51s)
✓ Committee Add New passed 1 test.
Committee Motion Of No Confidence: OK (36.26s)
✓ Committee Motion Of No Confidence passed 1 test.
DRep Deposits: OK (24.29s)
✓ DRep Deposits passed 1 test.
DRep Retirement: OK (17.52s)
✓ DRep Retirement passed 1 test.
Propose And Ratify New Constitution: OK (35.27s)
✓ Propose And Ratify New Constitution passed 1 test.
Propose New Constitution SPO: OK (20.11s)
✓ Propose New Constitution SPO passed 1 test.
Treasury Withdrawal: OK (54.39s)
✓ Treasury Withdrawal passed 1 test.
Plutus
PlutusV3: OK (28.11s)
✓ PlutusV3 passed 1 test.
CLI
Shutdown: OK (12.07s)
✓ Shutdown passed 1 test.
Shutdown On Sigint: OK (17.01s)
✓ Shutdown On Sigint passed 1 test.
Babbage
leadership-schedule: OK (208.75s)
✓ leadership-schedule passed 1 test.
stake-snapshot: OK (165.09s)
✓ stake-snapshot passed 1 test.
transaction: OK (20.32s)
✓ transaction passed 1 test.
kes-period-info: OK (168.09s)
✓ kes-period-info passed 1 test.
query-slot-number: OK (19.91s)
✓ query-slot-number passed 1 test.
foldEpochState receives ledger state: OK (31.95s)
✓ foldEpochState receives ledger state passed 1 test.
CliQueries: OK (17.96s)
✓ CliQueries passed 1 test.
SubmitApi
Babbage
transaction: OK (22.15s)
✓ transaction passed 1 test.
1 out of 20 tests failed (1051.39s)
Loading