From: Sage Weil Date: Mon, 27 Nov 2017 16:24:47 +0000 (-0600) Subject: qa/workunits/rados/test-upgrade-11.0.0-noec.yaml: skip ec tests X-Git-Tag: v10.2.11~182^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F19176%2Fhead;p=ceph.git qa/workunits/rados/test-upgrade-11.0.0-noec.yaml: skip ec tests This is needed for jewel-x point to point upgrade because earlier point releases can't handle our ec profiles with ruleset-* (later ones can) and the test races with the mon upgrades. Signed-off-by: Sage Weil --- diff --git a/qa/workunits/rados/test-upgrade-v11.0.0-noec.sh b/qa/workunits/rados/test-upgrade-v11.0.0-noec.sh new file mode 100755 index 000000000000..42e2e116deba --- /dev/null +++ b/qa/workunits/rados/test-upgrade-v11.0.0-noec.sh @@ -0,0 +1,53 @@ +#!/bin/bash -ex + +parallel=1 +[ "$1" = "--serial" ] && parallel=0 + +color="" +[ -t 1 ] && color="--gtest_color=yes" + +function cleanup() { + pkill -P $$ || true +} +trap cleanup EXIT ERR HUP INT QUIT + +pids="" +for f in \ + 'api_aio --gtest_filter=-LibRadosAio.RacingRemovePP:*WriteSame*:*CmpExt*:*RoundTrip3*:*RoundTripPP3*:*Quota*:*LibRadosAioEC*' \ + 'api_list --gtest_filter=-LibRadosList*.EnumerateObjects*:*ListObjectsError*' \ + 'api_io --gtest_filter=-*Checksum*:*CmpExt*' \ + api_lock \ + 'api_misc --gtest_filter=-*WriteSame*:*CmpExt*:*Compare*:*Checksum*:*CloneRange*' \ + 'api_watch_notify --gtest_filter=-*WatchNotify3*' \ + api_tier api_pool api_snapshots api_stat api_cmd \ + 'api_c_write_operations --gtest_filter=-*WriteSame*:*CmpExt*' \ + 'api_c_read_operations --gtest_filter=-*Checksum*:*CmpExt*' \ + list_parallel \ + open_pools_parallel \ + delete_pools_parallel \ + watch_notify +do + if [ $parallel -eq 1 ]; then + r=`printf '%25s' $f` + bash -o pipefail -exc "ceph_test_rados_$f $color 2>&1 | tee 'ceph_test_rados_$f.log' | sed \"s/^/$r: /\"" & + pid=$! + echo "test $f on pid $pid" + pids="$pids $pid" + else + ceph_test_rados_$f + fi +done + +ret=0 +if [ $parallel -eq 1 ]; then +for p in $pids +do + if ! wait $p + then + echo "error in $p" + ret=1 + fi +done +fi + +exit $ret