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 roundtrip test functions skipping comparison with FlatTerm-decoded #4866

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Add roundtrip test functions skipping comparison with FlatTerm-decoded

cd09cde
Select commit
Loading
Failed to load commit list.
Draft

Add roundtrip test functions skipping comparison with FlatTerm-decoded #4866

Add roundtrip test functions skipping comparison with FlatTerm-decoded
cd09cde
Select commit
Loading
Failed to load commit list.
Garnix CI / check cardano-ledger-mary:test:tests [x86_64-linux] failed Feb 1, 2025 in 25m 20s

Run results

Build failed

Details

Last 100 lines of logs:



warning: ignoring untrusted flake configuration setting 'allow-import-from-derivation'.
Pass '--accept-flake-config' to trust it
warning: ignoring untrusted flake configuration setting 'extra-substituters'.
Pass '--accept-flake-config' to trust it
warning: ignoring untrusted flake configuration setting 'extra-trusted-public-keys'.
Pass '--accept-flake-config' to trust it
trace: evaluation warning: Explicitly set the ABI version of 'webkitgtk'
these 21 derivations will be built:
  /nix/store/8mmdmpk3271qka8i21781r7xkzzcryp1-cardano-data-lib-cardano-data-1.2.4.0.drv
  /nix/store/vxzhk4dyd4fs8qc965bmkr27bmis81pr-cardano-ledger-binary-lib-testlib-1.6.0.0.drv
  /nix/store/aairaxws9862s9djsj42mrjzm8l80xb1-cardano-data-lib-testlib-1.2.4.0.drv
  /nix/store/r0gs4x50zj2ry8qvxn685q4npcb7jh2n-cardano-crypto-wrapper-lib-cardano-crypto-wrapper-1.6.0.0.drv
  /nix/store/nyr2j5p21drz8bbk0387209i0ihc6b97-cardano-ledger-byron-lib-cardano-ledger-byron-1.1.0.0.drv
  /nix/store/bl0cd2l8x93shw9chrhx3arrc3mlhrrp-cardano-ledger-core-lib-cardano-ledger-core-1.17.0.0.drv
  /nix/store/xfgachxqjhn5gydn8adhzhf5fsmrdgip-set-algebra-lib-set-algebra-1.1.0.3.drv
  /nix/store/qxrzvl5xblg408k6wa7bgxz3pdidhkbj-cardano-ledger-shelley-lib-cardano-ledger-shelley-1.16.0.0.drv
  /nix/store/v0r4zsfjyaxwyhmwmm3785nm27sa012p-cardano-ledger-allegra-lib-cardano-ledger-allegra-1.7.0.0.drv
  /nix/store/hpy6b3hmcwl5a2isffn1bwlm612ln80a-cardano-ledger-mary-lib-cardano-ledger-mary-1.8.0.0.drv
  /nix/store/67qjmam0zap414fg8if7nqvgdgr5ffv1-cardano-crypto-test-lib-cardano-crypto-test-1.6.0.0.drv
  /nix/store/jqqqdpdcpmkbazj4avrwih5r53w2pl8l-small-steps-lib-testlib-1.1.0.1.drv
  /nix/store/3m27d6q039yxwcyaprw8jxdj90rdxbrj-byron-spec-ledger-lib-byron-spec-ledger-1.1.0.0.drv
  /nix/store/g95y5wgr81cq3vlanxvjn5srzj0sf931-byron-spec-chain-lib-byron-spec-chain-1.0.1.0.drv
  /nix/store/f01h0y4r089gf2aiw9byagndbkb1qp1n-cardano-ledger-byron-test-lib-cardano-ledger-byron-test-1.5.2.1.drv
  /nix/store/j76ihrkfb6afdv07pshzjfz90p54hm9b-cardano-ledger-core-lib-testlib-1.17.0.0.drv
  /nix/store/ylprzc4c4p87lwlsfs1g0s260g7fcay3-cardano-ledger-shelley-lib-testlib-1.16.0.0.drv
  /nix/store/qq1as75449na51fs0r78xg1lk8m34g5g-cardano-ledger-allegra-lib-testlib-1.7.0.0.drv
  /nix/store/xghq4smvsm7v0a29v1vv01rgdmrlp3r0-cardano-ledger-mary-lib-testlib-1.8.0.0.drv
  /nix/store/6wndij61jiammdzsd2lylcf9r5gj27wl-cardano-ledger-mary-test-tests-1.8.0.0.drv
  /nix/store/34r4vkaxgnwxx0ldbjlgmjb65dgicavb-cardano-ledger-mary-test-tests-1.8.0.0-check.drv
