Skip to content

Use cardano-config and adopt db-synthesizer - #6628

Draft
jasagredo wants to merge 4 commits into
f-f/prepare-11.1from
js/cardano-config-db-synth
Draft

Use cardano-config and adopt db-synthesizer#6628
jasagredo wants to merge 4 commits into
f-f/prepare-11.1from
js/cardano-config-db-synth

Update to newer LSM options format

7baf712
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/eval:aarch64-linux.native.checks/nixosTests/cardanoOciReadonly.x86_64-linux failed Jul 24, 2026 in 10s

Evaluation failed

Checkout took 5s.
Evaluation took 9 min 1s.

Details

Evaluation error:

error:
       … from call site
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/attrsets.nix:1349:61:
         1348|   */
         1349|   genAttrs = names: f: genAttrs' names (n: nameValuePair n (f n));
             |                                                             ^
         1350|

       … while calling anonymous lambda
         at /nix/store/lmb4l79j5qlnk8kgfqcjz5a9janbb79x-source/nix/nixos/tests/default.nix:23:39:
           22|   # syncing but can still ensure services start and listen as expected.
           23|   callTest = fn: args: forAllSystems (system: hydraJob (importTest fn args system));
             |                                       ^
           24| in {

       … from call site
         at /nix/store/lmb4l79j5qlnk8kgfqcjz5a9janbb79x-source/nix/nixos/tests/default.nix:23:47:
           22|   # syncing but can still ensure services start and listen as expected.
           23|   callTest = fn: args: forAllSystems (system: hydraJob (importTest fn args system));
             |                                               ^
           24| in {

       … while calling 'hydraJob'
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/customisation.nix:455:5:
          454|   hydraJob =
          455|     drv:
             |     ^
          456|     let

       … while calling the 'deepSeq' builtin
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/customisation.nix:488:35:
          487|     in
          488|     if drv == null then null else deepSeq drv' drv';
             |                                   ^
          489|

       … while evaluating the attribute 'outPath'
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/customisation.nix:477:13:
          476|           value = commonAttrs // {
          477|             outPath = output.outPath;
             |             ^
          478|             drvPath = output.drvPath;

       … while evaluating the attribute 'outPath'
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/customisation.nix:410:13:
          409|               drv.${outputName}.drvPath;
          410|             outPath =
             |             ^
          411|               assert condition;

       … while calling the 'getAttr' builtin
         at «nix-internal»/derivation-internal.nix:50:17:
           49|     value = commonAttrs // {
           50|       outPath = builtins.getAttr outputName strict;
             |                 ^
           51|       drvPath = strict.drvPath;

       … while calling the 'derivationStrict' builtin
         at «nix-internal»/derivation-internal.nix:37:12:
           36|
           37|   strict = derivationStrict drvAttrs;
             |            ^
           38|

       … while evaluating derivation 'vm-test-run-cardano-oci-readonly-test'
         whose name attribute is located at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/pkgs/stdenv/generic/make-derivation.nix:539:13

       … while evaluating attribute 'buildCommand' of derivation 'vm-test-run-cardano-oci-readonly-test'
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/nixos/lib/testing/run.nix:107:9:
          106|
          107|         buildCommand = ''
             |         ^
          108|           mkdir -p $out

       … while calling the 'getAttr' builtin
         at «nix-internal»/derivation-internal.nix:50:17:
           49|     value = commonAttrs // {
           50|       outPath = builtins.getAttr outputName strict;
             |                 ^
           51|       drvPath = strict.drvPath;

       … while calling the 'derivationStrict' builtin
         at «nix-internal»/derivation-internal.nix:37:12:
           36|
           37|   strict = derivationStrict drvAttrs;
             |            ^
           38|

       … while evaluating derivation 'nixos-test-driver-cardano-oci-readonly-test'
         whose name attribute is located at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/pkgs/stdenv/generic/make-derivation.nix:539:13

       … while evaluating attribute 'testScript' of derivation 'nixos-test-driver-cardano-oci-readonly-test'
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/nixos/lib/testing/driver.nix:55:9:
           54|         buildInputs = [ testDriver ];
           55|         testScript = config.testScriptString;
             |         ^
           56|         preferLocalBuild = true;

       … from call site
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/nixos/lib/testing/driver.nix:55:22:
           54|         buildInputs = [ testDriver ];
           55|         testScript = config.testScriptString;
             |                      ^
           56|         preferLocalBuild = true;

       … while calling anonymous lambda
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/attrsets.nix:1193:17:
         1192|         mapAttrs (
         1193|           name: value:
             |                 ^
         1194|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value

       … from call site
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/attrsets.nix:1194:85:
         1193|           name: value:
         1194|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
             |                                                                                     ^
         1195|         );

       … while calling anonymous lambda
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:275:71:
          274|           # For definitions that have an associated option
          275|           declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;
             |                                                                       ^
          276|

       … while evaluating the attribute 'value'
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:1118:7:
         1117|     // {
         1118|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |       ^
         1119|       inherit (res.defsFinal') highestPrio;

       … while evaluating the option `testScriptString':

       … while evaluating the attribute 'mergedValue'
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:1166:5:
         1165|     # Type-check the remaining definitions, and merge them. Or throw if no definitions.
         1166|     mergedValue =
             |     ^
         1167|       if isDefined then

       … while evaluating a branch condition
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:1167:7:
         1166|     mergedValue =
         1167|       if isDefined then
             |       ^
         1168|         if type.merge ? v2 then

       … while evaluating the attribute 'values'
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:1160:9:
         1159|       {
         1160|         values = defsSorted;
             |         ^
         1161|         inherit (defsFiltered) highestPrio;

       … while evaluating a branch condition
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:1154:11:
         1153|           # Avoid sorting if we don't have to.
         1154|           if any (def: def.value._type or "" == "order") defsFiltered.values then
             |           ^
         1155|             sortProperties defsFiltered.values

       … while calling the 'any' builtin
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:1154:14:
         1153|           # Avoid sorting if we don't have to.
         1154|           if any (def: def.value._type or "" == "order") defsFiltered.values then
             |              ^
         1155|             sortProperties defsFiltered.values

       … while evaluating the attribute 'values'
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:1331:7:
         1330|     {
         1331|       values = concatMap (def: if getPrio def == highestPrio then [ (strip def) ] else [ ]) defs;
             |       ^
         1332|       inherit highestPrio;

       … while calling the 'concatMap' builtin
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:1331:16:
         1330|     {
         1331|       values = concatMap (def: if getPrio def == highestPrio then [ (strip def) ] else [ ]) defs;
             |                ^
         1332|       inherit highestPrio;

       … while calling the 'concatMap' builtin
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:1134:26:
         1133|         # Process mkMerge and mkIf properties.
         1134|         defsNormalized = concatMap (
             |                          ^
         1135|           m:

       … while calling anonymous lambda
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:1135:11:
         1134|         defsNormalized = concatMap (
         1135|           m:
             |           ^
         1136|           map (

       … while calling the 'map' builtin
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:1136:11:
         1135|           m:
         1136|           map (
             |           ^
         1137|             value:

       … while evaluating definitions from `/nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/nixos/lib/testing/testScript.nix':

       … from call site
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:1145:80:
         1144|               }
         1145|           ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |                                                                                ^
         1146|         ) defs;

       … while calling 'dischargeProperties'
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:1282:5:
         1281|   dischargeProperties =
         1282|     def:
             |     ^
         1283|     if def._type or "" == "merge" then

       … while evaluating a branch condition
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:1283:5:
         1282|     def:
         1283|     if def._type or "" == "merge" then
             |     ^
         1284|       concatMap dischargeProperties def.contents

       … while evaluating the attribute 'value'
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:805:21:
          804|             inherit (module) file;
          805|             inherit value;
             |                     ^
          806|           }) module.config

       … while evaluating a branch condition
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/nixos/lib/testing/testScript.nix:47:7:
           46|     testScriptString =
           47|       if lib.isFunction config.testScript then
             |       ^
           48|         config.testScript {

       … from call site
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/nixos/lib/testing/testScript.nix:47:10:
           46|     testScriptString =
           47|       if lib.isFunction config.testScript then
             |          ^
           48|         config.testScript {

       … while calling 'isFunction'
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/trivial.nix:1043:16:
         1042|   */
         1043|   isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f));
             |                ^
         1044|

       … in the left operand of the OR (||) operator
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/trivial.nix:1043:41:
         1042|   */
         1043|   isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f));
             |                                         ^
         1044|

       … while calling the 'isFunction' builtin
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/trivial.nix:1043:19:
         1042|   */
         1043|   isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f));
             |                   ^
         1044|

       … from call site
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/nixos/lib/testing/testScript.nix:47:25:
           46|     testScriptString =
           47|       if lib.isFunction config.testScript then
             |                         ^
           48|         config.testScript {

       … while calling anonymous lambda
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/attrsets.nix:1193:17:
         1192|         mapAttrs (
         1193|           name: value:
             |                 ^
         1194|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value

       … from call site
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/attrsets.nix:1194:85:
         1193|           name: value:
         1194|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
             |                                                                                     ^
         1195|         );

       … while calling anonymous lambda
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:275:71:
          274|           # For definitions that have an associated option
          275|           declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;
             |                                                                       ^
          276|

       … while evaluating the attribute 'value'
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/lib/modules.nix:1118:7:
         1117|     // {
         1118|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |       ^
         1119|       inherit (res.defsFinal') highestPrio;

       … while evaluating the option `testScript':

       (10 duplicate frames omitted)

       … while evaluating definitions from `makeTest parameters':

       (6 duplicate frames omitted)

       … while evaluating derivation 'docker-image-cardano-node.tar.gz'
         whose name attribute is located at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/pkgs/stdenv/generic/make-derivation.nix:539:13

       … while evaluating attribute 'buildCommand' of derivation 'docker-image-cardano-node.tar.gz'
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/pkgs/build-support/trivial-builders/default.nix:80:17:
           79|         enableParallelBuilding = true;
           80|         inherit buildCommand name;
             |                 ^
           81|         passAsFile = [ "buildCommand" ] ++ (derivationArgs.passAsFile or [ ]);

       … while calling the 'getAttr' builtin
         at «nix-internal»/derivation-internal.nix:50:17:
           49|     value = commonAttrs // {
           50|       outPath = builtins.getAttr outputName strict;
             |                 ^
           51|       drvPath = strict.drvPath;

       … while calling the 'derivationStrict' builtin
         at «nix-internal»/derivation-internal.nix:37:12:
           36|
           37|   strict = derivationStrict drvAttrs;
             |            ^
           38|

       … while evaluating derivation 'docker-layer-cardano-node'
         whose name attribute is located at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/pkgs/stdenv/generic/make-derivation.nix:539:13

       … while evaluating attribute 'extraCommands' of derivation 'docker-layer-cardano-node'
         at /nix/store/lsdw9m87nam4syiycx607yjf1b8v9zir-source/pkgs/build-support/docker/default.nix:438:26:
          437|       {
          438|         inherit baseJson extraCommands;
             |                          ^
          439|         contents = copyToRoot;

       … while evaluating the attribute 'db-synthesizer'
         at /nix/store/lmb4l79j5qlnk8kgfqcjz5a9janbb79x-source/flake.nix:138:69:
          137|           inherit (dmq-node.components.exes) dmq-node;
          138|           inherit (ouroboros-consensus.components.exes) db-analyser db-synthesizer db-truncater snapshot-converter;
             |                                                                     ^
          139|           inherit (kes-agent.components.exes) kes-agent kes-agent-control;

       error: attribute 'db-synthesizer' missing
       at /nix/store/lmb4l79j5qlnk8kgfqcjz5a9janbb79x-source/flake.nix:138:69:
          137|           inherit (dmq-node.components.exes) dmq-node;
          138|           inherit (ouroboros-consensus.components.exes) db-analyser db-synthesizer db-truncater snapshot-converter;
             |                                                                     ^
          139|           inherit (kes-agent.components.exes) kes-agent kes-agent-control;