Skip to content

WIP: Switch to cardano-config - #6608

Open
jasagredo wants to merge 21 commits into
masterfrom
js/cardano-config
Open

WIP: Switch to cardano-config#6608
jasagredo wants to merge 21 commits into
masterfrom
js/cardano-config

Remove the node's bespoke configuration-file parsing

1aab680
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/hydra-build:aarch64-linux.native."checks/cardano-node-chairman-11.0.0-inplace-chairman-tests/chairman-tests" failed Jun 23, 2026 in 5s

Build failed

1 failed steps

Details

Failed Steps

Step 1

Derivation

/nix/store/bgq8mspq4kn8wpndifz2ybcndvm5dv98-cardano-node-chairman-test-chairman-tests-11.0.0-check.drv

Log

Running phase: unpackPhase
unpacking source archive /nix/store/vq7mypmkrxffj8q9jvn8mj1fcrmnwjzb-source-cardano-node-chairman-test-chairman-tests-root
source root is source-cardano-node-chairman-test-chairman-tests-root
Running phase: patchPhase
Running phase: buildPhase
/nix/store/wfy1x5k1cx5jpmprca71r1vwphpav59y-cardano-node-chairman-test-chairman-tests-11.0.0/bin:
patching script interpreter paths in /tmp/tmp.kive3ZvFIq/tmp.FDKHOar657/bin
test/Spec.hs
  Spec
    Chairman
      Cardano
        chairman:       FAIL (0.86s)
            ✗ chairman failed at src/Testnet/Start/Cardano.hs:480:3
              after 1 test.
              shrink path: 1:
            
              forAll0 =
                All 2 attempts failed
              
              forAll4 =
                Retry attempt 2 of 2
              
              forAll8 =
                Retry attempt 1 of 2
              
              forAll12 =
                Retry attempt 0 of 2
            
                 ┏━━ test/Spec/Chairman/Cardano.hs ━━━
              18 ┃ hprop_chairman :: H.Property
              19 ┃ hprop_chairman = integrationRetryWorkspace 2 "cardano-chairman" $ \tempAbsPath' -> H.runWithDefaultWatchdog_ $ do
                 ┃ │ Workspace: /tmp/tmp.kive3ZvFIq/cardano-chairman-0-test-203ffaba06111a21
                 ┃ │ Test failed, preserving workspace for debugging: /tmp/tmp.kive3ZvFIq/cardano-chairman-0-test-203ffaba06111a21
                 ┃ │ Workspace: /tmp/tmp.kive3ZvFIq/cardano-chairman-1-test-b22a0a4c0251a4d3
                 ┃ │ Test failed, preserving workspace for debugging: /tmp/tmp.kive3ZvFIq/cardano-chairman-1-test-b22a0a4c0251a4d3
                 ┃ │ Workspace: /tmp/tmp.kive3ZvFIq/cardano-chairman-2-test-9691aef63c9b896d
                 ┃ │ Test failed, preserving workspace for debugging: /tmp/tmp.kive3ZvFIq/cardano-chairman-2-test-9691aef63c9b896d
              20 ┃   conf <- mkConf tempAbsPath'
                 ┃   │ /tmp/tmp.kive3ZvFIq/cardano-chairman-0-test-203ffaba06111a21
                 ┃   │ /tmp/tmp.kive3ZvFIq/cardano-chairman-1-test-b22a0a4c0251a4d3
                 ┃   │ /tmp/tmp.kive3ZvFIq/cardano-chairman-2-test-9691aef63c9b896d
              21 ┃ 
              22 ┃   let creationOptions = def{ creationNodes = cardanoDefaultTestnetNodesWithOptions }
              23 ┃   allNodes <- testnetNodes <$> createAndRunTestnet creationOptions def conf
              24 ┃ 
              25 ┃   chairmanOver 120 50 conf allNodes
            
              ━━━ Exception (StringException) ━━━
              UnliftIO.Exception.throwString called with:
              
              ! AnnotatedException !
              Underlying exception type: StringException
              
              UnliftIO.Exception.throwString called with:
              
              Process exited with non-zero exit-code: 1
              ━━━━ stderr ━━━━
              Command failed: genesis create-testnet-data
              Error: Error while decoding ShelleyGenesis at: /tmp/tmp.kive3ZvFIq/cardano-chairman-2-test-9691aef63c9b896d/genesis-input.shelley.json Error: Error in $.extraConfig.initialFunds: InjectionData: No injection was provided. Expected either "file" or "data"
              CallStack (from HasCallStack):
                fromExceptTCli, called at src/Cardano/CLI/EraBased/Genesis/CreateTestnetData/Run.hs:253:23 in cardano-cli-11.1.0.0-Dathtsk8gqaFDfTQwsS6eE:Cardano.CLI.EraBased.Genesis.CreateTestnetData.Run
                runGenesisCreateTestNetDataCmd, called at src/Cardano/CLI/EraBased/Genesis/Run.hs:123:36 in cardano-cli-11.1.0.0-Dathtsk8gqaFDfTQwsS6eE:Cardano.CLI.EraBased.Genesis.Run
                runGenesisCmds, called at src/Cardano/CLI/EraBased/Run.hs:49:5 in cardano-cli-11.1.0.0-Dathtsk8gqaFDfTQwsS6eE:Cardano.CLI.EraBased.Run
                runCmds, called at src/Cardano/CLI/EraBased/Run.hs:35:35 in cardano-cli-11.1.0.0-Dathtsk8gqaFDfTQwsS6eE:Cardano.CLI.EraBased.Run
                runAnyEraCommand, called at src/Cardano/CLI/Run.hs:56:5 in cardano-cli-11.1.0.0-Dathtsk8gqaFDfTQwsS6eE:Cardano.CLI.Run
                runClientCommand, called at app/cardano-cli.hs:58:14 in cardano-cli-11.1.0.0-61yygx3hMyVBAP7e1QLhjT-cardano-cli:Main
              
              
              
              Called from:
                execCli_ (src/Testnet/Components/Configuration.hs:203:3 in cardano-testnet-11.0.0-8R3aL1D8l5xDLuxLeClxeK:Testnet.Components.Configuration)
                createSPOGenesisAndFiles (src/Testnet/Start/Cardano.hs:127:8 in cardano-testnet-11.0.0-8R3aL1D8l5xDLuxLeClxeK:Testnet.Start.Cardano)
                createTestnetEnv (src/Testnet/Start/Cardano.hs:481:6 in cardano-testnet-11.0.0-8R3aL1D8l5xDLuxLeClxeK:Testnet.Start.Cardano)
                createAndRunTestnet (test/Spec/Chairman/Cardano.hs:23:32 in cardano-node-chairman-11.0.0-9V97SNtTDglJK0LHFbdZ6L-chairman-tests:Spec.Chairman.Cardano)
                testCase (src/Hedgehog/Extras/Test/TestWatchdog.hs:166:66 in hedgehog-extras-0.10.1.0-IQcRnD10cpMCI95Cz4NKld:Hedgehog.Extras.Test.TestWatchdog)
                a given constraint (src/Hedgehog/Extras/Test/TestWatchdog.hs:159:26 in hedgehog-extras-0.10.1.0-IQcRnD10cpMCI95Cz4NKld:Hedgehog.Extras.Test.TestWatchdog)
                testCase (src/Hedgehog/Extras/Test/TestWatchdog.hs:144:11 in hedgehog-extras-0.10.1.0-IQcRnD10cpMCI95Cz4NKld:Hedgehog.Extras.Test.TestWatchdog)
                runWithWatchdog (src/Hedgehog/Extras/Test/TestWatchdog.hs:159:26 in hedgehog-extras-0.10.1.0-IQcRnD10cpMCI95Cz4NKld:Hedgehog.Extras.Test.TestWatchdog)
                runWithDefaultWatchdog (src/Hedgehog/Extras/Test/TestWatchdog.hs:166:36 in hedgehog-extras-0.10.1.0-IQcRnD10cpMCI95Cz4NKld:Hedgehog.Extras.Test.TestWatchdog)
                runWithDefaultWatchdog_ (test/Spec/Chairman/Cardano.hs:19:84 in cardano-node-chairman-11.0.0-9V97SNtTDglJK0LHFbdZ6L-chairman-tests:Spec.Chairman.Cardano)
              
              
              CallStack (from HasCallStack):
                execCli_, called at src/Testnet/Components/Configuration.hs:203:3 in cardano-testnet-11.0.0-8R3aL1D8l5xDLuxLeClxeK:Testnet.Components.Configuration
                createSPOGenesisAndFiles, called at src/Testnet/Start/Cardano.hs:127:8 in cardano-testnet-11.0.0-8R3aL1D8l5xDLuxLeClxeK:Testnet.Start.Cardano
                createTestnetEnv, called at src/Testnet/Start/Cardano.hs:481:6 in cardano-testnet-11.0.0-8R3aL1D8l5xDLuxLeClxeK:Testnet.Start.Cardano
                createAndRunTestnet, called at test/Spec/Chairman/Cardano.hs:23:32 in cardano-node-chairman-11.0.0-9V97SNtTDglJK0LHFbdZ6L-chairman-tests:Spec.Chairman.Cardano
                testCase, called at src/Hedgehog/Extras/Test/TestWatchdog.hs:166:66 in hedgehog-extras-0.10.1.0-IQcRnD10cpMCI95Cz4NKld:Hedgehog.Extras.Test.TestWatchdog
                a given constraint, called at src/Hedgehog/Extras/Test/TestWatchdog.hs:159:26 in hedgehog-extras-0.10.1.0-IQcRnD10cpMCI95Cz4NKld:Hedgehog.Extras.Test.TestWatchdog
                testCase, called at src/Hedgehog/Extras/Test/TestWatchdog.hs:144:11 in hedgehog-extras-0.10.1.0-IQcRnD10cpMCI95Cz4NKld:Hedgehog.Extras.Test.TestWatchdog
                runWithWatchdog, called at src/Hedgehog/Extras/Test/TestWatchdog.hs:159:26 in hedgehog-extras-0.10.1.0-IQcRnD10cpMCI95Cz4NKld:Hedgehog.Extras.Test.TestWatchdog
                runWithDefaultWatchdog, called at src/Hedgehog/Extras/Test/TestWatchdog.hs:166:36 in hedgehog-extras-0.10.1.0-IQcRnD10cpMCI95Cz4NKld:Hedgehog.Extras.Test.TestWatchdog
                runWithDefaultWatchdog_, called at test/Spec/Chairman/Cardano.hs:19:84 in cardano-node-chairman-11.0.0-9V97SNtTDglJK0LHFbdZ6L-chairman-tests:Spec.Chairman.Cardano
              Called from:
                liftToIntegration (src/Testnet/Start/Cardano.hs:480:3 in cardano-testnet-11.0.0-8R3aL1D8l5xDLuxLeClxeK:Testnet.Start.Cardano)
                createAndRunTestnet (test/Spec/Chairman/Cardano.hs:23:32 in cardano-node-chairman-11.0.0-9V97SNtTDglJK0LHFbdZ6L-chairman-tests:Spec.Chairman.Cardano)
                testCase (src/Hedgehog/Extras/Test/TestWatchdog.hs:166:66 in hedgehog-extras-0.10.1.0-IQcRnD10cpMCI95Cz4NKld:Hedgehog.Extras.Test.TestWatchdog)
                a given constraint (src/Hedgehog/Extras/Test/TestWatchdog.hs:159:26 in hedgehog-extras-0.10.1.0-IQcRnD10cpMCI95Cz4NKld:Hedgehog.Extras.Test.TestWatchdog)
                testCase (src/Hedgehog/Extras/Test/TestWatchdog.hs:144:11 in hedgehog-extras-0.10.1.0-IQcRnD10cpMCI95Cz4NKld:Hedgehog.Extras.Test.TestWatchdog)
                runWithWatchdog (src/Hedgehog/Extras/Test/TestWatchdog.hs:159:26 in hedgehog-extras-0.10.1.0-IQcRnD10cpMCI95Cz4NKld:Hedgehog.Extras.Test.TestWatchdog)
                runWithDefaultWatchdog (src/Hedgehog/Extras/Test/TestWatchdog.hs:166:36 in hedgehog-extras-0.10.1.0-IQcRnD10cpMCI95Cz4NKld:Hedgehog.Extras.Test.TestWatchdog)
                runWithDefaultWatchdog_ (test/Spec/Chairman/Cardano.hs:19:84 in cardano-node-chairman-11.0.0-9V97SNtTDglJK0LHFbdZ6L-chairman-tests:Spec.Chairman.Cardano)
            
              This failure can be reproduced by running:
              > recheckAt (Seed 8539768115678338715 2966500102380508569) "1:" chairman
            
          Use "--pattern '$NF ~ /chairman/' --hedgehog-replay '1: Seed 8539768115678338715 2966500102380508569'" to reproduce from the command-line.
          
          Use -p '/chairman/' to rerun this test only.
    Network
      isPortOpen False: OK (0.03s)
          ✓ isPortOpen False passed 1 test.
      isPortOpen True:  OK (0.03s)
          ✓ isPortOpen True passed 1 test.

1 out of 3 tests failed (0.87s)