← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2119421] [NEW] ioctl09 from ubuntu_ltp_syscalls timeout on n2d-standard-4.sev_snp with F/gcp-5.15 variants

 

Public bug reported:

Issue found on this specific instance n2d-standard-4.sev_snp with:
 * f-gcp-5.15 5.15.0-1090.99~20.04.1 
 * f-gcp-tcps 5.15.0-1038.39 

Test failed with timeout:
  INFO: Test start time: Fri Aug  1 17:46:51 UTC 2025
  COMMAND:    /opt/ltp/bin/ltp-pan -q  -e -S   -a 41594     -n 41594  -f /tmp/ltp-JV0kb65COm/alltests -l /dev/null  -C /dev/null -T /dev/null
  LOG File: /dev/null
  FAILED COMMAND File: /dev/null
  TCONF COMMAND File: /dev/null
  Running tests.......
  tst_tmpdir.c:316: TINFO: Using /tmp/ltp-JV0kb65COm/LTP_iociEXuOI as tmpdir (ext2/ext3/ext4 filesystem)
  tst_test.c:1952: TINFO: LTP version: 20250130
  tst_test.c:1955: TINFO: Tested kernel: 5.15.0-1090-gcp #99~20.04.1-Ubuntu SMP Tue Jul 29 13:50:55 UTC 2025 x86_64
  tst_kconfig.c:88: TINFO: Parsing kernel config '/lib/modules/5.15.0-1090-gcp/build/.config'
  tst_test.c:1773: TINFO: Overall timeout per run is 0h 00m 31s
  tst_device.c:98: TINFO: Found free device 6 '/dev/loop6'
  ioctl09.c:46: TPASS: access /sys/block/loop6/loop6p1 succeeds
  ioctl09.c:54: TPASS: access /dev/loop6p1 succeeds
  ioctl09.c:49: TPASS: access /sys/block/loop6/loop6p2 fails
  ioctl09.c:57: TPASS: access /dev/loop6p2 fails
  Test timeouted, sending SIGKILL!
  tst_test.c:1845: TINFO: If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
  tst_test.c:1847: TBROK: Test killed! (timeout?)
  
  Summary:
  passed   4
  failed   0
  broken   1
  skipped  0
  warnings 0
  INFO: ltp-pan reported some tests FAIL
  LTP Version: 20250130
  INFO: Test end time: Fri Aug  1 17:47:23 UTC 2025
  stderr:
  -------------------------------------------
  INFO: runltp script is deprecated, try kirk
  https://github.com/linux-test-project/kirk
  -------------------------------------------
  -------------------------------------------
  INFO: runltp script is deprecated, try kirk
  https://github.com/linux-test-project/kirk
  -------------------------------------------
17:47:26 INFO | 	END ERROR	ubuntu_ltp_syscalls.ioctl09	ubuntu_ltp_syscalls.ioctl09	


A manual test for just this ioctl09 test shows it's OK.

But if you look ahead, it seems this is caused by ioctl08:
  tst_device.c:271: TWARN: ioctl(/dev/loop5, LOOP_CLR_FD, 0) no ENXIO for too long

Log with ioctl08 and ioctl09:
 INFO: Test start time: Fri Aug  1 17:46:40 UTC 2025
 COMMAND:    /opt/ltp/bin/ltp-pan -q  -e -S   -a 41504     -n 41504  -f /tmp/ltp-UbmbvYv112/alltests -l /dev/null  -C /dev/null -T /dev/null
 LOG File: /dev/null
 FAILED COMMAND File: /dev/null
 TCONF COMMAND File: /dev/null
 Running tests.......
 tst_tmpdir.c:316: TINFO: Using /tmp/ltp-UbmbvYv112/LTP_iocP4nyvX as tmpdir (ext2/ext3/ext4 filesystem)
 tst_device.c:98: TINFO: Found free device 5 '/dev/loop5'
 tst_test.c:1216: TINFO: Formatting /dev/loop5 with btrfs opts='' extra opts=''
 tst_test.c:1228: TINFO: Mounting /dev/loop5 to /tmp/ltp-UbmbvYv112/LTP_iocP4nyvX/mnt_point fstyp=btrfs flags=0
 tst_test.c:1952: TINFO: LTP version: 20250130
 tst_test.c:1955: TINFO: Tested kernel: 5.15.0-1090-gcp #99~20.04.1-Ubuntu SMP Tue Jul 29 13:50:55 UTC 2025 x86_64
 tst_kconfig.c:88: TINFO: Parsing kernel config '/lib/modules/5.15.0-1090-gcp/build/.config'
 tst_test.c:1773: TINFO: Overall timeout per run is 0h 00m 31s
 ioctl08.c:94: TPASS: ioctl(FIDEDUPERANGE) ended with SUCCESS as expected
 ioctl08.c:94: TPASS: ioctl(FIDEDUPERANGE) ended with SUCCESS as expected
 ioctl08.c:94: TPASS: ioctl(FIDEDUPERANGE) ended with EINVAL as expected
 
 Summary:
 passed   3
 failed   0
 broken   0
 skipped  0
 warnings 0
 tst_device.c:271: TWARN: ioctl(/dev/loop5, LOOP_CLR_FD, 0) no ENXIO for too long
 INFO: ltp-pan reported all tests PASS
 LTP Version: 20250130
 INFO: Test end time: Fri Aug  1 17:46:44 UTC 2025
 -------------------------------------------
 INFO: runltp script is deprecated, try kirk
 https://github.com/linux-test-project/kirk
 -------------------------------------------
	GOOD	ubuntu_ltp_syscalls.ioctl08	ubuntu_ltp_syscalls.ioctl08	timestamp=1754070408	localtime=Aug 01 17:46:48	completed successfully
