canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #05503
[Bug 2078315] Re: creat07, execve04, ioctl_loop02, ioctl_loop06, ioctl_loop07 from ubuntu_ltp_syscalls failed on N-OEM-6.11
** Changed in: ubuntu-kernel-tests
Status: New => In Progress
** Changed in: ubuntu-kernel-tests
Assignee: (unassigned) => Po-Hsu Lin (cypressyew)
--
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2078315
Title:
creat07, execve04, ioctl_loop02, ioctl_loop06, ioctl_loop07 from
ubuntu_ltp_syscalls failed on N-OEM-6.11
Status in ubuntu-kernel-tests:
In Progress
Bug description:
Issue found on 6.11.0-1001.1
Investigation shows that we will need to update our LTP fork to the following commits:
* creat07, execve04
- 12588eee syscalls/execve04,creat07: skip for kernels 6.11 and later
* ioctl_loop02, ioctl_loop06, ioctl_loop07
- c02d8ddc lib: make tst_detach_device_by_fd() also close dev_fd
Test output:
COMMAND: /opt/ltp-upstream/bin/ltp-pan -e -S -a 147118 -n 147118 -p -f /tmp/ltp-qq6AS8PjLk/alltests -l /opt/ltp-upstream/results/LTP_RUN_ON-2024_08_29-07h_19m_37s.log -C /opt/ltp-upstream/output/LTP_RUN_ON-2024_08_29-07h_19m_37s.failed -T /opt/ltp-upstream/output/LTP_RUN_ON-2024_08_29-07h_19m_37s.tconf
LOG File: /opt/ltp-upstream/results/LTP_RUN_ON-2024_08_29-07h_19m_37s.log
FAILED COMMAND File: /opt/ltp-upstream/output/LTP_RUN_ON-2024_08_29-07h_19m_37s.failed
TCONF COMMAND File: /opt/ltp-upstream/output/LTP_RUN_ON-2024_08_29-07h_19m_37s.tconf
Running tests.......
<<<test_start>>>
tag=creat07 stime=1724915977
cmdline="creat07"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1806: TINFO: LTP version: 20240524-101-gc5d95b6d3
tst_test.c:1650: TINFO: Timeout per run is 0h 00m 30s
creat07.c:37: TFAIL: creat() succeeded unexpectedly
Test timeouted, sending SIGKILL!
tst_test.c:1698: TINFO: Killed the leftover descendant processes
tst_test.c:1704: TINFO: If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
tst_test.c:1706: TBROK: Test killed! (timeout?)
Summary:
passed 0
failed 1
broken 1
skipped 0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=30 termination_type=exited termination_id=3 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=execve04 stime=1724916007
cmdline="execve04"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1806: TINFO: LTP version: 20240524-101-gc5d95b6d3
tst_test.c:1650: TINFO: Timeout per run is 0h 00m 30s
execve_child.c:27: TFAIL: execve_child shouldn't be executed
tst_test.c:1698: TINFO: Killed the leftover descendant processes
Summary:
passed 0
failed 1
broken 0
skipped 0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=ioctl_loop02 stime=1724916007
cmdline="ioctl_loop02"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1806: TINFO: LTP version: 20240524-101-gc5d95b6d3
tst_test.c:1650: TINFO: Timeout per run is 0h 00m 30s
tst_device.c:96: TINFO: Found free device 0 '/dev/loop0'
tst_buffers.c:57: TINFO: Test is using guarded buffers
ioctl_loop02.c:56: TINFO: Using LOOP_SET_FD to setup loopdevice
ioctl_loop02.c:67: TPASS: /sys/block/loop0/ro = 1
ioctl_loop02.c:68: TPASS: /sys/block/loop0/loop/backing_file = '/tmp/ltp-qq6AS8PjLk/LTP_iocWAhE0P/test.img'
ioctl_loop02.c:77: TPASS: lo_flags only has default LO_FLAGS_READ_ONLY flag
ioctl_loop02.c:83: TPASS: Can not write data in RO mode: EPERM (1)
ioctl_loop02.c:89: TPASS: LOOP_CHANGE_FD succeeded
ioctl_loop02.c:90: TPASS: /sys/block/loop0/ro = 1
ioctl_loop02.c:91: TPASS: /sys/block/loop0/loop/backing_file = '/tmp/ltp-qq6AS8PjLk/LTP_iocWAhE0P/test1.img'
ioctl_loop02.c:97: TPASS: LOOP_CHANGE_FD failed as expected: EINVAL (22)
ioctl_loop02.c:56: TINFO: Using LOOP_CONFIGURE with read_only flag
ioctl_loop02.c:63: TBROK: ioctl(5,(0x4C0A),...) failed: EBUSY (16)
Summary:
passed 8
failed 0
broken 1
skipped 0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=ioctl_loop06 stime=1724916007
cmdline="ioctl_loop06"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1806: TINFO: LTP version: 20240524-101-gc5d95b6d3
tst_test.c:1650: TINFO: Timeout per run is 0h 00m 30s
tst_device.c:96: TINFO: Found free device 0 '/dev/loop0'
ioctl_loop06.c:74: TINFO: Using LOOP_SET_BLOCK_SIZE with arg < 512
ioctl_loop06.c:65: TPASS: Set block size failed as expected: EINVAL (22)
ioctl_loop06.c:74: TINFO: Using LOOP_SET_BLOCK_SIZE with arg > PAGE_SIZE
ioctl_loop06.c:65: TPASS: Set block size failed as expected: EINVAL (22)
ioctl_loop06.c:74: TINFO: Using LOOP_SET_BLOCK_SIZE with arg != power_of_2
ioctl_loop06.c:65: TPASS: Set block size failed as expected: EINVAL (22)
ioctl_loop06.c:74: TINFO: Using LOOP_CONFIGURE with block_size < 512
ioctl_loop06.c:67: TFAIL: Set block size failed expected EINVAL got: EBUSY (16)
ioctl_loop06.c:74: TINFO: Using LOOP_CONFIGURE with block_size > PAGE_SIZE
ioctl_loop06.c:67: TFAIL: Set block size failed expected EINVAL got: EBUSY (16)
ioctl_loop06.c:74: TINFO: Using LOOP_CONFIGURE with block_size != power_of_2
ioctl_loop06.c:67: TFAIL: Set block size failed expected EINVAL got: EBUSY (16)
Summary:
passed 3
failed 3
broken 0
skipped 0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=ioctl_loop07 stime=1724916007
cmdline="ioctl_loop07"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_test.c:1806: TINFO: LTP version: 20240524-101-gc5d95b6d3
tst_test.c:1650: TINFO: Timeout per run is 0h 00m 30s
tst_device.c:96: TINFO: Found free device 0 '/dev/loop0'
ioctl_loop07.c:128: TINFO: original loop size 2048 sectors
ioctl_loop07.c:86: TINFO: When sizelimit is greater than loopsize by using LOOP_SET_STATUS64
ioctl_loop07.c:65: TPASS: /sys/block/loop0/size = 2048
ioctl_loop07.c:66: TPASS: /sys/block/loop0/loop/sizelimit = 4194304
ioctl_loop07.c:69: TPASS: LOOP_GET_STATUS64 gets correct lo_sizelimit(4194304)
ioctl_loop07.c:86: TINFO: When sizelimit is less than loopsize by using LOOP_SET_STATUS64
ioctl_loop07.c:65: TPASS: /sys/block/loop0/size = 1024
ioctl_loop07.c:66: TPASS: /sys/block/loop0/loop/sizelimit = 524288
ioctl_loop07.c:69: TPASS: LOOP_GET_STATUS64 gets correct lo_sizelimit(524288)
ioctl_loop07.c:86: TINFO: When sizelimit is greater than loopsize by using LOOP_CONFIGURE
ioctl_loop07.c:59: TBROK: ioctl(4,(0x4C0A),...) failed: EBUSY (16)
HINT: You _MAY_ be missing kernel fixes:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=79e5dc59e297
Summary:
passed 6
failed 0
broken 1
skipped 0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=1
<<<test_end>>>
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2078315/+subscriptions
References