Skip to content

Commit

Permalink
teclo5g: use env vars for reserved and isolated cpus
Browse files Browse the repository at this point in the history
Following openshift/cluster-node-tuning-operator#909, we now can provide the CPU specifications for the performance profile.
Considering the u/s CI runs on BM-node clusters with constant CPU settings (0-111), according to the PPC CPU calculation using must-gather data, we set the result in environment variables indicating reserved and isolated CPUs.

Note: this will need to be maintained should cluster nodes' settings
change.

Signed-off-by: shajmakh <shajmakh@redhat.com>
  • Loading branch information
shajmakh committed Apr 4, 2024
1 parent 515c1a0 commit c909be0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ export TEST_RUN_FEATURES="${TEST_RUN_FEATURES:-$FEATURES}"
export SKIP_TESTS_FILE="${SKIP_TESTS_FILE:-${SHARED_DIR}/telco5g-cnf-tests-skip-list.txt}"
export SCTPTEST_HAS_NON_CNF_WORKERS="${SCTPTEST_HAS_NON_CNF_WORKERS:-false}"
export XT_U32TEST_HAS_NON_CNF_WORKERS="${XT_U32TEST_HAS_NON_CNF_WORKERS:-false}"
export RESERVED_CPU_SET="0,56"
export ISOLATED_CPU_SET="1-55,57-111"

export CNF_REPO="${CNF_REPO:-https://github.com/openshift-kni/cnf-features-deploy.git}"
export CNF_BRANCH="${CNF_BRANCH:-master}"
Expand Down

0 comments on commit c909be0

Please sign in to comment.