END GOOD	ubuntu_ltp_syscalls.ioctl08	ubuntu_ltp_syscalls.ioctl08	timestamp=1754070408	localtime=Aug 01 17:46:48	
nt state client._record_indent now set to 1
nt state client.unexpected_reboot deleted
 timeout: 900 sec.
START	ubuntu_ltp_syscalls.ioctl09	ubuntu_ltp_syscalls.ioctl09	timestamp=1754070408	timeout=900	localtime=Aug 01 17:46:48	
nt state client._record_indent now set to 2
nt state client.unexpected_reboot now set to ('ubuntu_ltp_syscalls.ioctl09', 'ubuntu_ltp_syscalls.ioctl09')
for pid 41586 for 900 seconds
ython is too old, crash handling disabled
 -------------------------------------------
 INFO: runltp script is deprecated, try kirk
 https://github.com/linux-test-project/kirk
 -------------------------------------------
 Checking for required user/group ids
 
 'root' user id and group found.
 '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.
 no big block device was specified on commandline.
 Tests which require a big block device are disabled.
 You can specify it with option -z
 INFO: Test start time: Fri Aug  1 17:46:51 UTC 2025
 COMMAND:    /opt/ltp/bin/ltp-pan -q  -e -S   -a 41594     -n 41594  -f /tmp/ltp-JV0kb65COm/alltests -l /dev/null  -C /dev/null -T /dev/null
 LOG File: /dev/null
 FAILED COMMAND File: /dev/null
 TCONF COMMAND File: /dev/null
 Running tests.......
 tst_tmpdir.c:316: TINFO: Using /tmp/ltp-JV0kb65COm/LTP_iociEXuOI as tmpdir (ext2/ext3/ext4 filesystem)
 tst_test.c:1952: TINFO: LTP version: 20250130
 tst_test.c:1955: TINFO: Tested kernel: 5.15.0-1090-gcp #99~20.04.1-Ubuntu SMP Tue Jul 29 13:50:55 UTC 2025 x86_64
 tst_kconfig.c:88: TINFO: Parsing kernel config '/lib/modules/5.15.0-1090-gcp/build/.config'
 tst_test.c:1773: TINFO: Overall timeout per run is 0h 00m 31s
 tst_device.c:98: TINFO: Found free device 6 '/dev/loop6'
 ioctl09.c:46: TPASS: access /sys/block/loop6/loop6p1 succeeds
 ioctl09.c:54: TPASS: access /dev/loop6p1 succeeds
 ioctl09.c:49: TPASS: access /sys/block/loop6/loop6p2 fails
 ioctl09.c:57: TPASS: access /dev/loop6p2 fails
 Test timeouted, sending SIGKILL!
 tst_test.c:1845: TINFO: If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
 tst_test.c:1847: TBROK: Test killed! (timeout?)
 
 Summary:
 passed   4
 failed   0
 broken   1
 skipped  0
 warnings 0
 INFO: ltp-pan reported some tests FAIL
 LTP Version: 20250130
 INFO: Test end time: Fri Aug  1 17:47:23 UTC 2025
 -------------------------------------------
 INFO: runltp script is deprecated, try kirk
 https://github.com/linux-test-project/kirk
 -------------------------------------------

Manual test shows this can be reproduced by running ioctl08 and ioctl09.
And it will pass with LTP_TIMEOUT_MUL=5

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New


** Tags: 5.15 focal gcp ubuntu-ltp-syscalls

-- 
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/2119421

