Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add datums and scripts to friendlyTxImpl #977

Merged
merged 4 commits into from
Jan 8, 2025

Move `friendlyScript` and `friendlyDatum` from `cardano-api`

ba67090
Select commit
Loading
Failed to load commit list.
Merged

Add datums and scripts to friendlyTxImpl #977

Move `friendlyScript` and `friendlyDatum` from `cardano-api`
ba67090
Select commit
Loading
Failed to load commit list.
Garnix CI / check ghc965-aarch64-unknown-linux-musl:cardano-cli:test:cardano-cli-golden [x86_64-linux] failed Jan 8, 2025 in 7m 32s

Run results

Build failed

Details

Last 100 lines of logs:

        432 ┃         , transactionFile
        433 ┃         ]
        434 ┃ 
        435 ┃     -- View transaction body
        436 ┃     result <-
        437 ┃       execCardanoCLI
        438 ┃         ["debug", "transaction", "view", "--tx-file", transactionFile, "--output-yaml"]
        439 ┃ 
        440 ┃     H.diffVsGoldenFile result (golden </> "signed-transaction-view.out")
      
        This failure can be reproduced by running:
        > recheckAt (Seed 3401421424879220976 12013768994046291687) "1:" Test.Golden.TxView.hprop_golden_view_alonzo_signed_yaml
      
    Use "--pattern '$NF ~ /golden view alonzo signed yaml/' --hedgehog-replay '1: Seed 3401421424879220976 12013768994046291687'" to reproduce from the command-line.
    
    Use -p '/golden view alonzo signed yaml/' to rerun this test only.
  golden view conway three votes:                                                      FAIL (2.95s)
      ✗ Test.Golden.TxView.hprop_golden_view_conway_three_votes failed at test/cardano-cli-golden/Test/Golden/TxView.hs:451:7
        after 1 test.
        shrink path: 1:
      
            ┏━━ test/cardano-cli-golden/Test/Golden/TxView.hs ━━━
        444 ┃ hprop_golden_view_conway_three_votes :: Property
        445 ┃ hprop_golden_view_conway_three_votes =
        446 ┃   propertyOnce $ do
        447 ┃     let golden = goldenDir </> "conway"
        448 ┃         input = inputDir </> "conway"
        449 ┃ 
        450 ┃     result <-
        451 ┃       execCardanoCLI
            ┃       │ ━━━━ command ━━━━
            ┃       │ /nix/store/7lln30rwgrp93jr3h1v6yvzy26j35f9z-cardano-cli-exe-cardano-cli-aarch64-unknown-linux-musl-10.2.0.0/bin/cardano-cli debug transaction view --tx-file test/cardano-cli-golden/files/input/conway/tx-three-votes.json --output-json
            ┃       ^^^^^^^^^^^^^^
            ┃       │ ━━━ Exception (IOException) ━━━
            ┃       │ /nix/store/7lln30rwgrp93jr3h1v6yvzy26j35f9z-cardano-cli-exe-cardano-cli-aarch64-unknown-linux-musl-10.2.0.0/bin/cardano-cli: readCreateProcessWithExitCode: execvp: invalid argument (Exec format error)
        452 ┃         ["debug", "transaction", "view", "--tx-file", input </> "tx-three-votes.json", "--output-json"]
        453 ┃ 
        454 ┃     H.diffVsGoldenFile result (golden </> "tx-three-votes-view.out.json")
      
        This failure can be reproduced by running:
        > recheckAt (Seed 11777935727431300202 2547212380472699869) "1:" Test.Golden.TxView.hprop_golden_view_conway_three_votes
      
    Use "--pattern '$NF ~ /golden view conway three votes/' --hedgehog-replay '1: Seed 11777935727431300202 2547212380472699869'" to reproduce from the command-line.
    
    Use -p '/golden view conway three votes/' to rerun this test only.
  golden view conway proposal:                                                         FAIL (3.06s)
      ✗ Test.Golden.TxView.hprop_golden_view_conway_proposal failed at test/cardano-cli-golden/Test/Golden/TxView.hs:465:7
        after 1 test.
        shrink path: 1:
      
            ┏━━ test/cardano-cli-golden/Test/Golden/TxView.hs ━━━
        458 ┃ hprop_golden_view_conway_proposal :: Property
        459 ┃ hprop_golden_view_conway_proposal =
        460 ┃   propertyOnce $ do
        461 ┃     let golden = goldenDir </> "conway"
        462 ┃         input = inputDir </> "conway"
        463 ┃ 
        464 ┃     result <-
        465 ┃       execCardanoCLI
            ┃       │ ━━━━ command ━━━━
            ┃       │ /nix/store/7lln30rwgrp93jr3h1v6yvzy26j35f9z-cardano-cli-exe-cardano-cli-aarch64-unknown-linux-musl-10.2.0.0/bin/cardano-cli debug transaction view --tx-file test/cardano-cli-golden/files/input/conway/tx-proposal.json --output-json
            ┃       ^^^^^^^^^^^^^^
            ┃       │ ━━━ Exception (IOException) ━━━
            ┃       │ /nix/store/7lln30rwgrp93jr3h1v6yvzy26j35f9z-cardano-cli-exe-cardano-cli-aarch64-unknown-linux-musl-10.2.0.0/bin/cardano-cli: readCreateProcessWithExitCode: execvp: invalid argument (Exec format error)
        466 ┃         ["debug", "transaction", "view", "--tx-file", input </> "tx-proposal.json", "--output-json"]
        467 ┃ 
        468 ┃     H.diffVsGoldenFile result (golden </> "tx-proposal.out.json")
      
        This failure can be reproduced by running:
        > recheckAt (Seed 9339891545260599233 3635024016139178715) "1:" Test.Golden.TxView.hprop_golden_view_conway_proposal
      
    Use "--pattern '$NF ~ /golden view conway proposal/' --hedgehog-replay '1: Seed 9339891545260599233 3635024016139178715'" to reproduce from the command-line.
    
    Use -p '/golden view conway proposal/' to rerun this test only.
  golden version:                                                                      FAIL (2.72s)
      ✗ Test.Golden.Version.hprop_golden_version failed at test/cardano-cli-golden/Test/Golden/Version.hs:19:5
        after 1 test.
        shrink path: 1:
      
           ┏━━ test/cardano-cli-golden/Test/Golden/Version.hs ━━━
        16 ┃ hprop_golden_version :: Property
        17 ┃ hprop_golden_version = propertyOnce $ do
        18 ┃   void $
        19 ┃     execCardanoCLI
           ┃     │ ━━━━ command ━━━━
           ┃     │ /nix/store/7lln30rwgrp93jr3h1v6yvzy26j35f9z-cardano-cli-exe-cardano-cli-aarch64-unknown-linux-musl-10.2.0.0/bin/cardano-cli version
           ┃     ^^^^^^^^^^^^^^
           ┃     │ ━━━ Exception (IOException) ━━━
           ┃     │ /nix/store/7lln30rwgrp93jr3h1v6yvzy26j35f9z-cardano-cli-exe-cardano-cli-aarch64-unknown-linux-musl-10.2.0.0/bin/cardano-cli: readCreateProcessWithExitCode: execvp: invalid argument (Exec format error)
        20 ┃       [ "version"
        21 ┃       ]
      
        This failure can be reproduced by running:
        > recheckAt (Seed 17799805878971121962 10447874273559807335) "1:" Test.Golden.Version.hprop_golden_version
      
    Use "--pattern '$NF ~ /golden version/' --hedgehog-replay '1: Seed 17799805878971121962 10447874273559807335'" to reproduce from the command-line.
    
    Use -p '/golden version/' to rerun this test only.

164 out of 232 tests failed (12.70s)