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.required failed Dec 12, 2024 in 24s

Build dependency failed

1 failed steps

Details

Failed Steps

Step 15

Derivation

/nix/store/51qi2m5z4hr7xpnqxyc42b6hhc51rllh-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/0mkjynj7y4bq6wpvh720szn1493p4dsx-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.VtbroVGbcF/bin
━━━ Test.Cardano.Node.FilePermissons ━━━
  ✓ prop_createVRFFileWithOwnerPermissions passed 100 tests.
  ✓ prop_sanityCheck_checkVRFFilePermissions passed 100 tests.
    VRF File has one other permission    36% ███████▏············
    VRF File has two other permissions   37% ███████▍············
    VRF File has three other permissions 27% █████▍··············
    VRF File has one group permission    26% █████▏··············
    VRF File has two group permissions   31% ██████▏·············
    VRF File has three group permissions 43% ████████▌···········
  ✓ 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
    49 ┃       base        <- resolveDir subDir
    50 ┃       goldenFp    <- H.note $ base </> goldenFileBaseName
    51 ┃       actualValue <- liftIO $ checkNodeTraceConfiguration goldenFp
    52 ┃       actualValue H.=== expectedOutcome
       ┃       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       ┃       │ ━━━ Exception (ParseException) ━━━
       ┃       │ Aeson exception:
       ┃       │ Error in $: key "TraceOptions" not found
    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 3332417533669775767 945504578383846295) "1:" mainnet-config.json
  
  ✓ goodConfig.yaml passed 1 test.
  ✓ badConfig.yaml passed 1 test.
  ✗ 1 failed, 2 succeeded.