Title:
  ioctl09 from ubuntu_ltp_syscalls timeout on n2d-standard-4.sev_snp
  with F/gcp-5.15 variants

Status in ubuntu-kernel-tests:
  New

Bug description:
  Issue found on this specific instance n2d-standard-4.sev_snp with:
   * f-gcp-5.15 5.15.0-1090.99~20.04.1 
   * f-gcp-tcps 5.15.0-1038.39 

  Test failed with timeout:
    INFO: Test start time: Fri Aug  1 17:46:51 UTC 2025
    COMMAND:    /opt/ltp/bin/ltp-pan -q  -e -S   -a 41594     -n 41594  -f /tmp/ltp-JV0kb65COm/alltests -l /dev/null  -C /dev/null -T /dev/null
    LOG File: /dev/null
    FAILED COMMAND File: /dev/null
    TCONF COMMAND File: /dev/null
    Running tests.......
    tst_tmpdir.c:316: TINFO: Using /tmp/ltp-JV0kb65COm/LTP_iociEXuOI as tmpdir (ext2/ext3/ext4 filesystem)
    tst_test.c:1952: TINFO: LTP version: 20250130
    tst_test.c:1955: TINFO: Tested kernel: 5.15.0-1090-gcp #99~20.04.1-Ubuntu SMP Tue Jul 29 13:50:55 UTC 2025 x86_64
    tst_kconfig.c:88: TINFO: Parsing kernel config '/lib/modules/5.15.0-1090-gcp/build/.config'
    tst_test.c:1773: TINFO: Overall timeout per run is 0h 00m 31s
    tst_device.c:98: TINFO: Found free device 6 '/dev/loop6'
    ioctl09.c:46: TPASS: access /sys/block/loop6/loop6p1 succeeds
    ioctl09.c:54: TPASS: access /dev/loop6p1 succeeds
    ioctl09.c:49: TPASS: access /sys/block/loop6/loop6p2 fails
    ioctl09.c:57: TPASS: access /dev/loop6p2 fails
    Test timeouted, sending SIGKILL!
    tst_test.c:1845: TINFO: If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
    tst_test.c:1847: TBROK: Test killed! (timeout?)
    
    Summary:
    passed   4
    failed   0
    broken   1
    skipped  0
    warnings 0
    INFO: ltp-pan reported some tests FAIL
    LTP Version: 20250130
    INFO: Test end time: Fri Aug  1 17:47:23 UTC 2025
    stderr:
    -------------------------------------------
    INFO: runltp script is deprecated, try kirk
    https://github.com/linux-test-project/kirk
    -------------------------------------------
    -------------------------------------------
    INFO: runltp script is deprecated, try kirk
    https://github.com/linux-test-project/kirk
    -------------------------------------------
  17:47:26 INFO | 	END ERROR	ubuntu_ltp_syscalls.ioctl09	ubuntu_ltp_syscalls.ioctl09	

  
  A manual test for just this ioctl09 test shows it's OK.

  But if you look ahead, it seems this is caused by ioctl08:
    tst_device.c:271: TWARN: ioctl(/dev/loop5, LOOP_CLR_FD, 0) no ENXIO for too long

  Log with ioctl08 and ioctl09:
   INFO: Test start time: Fri Aug  1 17:46:40 UTC 2025
   COMMAND:    /opt/ltp/bin/ltp-pan -q  -e -S   -a 41504     -n 41504  -f /tmp/ltp-UbmbvYv112/alltests -l /dev/null  -C /dev/null -T /dev/null
   LOG File: /dev/null
   FAILED COMMAND File: /dev/null
   TCONF COMMAND File: /dev/null
   Running tests.......
   tst_tmpdir.c:316: TINFO: Using /tmp/ltp-UbmbvYv112/LTP_iocP4nyvX as tmpdir (ext2/ext3/ext4 filesystem)
   tst_device.c:98: TINFO: Found free device 5 '/dev/loop5'
   tst_test.c:1216: TINFO: Formatting /dev/loop5 with btrfs opts='' extra opts=''
   tst_test.c:1228: TINFO: Mounting /dev/loop5 to /tmp/ltp-UbmbvYv112/LTP_iocP4nyvX/mnt_point fstyp=btrfs flags=0
   tst_test.c:1952: TINFO: LTP version: 20250130
   tst_test.c:1955: TINFO: Tested kernel: 5.15.0-1090-gcp #99~20.04.1-Ubuntu SMP Tue Jul 29 13:50:55 UTC 2025 x86_64
   tst_kconfig.c:88: TINFO: Parsing kernel config '/lib/modules/5.15.0-1090-gcp/build/.config'
   tst_test.c:1773: TINFO: Overall timeout per run is 0h 00m 31s
   ioctl08.c:94: TPASS: ioctl(FIDEDUPERANGE) ended with SUCCESS as expected
   ioctl08.c:94: TPASS: ioctl(FIDEDUPERANGE) ended with SUCCESS as expected
   ioctl08.c:94: TPASS: ioctl(FIDEDUPERANGE) ended with EINVAL as expected
   
   Summary:
   passed   3
   failed   0
   broken   0
   skipped  0
   warnings 0
   tst_device.c:271: TWARN: ioctl(/dev/loop5, LOOP_CLR_FD, 0) no ENXIO for too long
   INFO: ltp-pan reported all tests PASS
   LTP Version: 20250130
   INFO: Test end time: Fri Aug  1 17:46:44 UTC 2025
   -------------------------------------------
   INFO: runltp script is deprecated, try kirk
   https://github.com/linux-test-project/kirk
   -------------------------------------------
  	GOOD	ubuntu_ltp_syscalls.ioctl08	ubuntu_ltp_syscalls.ioctl08	timestamp=1754070408	localtime=Aug 01 17:46:48	completed successfully
  END GOOD	ubuntu_ltp_syscalls.ioctl08	ubuntu_ltp_syscalls.ioctl08	timestamp=1754070408	localtime=Aug 01 17:46:48	
  nt state client._record_indent now set to 1
  nt state client.unexpected_reboot deleted
   timeout: 900 sec.
  START	ubuntu_ltp_syscalls.ioctl09	ubuntu_ltp_syscalls.ioctl09	timestamp=1754070408	timeout=900	localtime=Aug 01 17:46:48	
  nt state client._record_indent now set to 2
  nt state client.unexpected_reboot now set to ('ubuntu_ltp_syscalls.ioctl09', 'ubuntu_ltp_syscalls.ioctl09')
  for pid 41586 for 900 seconds
  ython is too old, crash handling disabled
   -------------------------------------------
   INFO: runltp script is deprecated, try kirk
   https://github.com/linux-test-project/kirk
   -------------------------------------------
   Checking for required user/group ids
   
   'root' user id and group found.
   '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.
   no big block device was specified on commandline.
   Tests which require a big block device are disabled.
   You can specify it with option -z
   INFO: Test start time: Fri Aug  1 17:46:51 UTC 2025
   COMMAND:    /opt/ltp/bin/ltp-pan -q  -e -S   -a 41594     -n 41594  -f /tmp/ltp-JV0kb65COm/alltests -l /dev/null  -C /dev/null -T /dev/null
   LOG File: /dev/null
   FAILED COMMAND File: /dev/null
   TCONF COMMAND File: /dev/null
   Running tests.......
   tst_tmpdir.c:316: TINFO: Using /tmp/ltp-JV0kb65COm/LTP_iociEXuOI as tmpdir (ext2/ext3/ext4 filesystem)
   tst_test.c:1952: TINFO: LTP version: 20250130
   tst_test.c:1955: TINFO: Tested kernel: 5.15.0-1090-gcp #99~20.04.1-Ubuntu SMP Tue Jul 29 13:50:55 UTC 2025 x86_64
   tst_kconfig.c:88: TINFO: Parsing kernel config '/lib/modules/5.15.0-1090-gcp/build/.config'
   tst_test.c:1773: TINFO: Overall timeout per run is 0h 00m 31s
   tst_device.c:98: TINFO: Found free device 6 '/dev/loop6'
   ioctl09.c:46: TPASS: access /sys/block/loop6/loop6p1 succeeds
   ioctl09.c:54: TPASS: access /dev/loop6p1 succeeds
   ioctl09.c:49: TPASS: access /sys/block/loop6/loop6p2 fails
   ioctl09.c:57: TPASS: access /dev/loop6p2 fails
   Test timeouted, sending SIGKILL!
   tst_test.c:1845: TINFO: If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
   tst_test.c:1847: TBROK: Test killed! (timeout?)
   
   Summary:
   passed   4
   failed   0
   broken   1
   skipped  0
   warnings 0
   INFO: ltp-pan reported some tests FAIL
   LTP Version: 20250130
   INFO: Test end time: Fri Aug  1 17:47:23 UTC 2025
   -------------------------------------------
   INFO: runltp script is deprecated, try kirk
   https://github.com/linux-test-project/kirk
   -------------------------------------------

  Manual test shows this can be reproduced by running ioctl08 and ioctl09.
  And it will pass with LTP_TIMEOUT_MUL=5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2119421/+subscriptions