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 ghc8107:cardano-ledger-alonzo-test:test:cardano-ledger-alonzo-test [x86_64-linux] succeeded Feb 1, 2025 in 38m 46s

Run results

Build succeeded

Details

Last 100 lines of logs:

https://cache.nixos.org/4667f5wi17j1vz6alqfabwvch168kprc.narinfo
https://cache.garnix.io/4667f5wi17j1vz6alqfabwvch168kprc.narinfo
Running phase: unpackPhase
@nix {"action":"setPhase","phase":"unpackPhase"}
unpacking source archive /nix/store/bhkfknvv6wvyw9jyvdmn6sz6bfm02ck7-source-eras-alonzo-test-suite-test-cardano-ledger-alonzo-test-root
source root is source-eras-alonzo-test-suite-test-cardano-ledger-alonzo-test-root
Running phase: patchPhase
@nix {"action":"setPhase","phase":"patchPhase"}
Running phase: buildPhase
@nix {"action":"setPhase","phase":"buildPhase"}
/nix/store/c9j0kmycr1d36w98gqbm465p2s5phxs3-cardano-ledger-alonzo-test-test-cardano-ledger-alonzo-test-1.3.1.0/bin:
patching script interpreter paths in /build/tmp.Qubn98pjuw/bin
Alonzo tests
  total amount of Ada is preserved (Chain):                       OK (439.70s)
    +++ OK, passed 50 tests; 31 discarded.
  Alonzo CBOR round-trip
    Test skipped:                                                 OK
      +++ OK, passed 100 tests.
    Test skipped:                                                 OK
      +++ OK, passed 100 tests.
    Test skipped:                                                 OK
      +++ OK, passed 100 tests.
    Test skipped:                                                 OK
      +++ OK, passed 100 tests.
    alonzo/AlonzoUtxowPredFailure:                                OK (0.03s)
      +++ OK, passed 100 tests.
    alonzo/AlonzoUtxoPredFailure:                                 OK (0.45s)
      +++ OK, passed 100 tests.
    alonzo/AlonzoUtxosPredFailure:                                OK (0.11s)
      +++ OK, passed 100 tests.
    alonzo/Block:                                                 OK (30.82s)
      +++ OK, passed 100 tests.
  Translation
    encoded mary types can be decoded as alonzo types
      decoding auxilliary:                                        OK
        +++ OK, passed 100 tests.
      decoding txbody:                                            OK (0.48s)
        +++ OK, passed 100 tests; 65 discarded.
      decoding witnesses:                                         OK (0.21s)
        +++ OK, passed 100 tests.
  LangDepView encoding is canonical:                              OK (3.66s)
    +++ OK, passed 100 tests.
  Alonzo Golden Tests
    golden tests - CBOR serialization
      Alonzo Block:                                               OK
      Alonzo Tx:                                                  OK
    golden tests - JSON serialization
      ValidityInterval:                                           OK
      IsValid:                                                    OK
      FailureDescription:                                         OK
      TagMismatchDescription:                                     OK
    golden tests - minimum fee calculation
      Alonzo Block:                                               OK
    golden tests - script integrity hash
      PlutusV1:                                                   OK (0.03s)
      PlutusV2:                                                   OK
    golden tests - Alonzo Genesis serialization
      JSON deserialization:                                       OK (0.08s)
    golden tests - UTxOEntryMinAda
      one policy, one (smallest) name, yes datum hash:            OK
      one policy, one (smallest) name, no datum hash:             OK
      one policy, one (small) name:                               OK
      one policy, three (small) names:                            OK
      one policy, one (largest) name:                             OK
      one policy, three (largest) name, with hash:                OK
      two policies, one (smallest) name:                          OK
      two policies, one (smallest) name, with hash:               OK
      two policies, two (small) names:                            OK
      three policies, ninety-six (small) names:                   OK
      utxo entry size of ada-only:                                OK
  txInfo translation
    Plutus V1
      silently ignore byron txout:                                OK
      silently ignore byron txin:                                 OK
    transVITime
      validity interval's upper bound is close when protocol < 9: OK
      validity interval's upper bound is open when protocol >= 9: OK

All 38 tests passed (475.63s)
buildPhase completed in 7 minutes 56 seconds