While testing the latest xfstest from upstream, the generic/430 test will hang with ext4 test.
It looks like this issue was caused by the following command to copy beyond the file:
/usr/sbin/xfs_io -i -f -c "copy_range -s 4000 -l 2000 /home/ubuntu/test/test-430/file" "/home/ubuntu/test/test-430/beyond"
The copied file will have a correct MD5 as expected.
e68d4a150c4e42f4f9ea3ffe4c9cf4ed beyond
But the command will never return.
Steps:
1. Deploy a node with Bionic (should have a /dev/sdb available for the test)
2. Run:
sudo apt-get install git python-minimal -y
git clone --depth=1 https://github.com/Cypresslin/autotest-client-tests.git -b kteam-xfstest-upstream
git clone --depth=1 git://kernel.ubuntu.com/ubuntu/autotest
rm -fr autotest/client/tests
ln -sf ~/autotest-client-tests autotest/client/tests
3. Run the test with the following command:
AUTOTEST_PATH=/home/ubuntu/autotest sudo -E autotest/client/autotest-local --verbose autotest/client/tests/
(The test suite can be built manually, but it's easier to do this with autotest framework)
To run this test solely after the test partition has been creation on /dev/sdb:
mkdir /home/ubuntu/test
cd autotest/client/tmp/xfstests/src/xfstests-bld/xfstests-dev
sudo su
export TEST_DIR=/home/ubuntu/test
export TEST_DEV=/dev/sdb1
./check generic/430
Tested with the latest mainline kernel, 4.16.0-041600rc5-generic, and the bug still exist.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-10-generic 4.15.0-10.11 [modified: boot/vmlinuz-4.15.0-10-generic]
ProcVersionSignature: User Name 4.15.0-10.11-generic 4.15.3
Uname: Linux 4.15.0-10-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ubuntu 1148 F.... pulseaudio
/dev/snd/controlC1: ubuntu 1148 F.... pulseaudio
Date: Thu Mar 15 14:24:46 2018
InstallationDate: Installed on 2018-03-15 (0 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180228)
MachineType: Dell Inc. Dell Precision M3800
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-10-generic.efi.signed root=UUID=d1980d27-9063-4d92-aa10-1fb240453d8d ro quiet splash vt.handoff=1
RelatedPackageVersions:
linux-restricted-modules-4.15.0-10-generic N/A
linux-backports-modules-4.15.0-10-generic N/A
linux-firmware 1.172
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/14/2014
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A07
dmi.board.name: Dell Precision M3800
dmi.board.vendor: Dell Inc.
dmi.board.version: A07
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: Not Specified
dmi.modalias: dmi:bvnDellInc.:bvrA07:bd10/14/2014:svnDellInc.:pnDellPrecisionM3800:pvrA07:rvnDellInc.:rnDellPrecisionM3800:rvrA07:cvnDellInc.:ct8:cvrNotSpecified:
dmi.product.name: Dell Precision M3800
dmi.product.version: A07
dmi.sys.vendor: Dell Inc.
While testing the latest xfstest from upstream, the generic/430 test will hang with ext4 test.
It looks like this issue was caused by the following command to copy beyond the file: test/test- 430/file" "/home/ ubuntu/ test/test- 430/beyond"
/usr/sbin/xfs_io -i -f -c "copy_range -s 4000 -l 2000 /home/ubuntu/
The copied file will have a correct MD5 as expected. 4f9ea3ffe4c9cf4 ed beyond
e68d4a150c4e42f
But the command will never return.
Steps: /github. com/Cypresslin/ autotest- client- tests.git -b kteam-xfstest- upstream ubuntu. com/ubuntu/ autotest client/ tests client- tests autotest/ client/ tests PATH=/home/ ubuntu/ autotest sudo -E autotest/ client/ autotest- local --verbose autotest/ client/ tests/
1. Deploy a node with Bionic (should have a /dev/sdb available for the test)
2. Run:
sudo apt-get install git python-minimal -y
git clone --depth=1 https:/
git clone --depth=1 git://kernel.
rm -fr autotest/
ln -sf ~/autotest-
3. Run the test with the following command:
AUTOTEST_
(The test suite can be built manually, but it's easier to do this with autotest framework)
To run this test solely after the test partition has been creation on /dev/sdb: client/ tmp/xfstests/ src/xfstests- bld/xfstests- dev /home/ubuntu/ test
mkdir /home/ubuntu/test
cd autotest/
sudo su
export TEST_DIR=
export TEST_DEV=/dev/sdb1
./check generic/430
Tested with the latest mainline kernel, 4.16.0- 041600rc5- generic, and the bug still exist.
ProblemType: Bug 4.15.0- 10-generic 4.15.0-10.11 [modified: boot/vmlinuz- 4.15.0- 10-generic] ature: User Name 4.15.0- 10.11-generic 4.15.3 controlC0: ubuntu 1148 F.... pulseaudio controlC1: ubuntu 1148 F.... pulseaudio /boot/vmlinuz- 4.15.0- 10-generic. efi.signed root=UUID= d1980d27- 9063-4d92- aa10-1fb240453d 8d ro quiet splash vt.handoff=1 ersions: restricted- modules- 4.15.0- 10-generic N/A backports- modules- 4.15.0- 10-generic N/A version: Not Specified :bvrA07: bd10/14/ 2014:svnDellInc .:pnDellPrecisi onM3800: pvrA07: rvnDellInc. :rnDellPrecisio nM3800: rvrA07: cvnDellInc. :ct8:cvrNotSpec ified: version: A07
DistroRelease: Ubuntu 18.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-10-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
Date: Thu Mar 15 14:24:46 2018
InstallationDate: Installed on 2018-03-15 (0 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180228)
MachineType: Dell Inc. Dell Precision M3800
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.172
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/14/2014
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A07
dmi.board.name: Dell Precision M3800
dmi.board.vendor: Dell Inc.
dmi.board.version: A07
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Dell Precision M3800
dmi.product.
dmi.sys.vendor: Dell Inc.