Created
January 28, 2021 12:09
-
-
Save rlobillo/83cb86abaa2ea78135d8618b3836d883 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
export KUBECONFIG=~/ostest/auth/kubeconfig | |
cd ~ | |
IFS=$'\n' | |
declare -a TESTS=(`grep -A10000 'Failing tests:' conformance_results/conformance_ocp-tests.log | grep '^\['`) | |
mkdir /home/stack/conformance_results_retest | |
for TEST in ${TESTS[@]}; do | |
./openshift-tests run kubernetes/conformance --dry-run | grep -F $TEST >> /home/stack/conformance_results_retest/tests.txt | |
done | |
./openshift-tests run -f /home/stack/conformance_results_retest/tests.txt --output-file /home/stack/conformance_results_retest/conformance_ocp-tests.log | |
#END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd ~/kubernetes | |
# Set desired list of tests: | |
TESTS=(NetworkPolicy-15 NetworkPolicy-08 NetworkPolicy-11) | |
for TEST in ${TESTS[@]}; do | |
echo "Running $TEST..." | |
mkdir ~/np_results_$TEST | |
kubetest --provider=local --check-version-skew=false --test --ginkgo-parallel=1 \ | |
--test_args="--ginkgo.focus=\[Feature:$TEST --host=https://api.ostest.shiftstack.com:6443" \ | |
--dump=/home/stack/np_results_$TEST > ~/np_results_$TEST/np_kubetest.log | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment