Comment 2 for bug 1721067

Revision history for this message
Manoj Iyer (manjo) wrote :

== After the patch ==
After applying the patch the test does not crash the kernel, the test completes as expected with all tests passing.

ubuntu@XXX:~$ uname -a
Linux XXX 4.13.0-13-generic #14~pgtable+build.1 SMP Tue Oct 3 18:05:38 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux

$ sudo ./runltp -p -f fs -s rwtest
INFO: creating /opt/ltp/output directory
INFO: creating /opt/ltp/results directory
Checking for required user/group ids

'nobody' user id and group found.
'bin' user id and group found.
'daemon' user id and group found.
Users group found.
Sys group found.
Required users/groups exist.
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.10
DISTRIB_CODENAME=artful
DISTRIB_DESCRIPTION="Ubuntu Artful Aardvark (development branch)"
NAME="Ubuntu"
VERSION="17.10 (Artful Aardvark)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Artful Aardvark (development branch)"
VERSION_ID="17.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=artful
UBUNTU_CODENAME=artful
Linux awrep6 4.13.0-13-generic #14~pgtable+build.1 SMP Tue Oct 3 18:05:38 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux

Gnu C gcc (Ubuntu/Linaro 7.2.0-7ubuntu1) 7.2.0
Gnu make 4.1
util-linux linux 2.30.1
mount linux 2.30.1 (libmount 2.30.1: selinux, btrfs, assert, debug)
modutils 24
e2fsprogs 1.43.5
Linux C Library > libc.2.26
Dynamic linker (ldd) 2.26
Procps 3.3.12
Net-tools 2.10-alpha
iproute2 iproute2-ss161212
Kbd 2.0.3
Sh-utils 8.26
Modules Loaded nls_iso8859_1 ipmi_ssif cppc_cpufreq shpchp tpm_crb ipmi_devintf ipmi_msghandler hdma_mgmt hdma i2c_qup ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear uas usb_storage at803x aes_ce_blk aes_ce_cipher crc32_ce mlx5_core crct10dif_ce ghash_ce sha2_ce sha1_ce mlxfw devlink ptp pps_core ahci_platform libahci_platform libahci qcom_emac sdhci_acpi sdhci xhci_plat_hcd aes_neon_bs aes_neon_blk crypto_simd cryptd

free reports:
              total used free shared buff/cache available
Mem: 98853816 633832 97987408 18964 232576 97479284
Swap: 8388604 0 8388604

no big block device was specified on commandline.
Tests which require a big block device are disabled.
You can specify it with option -z
COMMAND: /opt/ltp/bin/ltp-pan -e -S -a 2170 -n 2170 -p -f /tmp/ltp-JrFEc0NFH8/alltests -l /opt/ltp/results/LTP_RUN_ON-2017_10_03-19h_17m_56s.log -C /opt/ltp/output/LTP_RUN_ON-2017_10_03-19h_17m_56s.failed -T /opt/ltp/output/LTP_RUN_ON-2017_10_03-19h_17m_56s.tconf
INFO: Restricted to rwtest
LOG File: /opt/ltp/results/LTP_RUN_ON-2017_10_03-19h_17m_56s.log
FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2017_10_03-19h_17m_56s.failed
TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-2017_10_03-19h_17m_56s.tconf
Running tests.......
<<<test_start>>>
tag=rwtest01 stime=1507058278
cmdline="export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:$TMPDIR/rw-sync-$$"
contacts=""
analysis=exit
<<<test_output>>>
rwtest01 1 TPASS : Test passed
Test passed
<<<execution_status>>>
initiation_status="ok"
duration=65 termination_type=exited termination_id=0 corefile=no
cutime=7 cstime=62
<<<test_end>>>
<<<test_start>>>
tag=rwtest02 stime=1507058343
cmdline="export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:$TMPDIR/rw-buffered-$$"
contacts=""
analysis=exit
<<<test_output>>>
rwtest02 1 TPASS : Test passed
Test passed
<<<execution_status>>>
initiation_status="ok"
duration=61 termination_type=exited termination_id=0 corefile=no
cutime=1472 cstime=5226
<<<test_end>>>
<<<test_start>>>
tag=rwtest03 stime=1507058404
cmdline="export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:$TMPDIR/mm-buff-$$"
contacts=""
analysis=exit
<<<test_output>>>
rwtest03 1 TPASS : Test passed
Test passed
<<<execution_status>>>
initiation_status="ok"
duration=62 termination_type=exited termination_id=0 corefile=no
cutime=58 cstime=440
<<<test_end>>>
<<<test_start>>>
tag=rwtest04 stime=1507058466
cmdline="export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:$TMPDIR/mm-sync-$$"
contacts=""
analysis=exit
<<<test_output>>>
rwtest04 1 TPASS : Test passed
Test passed
<<<execution_status>>>
initiation_status="ok"
duration=62 termination_type=exited termination_id=0 corefile=no
cutime=50 cstime=449
<<<test_end>>>
<<<test_start>>>
tag=rwtest05 stime=1507058528
cmdline="export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:$TMPDIR/rwtest01%s"
contacts=""
analysis=exit
<<<test_output>>>
rwtest05 1 TPASS : Test passed
Test passed
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=2
<<<test_end>>>
<<<test_start>>>
tag=iogen01 stime=1507058528
cmdline="export LTPROOT; rwtest -N iogen01 -i 120s -s read,write -Da -Dv -n 2 500b:$TMPDIR/doio.f1.$$ 1000b:$TMPDIR/doio.f2.$$"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
/opt/ltp/testcases/bin/iogen -N iogen01 -i 120s -s read,write 500b:/tmp/ltp-JrFEc0NFH8/doio.f1.2386 1000b:/tmp/ltp-JrFEc0NFH8/doio.f2.2386 | /opt/ltp/testcases/bin/doio -N iogen01 -a -v -n 2 -k

iogen(iogen01) starting up with the following:

Out-pipe: stdout
Iterations: 120 seconds
Seed: 2393
Offset-Mode: sequential
Overlap Flag: off
Mintrans: 1 (1 blocks)
Maxtrans: 131072 (256 blocks)
O_RAW/O_SSD Multiple: (Determined by device)
Syscalls: read write
Aio completion types: none
Flags: buffered sync

Test Files:

Path Length iou raw iou file
                                              (bytes) (bytes) (bytes) type
-----------------------------------------------------------------------------
/tmp/ltp-JrFEc0NFH8/doio.f1.2386 256000 1 512 regular
/tmp/ltp-JrFEc0NFH8/doio.f2.2386 512000 1 512 regular
iogen01 1 TPASS : Test passed
Test passed
<<<execution_status>>>
initiation_status="ok"
duration=123 termination_type=exited termination_id=0 corefile=no
cutime=16 cstime=111
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: 20170516

       ###############################################################

            Done executing testcases.
            LTP Version: 20170516
       ###############################################################