chore: fix some typos in comment #6053
Closed
This check has been archived and is scheduled for deletion.
Learn more about checks retention
IOG Hydra / ci/hydra-build:x86_64-darwin.nonrequired
failed
Dec 10, 2024 in 10m 36s
Build dependency failed
1 failed steps
Details
Failed Steps
Step 10
Derivation
/nix/store/ybcckng5zf3sxyb0dvqbiqvkaqxdb67p-cardano-testnet-test-cardano-testnet-test-10.0.0-check.drv
Log
unpacking sources
unpacking source archive /nix/store/5w205y60x3hc2ymwrl4nd4f4dhmsbfwx-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/c9vk93czk94q7s01a4amjijc175490vq-cardano-testnet-test-cardano-testnet-test-10.0.0/bin:
patching script interpreter paths in /tmp/tmp.0KhMAjjcpX/tmp.ykjUfP6J32/bin
test/Spec.hs
Spec
Ledger Events
Sanity Check: OK (627.80s)
✓ Sanity Check passed 1 test.
Governance
Committee Add New: IGNORED on MacOS and Windows
IGNORED on MacOS and Windows
DRep Deposits: OK (25.01s)
✓ DRep Deposits passed 1 test.
DRep Retirement: OK (39.24s)
✓ DRep Retirement passed 1 test.
Propose And Ratify New Constitution: IGNORED on MacOS and Windows
IGNORED on MacOS and Windows
Gov Action Timeout: OK (157.42s)
✓ Gov Action Timeout passed 1 test.
Treasury Donation: OK (106.44s)
✓ Treasury Donation passed 1 test.
Treasury Withdrawal: IGNORED on MacOS and Windows
IGNORED on MacOS and Windows
PParam change fails for SPO: OK (23.50s)
✓ PParam change fails for SPO passed 1 test.
InfoAction: OK (96.55s)
✓ InfoAction passed 1 test.
Plutus
PlutusV3: FAIL (302.04s)
✗ PlutusV3 failed at src/Testnet/Start/Cardano.hs:356:5
after 1 test.
shrink path: 1:
forAll0 =
Cardano node process did not start - address already in use:
cardano-node: DiffusionError Network.Socket.bind: resource busy (Address already in use)
forAll1 =
Waiting for port 56452 to be available before starting node
forAll2 =
Node name: node3
forAll3 =
Waiting for port 56451 to be available before starting node
forAll4 =
Node name: node2
forAll5 =
Waiting for port 56449 to be available before starting node
forAll6 =
Exceeded timeout when retrying node start
forAll7 =
Retrying on 'address in use' error, timeout: -1.046713s
forAll8 =
Waiting for port 56449 to be available before starting node
forAll9 =
Node name: node1
forAll10 =
Writing file: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/node-data/node3/topology.json
forAll11 =
Writing file: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/node-data/node2/topology.json
forAll12 =
Writing file: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/node-data/node1/topology.json
forAll13 =
Writing file: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/node-data/node3/port
forAll14 =
Writing file: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/node-data/node2/port
forAll15 =
Renaming from "/private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/byron-gen-command/delegation-cert.000.json" to "/private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/pools-keys/pool1/byron-delegation.cert"
forAll16 =
Renaming from "/private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/byron-gen-command/delegate-keys.000.key" to "/private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/pools-keys/pool1/byron-delegate.key"
forAll17 =
Writing file: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/node-data/node1/port
forAll18 =
Reading file: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/utxo-keys/utxo3/utxo.addr
forAll19 =
━━━━ command ━━━━
/nix/store/gwnh687vx4i0zl1yfglmf8894n0ffgvr-cardano-cli-exe-cardano-cli-10.1.1.0/bin/cardano-cli latest address build --payment-verification-key-file /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/utxo-keys/utxo3/utxo.vkey --testnet-magic 42 --out-file /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/utxo-keys/utxo3/utxo.addr
forAll20 =
Reading file: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/utxo-keys/utxo2/utxo.addr
forAll21 =
━━━━ command ━━━━
/nix/store/gwnh687vx4i0zl1yfglmf8894n0ffgvr-cardano-cli-exe-cardano-cli-10.1.1.0/bin/cardano-cli latest address build --payment-verification-key-file /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/utxo-keys/utxo2/utxo.vkey --testnet-magic 42 --out-file /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/utxo-keys/utxo2/utxo.addr
forAll22 =
Reading file: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/utxo-keys/utxo1/utxo.addr
forAll23 =
━━━━ command ━━━━
/nix/store/gwnh687vx4i0zl1yfglmf8894n0ffgvr-cardano-cli-exe-cardano-cli-10.1.1.0/bin/cardano-cli latest address build --payment-verification-key-file /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/utxo-keys/utxo1/utxo.vkey --testnet-magic 42 --out-file /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/utxo-keys/utxo1/utxo.addr
forAll24 =
Renaming from "/private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/byron-gen-command/genesis.json" to "/private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/byron/genesis.json"
forAll25 =
byron-gen-command
forAll26 =
pools-keys
forAll27 =
genesis.alonzo.spec.json
forAll28 =
utxo-keys
forAll29 =
stake-delegators
forAll30 =
byron
forAll31 =
work
forAll32 =
conway-genesis.json
forAll33 =
byron.genesis.spec.json
forAll34 =
shelley-genesis.json
forAll35 =
module
forAll36 =
drep-keys
forAll37 =
genesis-keys
forAll38 =
delegate-keys
forAll39 =
alonzo-genesis.json
forAll40 =
genesis.conway.spec.json
forAll41 =
Listing directory: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/
forAll42 =
Creating directory if missing: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/byron
forAll43 =
━━━━ command ━━━━
/nix/store/gwnh687vx4i0zl1yfglmf8894n0ffgvr-cardano-cli-exe-cardano-cli-10.1.1.0/bin/cardano-cli conway genesis create-testnet-data --spec-shelley /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/genesis-input.shelley.json --spec-alonzo /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/genesis-input.alonzo.json --spec-conway /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/genesis-input.conway.json --testnet-magic 42 --pools 1 --total-supply 100000020000000 --stake-delegators 3 --utxo-keys 3 --drep-keys 3 --start-time 2024-12-10T07:16:48Z --out-dir /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/
forAll44 =
Number of seeded UTxO keys: 3
forAll45 =
Number of stake delegators: 1
forAll46 =
Number of pools: 1
forAll47 =
Writing file: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/genesis-input.shelley.json
forAll48 =
Reading file: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/genesis-input.shelley.json
forAll49 =
Rewriting JSON file: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/genesis-input.shelley.json
forAll50 =
Creating directory if missing: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996
forAll51 =
"/private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/configuration.yaml"
forAll52 =
"/private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/genesis.conway.spec.json"
forAll53 =
"/private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/genesis.alonzo.spec.json"
forAll54 =
━━━━ command ━━━━
/nix/store/gwnh687vx4i0zl1yfglmf8894n0ffgvr-cardano-cli-exe-cardano-cli-10.1.1.0/bin/cardano-cli byron genesis genesis --protocol-magic 42 --start-time 1733815008 --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.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/byron.genesis.spec.json --genesis-output-dir /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/byron-gen-command
forAll55 =
Writing file: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/byron.genesis.spec.json
forAll56 =
darwin
forAll57 =
2024-12-10 07:16:48.103912 UTC
forAll58 =
2024-12-10 07:16:33.103912 UTC
┏━━ test/cardano-testnet-test/Cardano/Testnet/Test/Cli/Conway/Plutus.hs ━━━
48 ┃ hprop_plutus_v3 :: Property
49 ┃ hprop_plutus_v3 = integrationWorkspace "all-plutus-script-purposes" $ \tempAbsBasePath' -> H.runWithDefaultWatchdog_ $ do
┃ │ Workspace: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996
50 ┃ H.note_ SYS.os
┃ │ darwin
51 ┃ conf@Conf { tempAbsPath } <- mkConf tempAbsBasePath'
┃ │ /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996
52 ┃ let tempAbsPath' = unTmpAbsPath tempAbsPath
53 ┃ work <- H.createDirectoryIfMissing $ tempAbsPath' </> "work"
┃ │ Creating directory if missing: /private/tmp/tmp.0KhMAjjcpX/all-plutus-script-purposes-test-44b3e75d3c959996/work
54 ┃
55 ┃ let
56 ┃ tempBaseAbsPath = makeTmpBaseAbsPath $ TmpAbsolutePath tempAbsPath'
57 ┃ ceo = ConwayEraOnwardsConway
58 ┃ sbe = conwayEraOnwardsToShelleyBasedEra ceo
59 ┃ era = toCardanoEra sbe
60 ┃ anyEra = AnyCardanoEra era
61 ┃ options = def { cardanoNodeEra = AnyShelleyBasedEra sbe }
62 ┃
63 ┃ TestnetRuntime
64 ┃ { configurationFile
65 ┃ , testnetMagic
66 ┃ , testnetNodes
67 ┃ , wallets=wallet0:wallet1:_
68 ┃ } <- cardanoTestnetDefault options def conf
69 ┃
70 ┃ node <- H.headM testnetNodes
71 ┃ poolSprocket1 <- H.noteShow $ nodeSprocket node
72 ┃ execConfig <- mkExecConfig tempBaseAbsPath poolSprocket1 testnetMagic
73 ┃ H.noteShow_ wallet0
74 ┃ let utxoAddr = Text.unpack $ paymentKeyInfoAddr wallet0
75 ┃ utxoSKeyFile = signingKeyFp $ paymentKeyInfoPair wallet0
76 ┃ utxoSKeyFile2 = signingKeyFp $ paymentKeyInfoPair wallet1
77 ┃ socketPath = nodeSocketPath node
78 ┃
79 ┃ epochStateView <- getEpochStateView configurationFile socketPath
80 ┃ txin1 <- findLargestUtxoForPaymentKey epochStateView sbe wallet0
81 ┃
82 ┃ plutusScript <- H.note $ work </> "always-succeeds-script.plutusV3"
83 ┃ H.writeFile plutusScript $ Text.unpack plutusV3SupplementalDatumScript
84 ┃
85 ┃ let sendAdaToScriptAddressTxBody = work </> "send-ada-to-script-address-tx-body"
86 ┃
87 ┃ plutusSpendingScriptAddr <-
88 ┃ execCli' execConfig
89 ┃ [ "latest", "address", "build"
90 ┃ , "--payment-script-file", plutusScript
91 ┃ ]
92 ┃
93 ┃ mintingPolicyId <- filter (/= '\n') <$>
94 ┃ execCli' execConfig
95 ┃ [ anyEraToString anyEra, "transaction"
96 ┃ , "policyid"
97 ┃ , "--script-file", plutusScript
98 ┃ ]
99 ┃ let assetName = "4D696C6C6172436F696E"
100 ┃ H.note_ $ "plutusSpendingScriptAddr: " <> plutusSpendingScriptAddr
101 ┃
102 ┃ scriptdatumhash <- filter (/= '\n') <$>
103 ┃ execCli' execConfig
104 ┃ [ "latest", "transaction", "hash-script-data"
105 ┃ , "--script-data-value", "0"
106 ┃ ]
107 ┃
108 ┃ supplementalDatumJsonFile
109 ┃ <- H.note $ work </> "supplemental-datum.json"
110 ┃ H.writeFile supplementalDatumJsonFile "{\"int\":1}"
111 ┃
112 ┃ scriptStakeRegistrationCertificate
113 ┃ <- H.note $ work </> "script-stake-registration-certificate"
114 ┃
115 ┃ keyDeposit <- fromIntegral . L.unCoin <$> getKeyDeposit epochStateView ceo
116 ┃ -- Create script stake registration certificate
117 ┃ createScriptStakeRegistrationCertificate
118 ┃ tempAbsPath
119 ┃ anyEra
120 ┃ plutusScript
121 ┃ keyDeposit
122 ┃ scriptStakeRegistrationCertificate
123 ┃
124 ┃ -- 1. Put UTxO and datum at Plutus spending script address
125 ┃ -- Register script stake address
126 ┃ void $ execCli' execConfig
127 ┃ [ anyEraToString anyEra, "transaction", "build"
128 ┃ , "--change-address", Text.unpack $ paymentKeyInfoAddr wallet0
129 ┃ , "--tx-in", Text.unpack $ renderTxIn txin1
130 ┃ , "--tx-out", plutusSpendingScriptAddr <> "+" <> show @Int 5_000_000
131 ┃ , "--tx-out-datum-hash", scriptdatumhash
132 ┃ , "--out-file", sendAdaToScriptAddressTxBody
133 ┃ ]
134 ┃
135 ┃ let sendAdaToScriptAddressTx = work </> "send-ada-to-script-address-tx"
136 ┃ void $ execCli' execConfig
137 ┃ [ "latest", "transaction", "sign"
138 ┃ , "--tx-body-file", sendAdaToScriptAddressTxBody
139 ┃ , "--signing-key-file", utxoSKeyFile
140 ┃ , "--out-file", sendAdaToScriptAddressTx
141 ┃ ]
142 ┃
143 ┃ void $ execCli' execConfig
144 ┃ [ "latest", "transaction", "submit"
145 ┃ , "--tx-file", sendAdaToScriptAddressTx
146 ┃ ]
147 ┃
148 ┃ -- 2. Successfully spend conway spending script
149 ┃ txinCollateral <- findLargestUtxoForPaymentKey epochStateView sbe wallet1
150 ┃ plutusScriptTxIn <- fmap fst . retryUntilJustM epochStateView (WaitForBlocks 3) $
151 ┃ findLargestUtxoWithAddress epochStateView sbe $ Text.pack plutusSpendingScriptAddr
152 ┃
153 ┃ let spendScriptUTxOTxBody = work </> "spend-script-utxo-tx-body"
154 ┃ spendScriptUTxOTx = work </> "spend-script-utxo-tx"
155 ┃ mintValue = mconcat ["5 ", mintingPolicyId, ".", assetName]
156 ┃ txout = mconcat [ utxoAddr, "+", show @Int 2_000_000
157 ┃ , "+", mintValue
158 ┃ ]
159 ┃ txoutWithSupplementalDatum = mconcat [utxoAddr, "+", show @Int 1_000_000]
160 ┃
161 ┃ void $ execCli' execConfig
162 ┃ [ anyEraToString anyEra, "transaction", "build"
163 ┃ , "--change-address", Text.unpack $ paymentKeyInfoAddr wallet1
164 ┃ , "--tx-in-collateral", Text.unpack $ renderTxIn txinCollateral
165 ┃ , "--tx-in", Text.unpack $ renderTxIn plutusScriptTxIn
166 ┃ , "--tx-in-script-file", plutusScript
167 ┃ , "--tx-in-datum-value", "0"
168 ┃ , "--tx-in-redeemer-value", "0"
169 ┃ , "--mint", mintValue
170 ┃ , "--mint-script-file", plutusScript
171 ┃ , "--mint-redeemer-value", "0"
172 ┃ , "--certificate-file", scriptStakeRegistrationCertificate
173 ┃ , "--certificate-script-file", plutusScript
174 ┃ , "--certificate-redeemer-value", "0"
175 ┃ , "--tx-out", txout
176 ┃ , "--tx-out", txoutWithSupplementalDatum
177 ┃ , "--tx-out-datum-embed-file", supplementalDatumJsonFile
178 ┃ , "--out-file", spendScriptUTxOTxBody
179 ┃ ]
180 ┃
181 ┃ void $ execCli' execConfig
182 ┃ [ "latest", "transaction", "sign"
183 ┃ , "--tx-body-file", spendScriptUTxOTxBody
184 ┃ , "--signing-key-file", utxoSKeyFile2
185 ┃ , "--out-file", spendScriptUTxOTx
186 ┃ ]
187 ┃
188 ┃ void $ execCli' execConfig
189 ┃ [ "latest", "transaction", "submit"
190 ┃ , "--tx-file", spendScriptUTxOTx
191 ┃ ]
192 ┃
193 ┃ H.success
This failure can be reproduced by running:
> recheckAt (Seed 4181471503140695873 2549298299695413409) "1:" PlutusV3
Use "--pattern '$NF ~ /PlutusV3/' --hedgehog-replay '1: Seed 4181471503140695873 2549298299695413409'" to reproduce from the command-line.
Use -p '/PlutusV3/' to rerun this test only.
CLI
Shutdown: OK (12.61s)
✓ Shutdown passed 1 test.
Shutdown On Sigint: IGNORED on MacOS and Windows
IGNORED on MacOS and Windows
Shutdown On SlotSynced: OK (32.88s)
✓ Shutdown On SlotSynced passed 1 test.
stake snapshot: OK (167.27s)
✓ stake snapshot passed 1 test.
simple transaction build: OK (22.91s)
✓ simple transaction build passed 1 test.
register deregister stake address in transaction build: OK (22.98s)
✓ register deregister stake address in transaction build passed 1 test.
kes-period-info: OK (167.67s)
✓ kes-period-info passed 1 test.
query-slot-number: OK (17.73s)
✓ query-slot-number passed 1 test.
foldEpochState receives ledger state: OK (35.82s)
✓ foldEpochState receives ledger state passed 1 test.
CliQueries: IGNORED on MacOS and Windows
IGNORED on MacOS and Windows
SubmitApi
transaction: IGNORED on MacOS and Windows
IGNORED on MacOS and Windows
1 out of 22 tests failed (627.83s)
Loading