Comment 0 for bug 1768430

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

It can be reproduced on zVM, zKVM and Ubuntu on LPAR

Steps:
1. git clone --depth=1 https://github.com/autotest/autotest-client-tests.git
2. make -C autotest-client-tests/aio_dio_bugs/src
3. sudo ./autotest-client-tests/aio_dio_bugs/src/aio-dio-subblock-eof-read eoftest

 Running 'apt-get install --yes --force-yes build-essential gcc'
 Reading package lists...
 Building dependency tree...
 Reading state information...
 build-essential is already the newest version (12.1ubuntu2).
 gcc is already the newest version (4:5.3.1-1ubuntu1).
 The following packages were automatically installed and are no longer required:
 linux-headers-4.4.0-121 linux-headers-4.4.0-121-generic
 linux-image-4.4.0-121-generic linux-image-extra-4.4.0-121-generic
 Use 'sudo apt autoremove' to remove them.
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 Running 'which gcc'
 /usr/bin/gcc
 Dependency libaio successfully built
 Running 'LD_LIBRARY_PATH=/home/ubuntu/autotest/client/deps/libaio/lib/ /home/ubuntu/autotest/client/tmp/aio_dio_bugs/src/aio-dio-subblock-eof-read eoftest'
 buffered read returned -1, should be 300
 Exception escaping from test:
Traceback (most recent call last):
File "/home/ubuntu/autotest/client/shared/test.py", line 411, in _exec
_call_test_function(self.execute, *p_args, **p_dargs)
File "/home/ubuntu/autotest/client/shared/test.py", line 823, in _call_test_function
return func(*args, **dargs)
File "/home/ubuntu/autotest/client/shared/test.py", line 291, in execute
postprocess_profiled_run, args, dargs)
File "/home/ubuntu/autotest/client/shared/test.py", line 212, in _call_run_once
self.run_once(*args, **dargs)
File "/home/ubuntu/autotest/client/tests/aio_dio_bugs/aio_dio_bugs.py", line 42, in run_once
utils.system(var_ld_path + ' ' + cmd)
File "/home/ubuntu/autotest/client/shared/utils.py", line 1232, in system
verbose=verbose).exit_status
File "/home/ubuntu/autotest/client/shared/utils.py", line 918, in run
"Command returned non-zero exit status")
CmdError: Command failed, rc=1, Command returned non-zero exit status
* Command:
LD_LIBRARY_PATH=/home/ubuntu/autotest/client/deps/libaio/lib/
/home/ubuntu/autotest/client/tmp/aio_dio_bugs/src/aio-dio-subblock-eof-
read eoftest
Exit status: 1
Duration: 0.00215792655945

stdout:
buffered read returned -1, should be 300

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-123-generic 4.4.0-123.147
ProcVersionSignature: Ubuntu 4.4.0-123.147-generic 4.4.128
Uname: Linux 4.4.0-123-generic s390x
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access '/dev/snd/': No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.1-0ubuntu2.16
Architecture: s390x
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
CurrentDmesg:

Date: Wed May 2 02:21:12 2018
HibernationDevice: RESUME=UUID=f578fa27-1d57-41c9-bb1d-7ff64c1c9345
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb: Error: command ['lsusb'] failed with exit code 1:
PciMultimedia:

ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: Error: [Errno 2] No such file or directory: '/proc/fb'
ProcKernelCmdLine: root=UUID=f26894a2-496d-4891-aa9a-f66344c77779 crashkernel=196M BOOT_IMAGE=0
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-123-generic N/A
 linux-backports-modules-4.4.0-123-generic N/A
 linux-firmware 1.157.17
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)