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

nautilus: tests: rbd: qemu-iotests tests fail under latest Ubuntu kernel #27988

Merged
merged 1 commit into from May 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 10 additions & 2 deletions qa/workunits/rbd/qemu-iotests.sh
Expand Up @@ -9,13 +9,15 @@ testlist='001 002 003 004 005 008 009 010 011 021 025 032 033 055'

git clone https://github.com/qemu/qemu.git
cd qemu
if lsb_release -da | grep -iq xenial; then
if lsb_release -da 2>&1 | grep -iq 'bionic'; then
# Bionic requires a matching test harness
git checkout v2.11.0
elif lsb_release -da 2>&1 | grep -iq 'xenial'; then
# Xenial requires a recent test harness
git checkout v2.3.0
else
# use v2.2.0-rc3 (last released version that handles all the tests
git checkout 2528043f1f299e0e88cb026f1ca7c40bbb4e1f80

fi

cd tests/qemu-iotests
Expand All @@ -24,6 +26,12 @@ mkdir bin
if [ -x '/usr/bin/qemu-system-x86_64' ]
then
QEMU='/usr/bin/qemu-system-x86_64'

# Bionic (v2.11.0) tests expect all tools in current directory
ln -s $QEMU qemu
ln -s /usr/bin/qemu-img
ln -s /usr/bin/qemu-io
ln -s /usr/bin/qemu-nbd
else
QEMU='/usr/libexec/qemu-kvm'

Expand Down