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

Nix | workbench | Hydra CI: new profile ci-test-hydra captures more potential failures #5880

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ ps: ## Plain-text list of profiles
##
PROFILES_BASE := default default-p2p plutus plutus-secp-ecdsa plutus-secp-schnorr oldtracing idle tracer-only
PROFILES_FAST := fast fast-solo fast-p2p fast-plutus fast-notracer fast-oldtracing faststartup-24M
PROFILES_CI_TEST := ci-test ci-test-p2p ci-test-plutus ci-test-notracer ci-test-rtview ci-test-dense10
PROFILES_CI_TEST := ci-test ci-test-p2p ci-test-plutus ci-test-notracer ci-test-rtview ci-test-dense10 ci-test-hydra
PROFILES_CI_BENCH := ci-bench ci-bench-p2p ci-bench-plutus ci-bench-plutus-secp-ecdsa ci-bench-plutus-secp-schnorr ci-bench-notracer ci-bench-rtview ci-bench-lmdb ci-bench-drep
PROFILES_CI_BENCH += ci-bench-plutusv3-blst ci-bench-plutus24
PROFILES_TRACE_BENCH := trace-bench trace-bench-notracer trace-bench-oldtracing trace-bench-rtview
Expand Down
7 changes: 4 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,12 @@

## This is a very light profile, no caching&pinning needed.
workbench-ci-test =
workbenchTest { profileName = "ci-test-bage";
workbenchTest { profileName = "ci-test-hydra-bage";
workbenchStartArgs = [ "--create-testnet-data" ];
};
workbench-ci-test-trace =
workbenchTest { profileName = "ci-test-bage";
workbenchStartArgs = [ "--trace" ];
workbenchTest { profileName = "ci-test-hydra-bage";
workbenchStartArgs = [ "--create-testnet-data" "--trace" ];
};

inherit (pkgs) all-profiles-json;
Expand Down
4 changes: 4 additions & 0 deletions nix/workbench/profile/prof1-variants.jq
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,10 @@ def all_profile_variants:
{ name: "ci-test-nomadperf-nop2p"
, desc: "ci-test on P&T exclusive cluster with P2P disabled"
}
, $citest_base * $plutus_base * $plutus_loop_counter * $costmodel_v8_preview * $p2p *
{ name: "ci-test-hydra"
, desc: "ci-test variant intended for Hydra CI"
}

## CI variants: bench duration, 15 blocks
, $cibench_base *
Expand Down
1 change: 1 addition & 0 deletions nix/workbench/wb
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ start() {
--verbose | -v ) export verbose=t;;
--trace | --debug ) set -x;;
--trace-wb | --trace-workbench ) export WB_EXTRA_FLAGS=--trace;;
--create-testnet-data ) export WB_CREATE_TESTNET_DATA=1;;

--help ) usage_start
exit 1;;
Expand Down
Loading