these 21 derivations will be built:
  /nix/store/8mmdmpk3271qka8i21781r7xkzzcryp1-cardano-data-lib-cardano-data-1.2.4.0.drv
  /nix/store/vxzhk4dyd4fs8qc965bmkr27bmis81pr-cardano-ledger-binary-lib-testlib-1.6.0.0.drv
  /nix/store/aairaxws9862s9djsj42mrjzm8l80xb1-cardano-data-lib-testlib-1.2.4.0.drv
  /nix/store/r0gs4x50zj2ry8qvxn685q4npcb7jh2n-cardano-crypto-wrapper-lib-cardano-crypto-wrapper-1.6.0.0.drv
  /nix/store/nyr2j5p21drz8bbk0387209i0ihc6b97-cardano-ledger-byron-lib-cardano-ledger-byron-1.1.0.0.drv
  /nix/store/bl0cd2l8x93shw9chrhx3arrc3mlhrrp-cardano-ledger-core-lib-cardano-ledger-core-1.17.0.0.drv
  /nix/store/xfgachxqjhn5gydn8adhzhf5fsmrdgip-set-algebra-lib-set-algebra-1.1.0.3.drv
  /nix/store/qxrzvl5xblg408k6wa7bgxz3pdidhkbj-cardano-ledger-shelley-lib-cardano-ledger-shelley-1.16.0.0.drv
  /nix/store/v0r4zsfjyaxwyhmwmm3785nm27sa012p-cardano-ledger-allegra-lib-cardano-ledger-allegra-1.7.0.0.drv
  /nix/store/hpy6b3hmcwl5a2isffn1bwlm612ln80a-cardano-ledger-mary-lib-cardano-ledger-mary-1.8.0.0.drv
  /nix/store/67qjmam0zap414fg8if7nqvgdgr5ffv1-cardano-crypto-test-lib-cardano-crypto-test-1.6.0.0.drv
  /nix/store/jqqqdpdcpmkbazj4avrwih5r53w2pl8l-small-steps-lib-testlib-1.1.0.1.drv
  /nix/store/3m27d6q039yxwcyaprw8jxdj90rdxbrj-byron-spec-ledger-lib-byron-spec-ledger-1.1.0.0.drv
  /nix/store/g95y5wgr81cq3vlanxvjn5srzj0sf931-byron-spec-chain-lib-byron-spec-chain-1.0.1.0.drv
  /nix/store/f01h0y4r089gf2aiw9byagndbkb1qp1n-cardano-ledger-byron-test-lib-cardano-ledger-byron-test-1.5.2.1.drv
  /nix/store/j76ihrkfb6afdv07pshzjfz90p54hm9b-cardano-ledger-core-lib-testlib-1.17.0.0.drv
  /nix/store/ylprzc4c4p87lwlsfs1g0s260g7fcay3-cardano-ledger-shelley-lib-testlib-1.16.0.0.drv
  /nix/store/qq1as75449na51fs0r78xg1lk8m34g5g-cardano-ledger-allegra-lib-testlib-1.7.0.0.drv
  /nix/store/xghq4smvsm7v0a29v1vv01rgdmrlp3r0-cardano-ledger-mary-lib-testlib-1.8.0.0.drv
  /nix/store/6wndij61jiammdzsd2lylcf9r5gj27wl-cardano-ledger-mary-test-tests-1.8.0.0.drv
  /nix/store/34r4vkaxgnwxx0ldbjlgmjb65dgicavb-cardano-ledger-mary-test-tests-1.8.0.0-check.drv
