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

bench: CI only #5663

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

resolve test input file mainnet-config.json

1c7393e
Select commit
Loading
Failed to load commit list.
Draft

bench: CI only #5663

resolve test input file mainnet-config.json
1c7393e
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/hydra-build:x86_64-darwin.native.variants.ghc96.checks/cardano-node/cardano-node-test failed Dec 12, 2024 in 7s

Build failed

1 failed steps

Details

Failed Steps

Step 1

Derivation

/nix/store/wfjf9swxcwa5dlilrxy8ichb6ajmr431-cardano-node-test-cardano-node-test-10.1.2-check.drv

Log

unpacking sources
unpacking source archive /nix/store/gl0dkgpl57nlji7bny60xsa62ds6vnmr-source-root-cardano-node-test-cardano-node-test-root
source root is source-root-cardano-node-test-cardano-node-test-root
patching sources
building
/nix/store/2k3452vjypp0ii47zz2vmx9f0ksf8vjf-cardano-node-test-cardano-node-test-10.1.2/bin:
patching script interpreter paths in /private/tmp/nix-build-cardano-node-test-cardano-node-test-10.1.2-check.drv-0/tmp.V22aPsPPOT/bin
━━━ Test.Cardano.Node.FilePermissons ━━━
  ✓ prop_createVRFFileWithOwnerPermissions passed 100 tests.
  ✓ prop_sanityCheck_checkVRFFilePermissions passed 100 tests.
    VRF File has one other permission    39% ███████▊············
    VRF File has two other permissions   29% █████▊··············
    VRF File has three other permissions 32% ██████▍·············
    VRF File has one group permission    33% ██████▌·············
    VRF File has two group permissions   41% ████████▏···········
    VRF File has three group permissions 26% █████▏··············
  ✓ 2 succeeded.
━━━ Test.Config.Mainnet ━━━
  ✓ hprop_configMainnetHash passed 1 test.
  ✓ hprop_configMainnetYaml passed 1 test.
  ✓ 2 succeeded.
━━━ Test.Cardano.Node.Json ━━━
  ✓ prop_roundtrip_NodeIPv4Address_JSON passed 100 tests.
  ✓ prop_roundtrip_NodeIPv6Address_JSON passed 100 tests.
  ✓ prop_roundtrip_NodeIPAddress_JSON passed 100 tests.
  ✓ prop_roundtrip_NodeHostAddress_JSON passed 100 tests.
  ✓ prop_roundtrip_NodeSetup_JSON passed 100 tests.
  ✓ prop_roundtrip_NetworkTopology_JSON passed 100 tests.
  ✓ prop_decode_NetworkTopology_JSON passed 100 tests.
  ✓ 7 succeeded.
━━━ Test.Cardano.Node.POM ━━━
  ✓ prop_sanityCheck_POM passed 1 test.
  ✓ 1 succeeded.
━━━ HardForkNodeToClientVersion JSON instances ━━━
  ✓ ntcByronOnly.json passed 1 test.
  ✓ ntc_HFV1_allDisabled.json passed 1 test.
  ✓ ntc_HFV1_ByronV1.json passed 1 test.
  ✓ ntc_HFV1_ByronV1_ShelleyV1.json passed 1 test.
  ✓ ntc_HFV1_ByronV1_ShelleyV6_ConwayV2.json passed 1 test.
  ✓ 5 succeeded.
━━━ Configuration Consistency tests ━━━
  ✗ mainnet-config.json failed at test/Test/Cardano/Tracing/NewTracing/Consistency.hs:48:39
    after 1 test.
    shrink path: 1:
  
       ┏━━ test/Test/Cardano/Tracing/NewTracing/Consistency.hs ━━━
    46 ┃ goldenTestJSON :: [Text] -> SubdirSelection -> FilePath -> Property
    47 ┃ goldenTestJSON expectedOutcome subDir goldenFileBaseName =
    48 ┃     H.withTests 1 $ H.withShrinks 0 $ H.property $ do
       ┃     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       ┃     │ ━━━ Exception (ParseException) ━━━
       ┃     │ Aeson exception:
       ┃     │ Error in $: key "TraceOptions" not found
    49 ┃       base        <- resolveDir subDir
    50 ┃       goldenFp    <- H.note $ base </> goldenFileBaseName
    51 ┃       actualValue <- liftIO $ checkNodeTraceConfiguration goldenFp
    52 ┃       actualValue H.=== expectedOutcome
    53 ┃   where
    54 ┃       resolveDir (ExternalSubdir d) = do
    55 ┃         base <- H.evalIO . IO.canonicalizePath =<< H.getProjectBase
    56 ┃         pure $ base </> d
    57 ┃       resolveDir (InternalSubdir d) =
    58 ┃         pure d
  
    This failure can be reproduced by running:
    > recheckAt (Seed 13417778140122582803 17058152817269665391) "1:" mainnet-config.json
  
  ✓ goodConfig.yaml passed 1 test.
  ✓ badConfig.yaml passed 1 test.
  ✗ 1 failed, 2 succeeded.