cardano-ledger-mary-test-tests-1.8.0.0> Running phase: unpackPhase
cardano-ledger-mary-test-tests-1.8.0.0> unpacking source archive /nix/store/clkwimdj2pqfgjs05fxgdmq29zswrs1w-source-eras-mary-impl-test-tests-root
cardano-ledger-mary-test-tests-1.8.0.0> source root is source-eras-mary-impl-test-tests-root
cardano-ledger-mary-test-tests-1.8.0.0> Running phase: patchPhase
cardano-ledger-mary-test-tests-1.8.0.0> Running phase: updateAutotoolsGnuConfigScriptsPhase
cardano-ledger-mary-test-tests-1.8.0.0> Running phase: configurePhase
cardano-ledger-mary-test-tests-1.8.0.0> Configure flags:
cardano-ledger-mary-test-tests-1.8.0.0> --prefix=/nix/store/7ixnsxr6pi6qfv6sfk00aamfvyrgfc1j-cardano-ledger-mary-test-tests-1.8.0.0 test:tests --package-db=clear --package-db=/build/tmp.QfEVn8wbUu/lib/ghc-9.6.6/lib/package.conf.d --flags=asserts --exact-configuration --dependency=base16-bytestring=base16-bytestring-1.0.2.0-7dLjEOJDdBNFW2UWv9zpg8 --dependency=cardano-data=cardano-data-1.2.4.0-58fjeRUYXVpJOnvDwdJse4 --dependency=aeson=aeson-2.2.3.0-F3qOsWBbraEIrCWD3hgory --dependency=OneTuple=OneTuple-0.4.2-7od06fXUUXRBNk1V3VY0g5 --dependency=QuickCheck=QuickCheck-2.15.0.1-1aTRwiOFM77JrJe2XC8Z9B --dependency=random=random-1.2.1.3-HtLkfgWS4A9Ll…
cardano-ledger-mary-test-tests-1.8.0.0> Configuring test suite 'tests' for cardano-ledger-mary-1.8.0.0..
cardano-ledger-mary-test-tests-1.8.0.0> Warning: 'hs-source-dirs: huddle-cddl' specifies a directory which does not
cardano-ledger-mary-test-tests-1.8.0.0> exist.
cardano-ledger-mary-test-tests-1.8.0.0> Warning: 'hs-source-dirs: src' specifies a directory which does not exist.
cardano-ledger-mary-test-tests-1.8.0.0> Running phase: buildPhase
cardano-ledger-mary-test-tests-1.8.0.0> Preprocessing test suite 'tests' for cardano-ledger-mary-1.8.0.0..
cardano-ledger-mary-test-tests-1.8.0.0> Building test suite 'tests' for cardano-ledger-mary-1.8.0.0..
cardano-ledger-mary-test-tests-1.8.0.0> [1 of 4] Compiling Test.Cardano.Ledger.Mary.Binary.CddlSpec ( test/Test/Cardano/Ledger/Mary/Binary/CddlSpec.hs, dist/build/tests/tests-tmp/Test/Cardano/Ledger/Mary/Binary/CddlSpec.o )
cardano-ledger-mary-test-tests-1.8.0.0> [2 of 4] Compiling Test.Cardano.Ledger.Mary.BinarySpec ( test/Test/Cardano/Ledger/Mary/BinarySpec.hs, dist/build/tests/tests-tmp/Test/Cardano/Ledger/Mary/BinarySpec.o )
cardano-ledger-mary-test-tests-1.8.0.0> [3 of 4] Compiling Test.Cardano.Ledger.Mary.ValueSpec ( test/Test/Cardano/Ledger/Mary/ValueSpec.hs, dist/build/tests/tests-tmp/Test/Cardano/Ledger/Mary/ValueSpec.o )
cardano-ledger-mary-test-tests-1.8.0.0> 
cardano-ledger-mary-test-tests-1.8.0.0> test/Test/Cardano/Ledger/Mary/ValueSpec.hs:51:82: error: [GHC-83865]
cardano-ledger-mary-test-tests-1.8.0.0>     • Couldn't match expected type ‘cardano-ledger-binary-1.6.0.0:Cardano.Ledger.Binary.Version.Version’
cardano-ledger-mary-test-tests-1.8.0.0>                   with actual type ‘Coin’
cardano-ledger-mary-test-tests-1.8.0.0>     • In the third argument of ‘roundTripCborRangeExpectation’, namely
cardano-ledger-mary-test-tests-1.8.0.0>         ‘(Coin i)’
cardano-ledger-mary-test-tests-1.8.0.0>       In the expression:
cardano-ledger-mary-test-tests-1.8.0.0>         roundTripCborRangeExpectation minBound (natVersion @8) (Coin i)
cardano-ledger-mary-test-tests-1.8.0.0>       In the second argument of ‘($)’, namely
cardano-ledger-mary-test-tests-1.8.0.0>         ‘\ (Negative i)
cardano-ledger-mary-test-tests-1.8.0.0>            -> roundTripCborRangeExpectation minBound (natVersion @8) (Coin i)’
cardano-ledger-mary-test-tests-1.8.0.0>    |
cardano-ledger-mary-test-tests-1.8.0.0> 51 |         \(Negative i) -> roundTripCborRangeExpectation minBound (natVersion @8) (Coin i)
cardano-ledger-mary-test-tests-1.8.0.0>    |                                                                                  ^^^^^^
error: build of '/nix/store/6wndij61jiammdzsd2lylcf9r5gj27wl-cardano-ledger-mary-test-tests-1.8.0.0.drv' on 'ssh-ng://nix-ssh@garnix5' failed: builder for '/nix/store/6wndij61jiammdzsd2lylcf9r5gj27wl-cardano-ledger-mary-test-tests-1.8.0.0.drv' failed with exit code 1;
       last 10 log lines:
       >     • In the third argument of ‘roundTripCborRangeExpectation’, namely
       >         ‘(Coin i)’
       >       In the expression:
       >         roundTripCborRangeExpectation minBound (natVersion @8) (Coin i)
       >       In the second argument of ‘($)’, namely
       >         ‘\ (Negative i)
       >            -> roundTripCborRangeExpectation minBound (natVersion @8) (Coin i)’
       >    |
       > 51 |         \(Negative i) -> roundTripCborRangeExpectation minBound (natVersion @8) (Coin i)
       >    |                                                                                  ^^^^^^
       For full logs, run 'nix log /nix/store/6wndij61jiammdzsd2lylcf9r5gj27wl-cardano-ledger-mary-test-tests-1.8.0.0.drv'.
error: builder for '/nix/store/6wndij61jiammdzsd2lylcf9r5gj27wl-cardano-ledger-mary-test-tests-1.8.0.0.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/34r4vkaxgnwxx0ldbjlgmjb65dgicavb-cardano-ledger-mary-test-tests-1.8.0.0-check.drv' failed to build