← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2057747] Re: swapon01 from ubuntu_ltp_syscalls failed with TBROK Test killed on ext2

 

It looks like the swapon will succeed:
   swapon01.c:27: TPASS: tst_syscall(__NR_swapon, SWAP_FILE, 0) passed

But after that this the test cause OOM:
[  205.005580] LTP: starting swapon01
[  205.063464] SGI XFS with ACLs, security attributes, no debug enabled
[  205.087877] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[  205.237196] EXT4-fs (loop0): mounting ext2 file system using the ext4 subsystem
[  205.246054] EXT4-fs (loop0): mounted filesystem without journal. Opts: (null)
[  205.248806] Adding 28k swap on mntpoint/swapfile01.  Priority:-2 extents:2 across:476k 
[  205.272629] Adding 28k swap on mntpoint/swapfile01.  Priority:-2 extents:2 across:492k 
[  205.502489] swapon01 invoked oom-killer: gfp_mask=0x14000c0(GFP_KERNEL), nodemask=(null), order=0, oom_score_adj=0
[  205.502490] swapon01 cpuset=/ mems_allowed=0
[  205.502494] CPU: 0 PID: 1462 Comm: swapon01 Not tainted 4.15.0-1150-kvm #155-Ubuntu
[  205.502495] Hardware name: OpenStack Foundation OpenStack Nova, BIOS 1.13.0-1ubuntu1.1 04/01/2014
[  205.502496] Call Trace:
[  205.502499]  0xffffffff8e89761e
[  205.502499]  0xffffffff8e894e9f
[  205.502500]  ? 0xffffffff8e8897cc
[  205.502500]  0xffffffff8e396ce6
[  205.502501]  0xffffffff8e397681
[  205.502501]  0xffffffff8e3fc994
[  205.502502]  0xffffffff8e401ad1
[  205.502502]  ? 0xffffffff8e3fcbc0
[  205.502503]  0xffffffff8e397a2e
[  205.502503]  0xffffffff8e28ffb3
[  205.502503]  ? 0xffffffff8e3cbd24
[  205.502504]  0xffffffff8e2905af
[  205.502504]  0xffffffff8e290652
[  205.502505]  ? 0xffffffff8ea0130c
[  205.502505]  0xffffffff8e28a7dc
[  205.502506]  0xffffffff8ea01322
[  205.502506] RIP: 0033:0x00007fd90998eea7
[  205.502507] RSP: 002b:00007ffc1bf66c68 EFLAGS: 00010206
[  205.502508] RAX: 00007fd8c9800000 RBX: 0000000000000040 RCX: 00007fd8ca602000
[  205.502509] RDX: 00007fd8ca800000 RSI: 0000000000000041 RDI: 00007fd8c9800000
[  205.502509] RBP: 0000000001000000 R08: 00000000ffffffff R09: 0000000000000000
[  205.502510] R10: 0000000000000022 R11: 0000000000000246 R12: 0000000000000040
[  205.502510] R13: 000056066423f210 R14: 0000000000000041 R15: 00000000ffffffff
[  205.502511] Task in /ltp/test-1411 killed as a result of limit of /ltp/test-1411
[  205.502514] memory: usage 1048576kB, limit 1048576kB, failcnt 14
[  205.502515] memory+swap: usage 0kB, limit 9007199254740988kB, failcnt 0
[  205.502515] kmem: usage 2052kB, limit 9007199254740988kB, failcnt 0
[  205.502515] Memory cgroup stats for /ltp/test-1411: cache:0KB rss:1046496KB rss_huge:0KB shmem:0KB mapped_file:0KB dirty:0KB writeback:0KB inactive_anon:13648KB active_anon:1032876KB inactive_file:0KB active_file:0KB unevictable:0KB
[  205.502519] [ pid ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
[  205.502555] [ 1462]     0  1462   263351   261980  2150400        7             0 swapon01
[  205.502555] Memory cgroup out of memory: Kill process 1462 (swapon01) score 971 or sacrifice child
[  205.503112] Killed process 1462 (swapon01) total-vm:1053404kB, anon-rss:1046480kB, file-rss:1436kB, shmem-rss:

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

Title:
  swapon01 from ubuntu_ltp_syscalls failed with TBROK Test killed on
  ext2

Status in ubuntu-kernel-tests:
  New

Bug description:
  This is a new failure after upstream has enabled the test on all
  filesystems (a0fb0c3f24 "swapon01: Test on all filesystems")

  Test failed with timeout, however set a timeout multiplier does not
  help.

  INFO: Test start time: Tue Mar 12 11:55:32 UTC 2024
  COMMAND:    /opt/ltp/bin/ltp-pan -q  -e -S   -a 860514     -n 860514  -f /tmp/ltp-OACCjQIdTs/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_device.c:96: TINFO: Found free device 3 '/dev/loop3'
  tst_test.c:1741: TINFO: LTP version: 20240129
  tst_test.c:1625: TINFO: Timeout per run is 0h 00m 30s
  tst_supported_fs_types.c:96: TINFO: Kernel supports ext2
  tst_supported_fs_types.c:61: TINFO: mkfs.ext2 does exist
  tst_supported_fs_types.c:96: TINFO: Kernel supports ext3
  tst_supported_fs_types.c:61: TINFO: mkfs.ext3 does exist
  tst_supported_fs_types.c:96: TINFO: Kernel supports ext4
  tst_supported_fs_types.c:61: TINFO: mkfs.ext4 does exist
  tst_supported_fs_types.c:96: TINFO: Kernel supports xfs
  tst_supported_fs_types.c:61: TINFO: mkfs.xfs does exist
  tst_supported_fs_types.c:96: TINFO: Kernel supports btrfs
  tst_supported_fs_types.c:61: TINFO: mkfs.btrfs does exist
  tst_supported_fs_types.c:104: TINFO: Skipping bcachefs because of FUSE blacklist
  tst_supported_fs_types.c:96: TINFO: Kernel supports vfat
  tst_supported_fs_types.c:61: TINFO: mkfs.vfat does exist
  tst_supported_fs_types.c:96: TINFO: Kernel supports exfat
  tst_supported_fs_types.c:57: TINFO: mkfs.exfat does not exist
  tst_supported_fs_types.c:96: TINFO: Kernel supports tmpfs
  tst_supported_fs_types.c:48: TINFO: mkfs is not needed for tmpfs
  tst_test.c:1701: TINFO: === Testing on ext2 ===
  tst_test.c:1117: TINFO: Formatting /dev/loop3 with ext2 opts='' extra opts=''
  mke2fs 1.47.0 (5-Feb-2023)
  tst_test.c:1131: TINFO: Mounting /dev/loop3 to /tmp/ltp-OACCjQIdTs/LTP_swaNjaHwU/mntpoint fstyp=ext2 flags=0
  tst_ioctl.c:26: TINFO: FIBMAP ioctl is supported
  swapon01.c:27: TPASS: tst_syscall(__NR_swapon, SWAP_FILE, 0) passed
  tst_test.c:1679: TINFO: If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
  tst_test.c:1681: TBROK: Test killed! (timeout?)

  Summary:
  passed   1
  failed   0
  broken   1
  skipped  0
  warnings 0
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try  1...
  tst_device.c:412: TINFO: Likely gvfsd-trash is probing newly mounted fs, kill it to speed up tests.
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try  2...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try  3...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try  4...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try  5...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try  6...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try  7...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try  8...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try  9...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 10...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 11...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 12...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 13...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 14...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 15...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 16...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 17...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 18...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 19...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 20...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 21...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 22...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 23...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 24...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 25...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 26...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 27...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 28...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 29...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 30...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 31...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 32...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 33...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 34...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 35...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 36...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 37...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 38...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 39...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 40...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 41...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 42...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 43...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 44...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 45...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 46...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 47...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 48...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 49...
  tst_device.c:408: TINFO: umount('mntpoint') failed with EBUSY, try 50...
  tst_device.c:419: TWARN: Failed to umount('mntpoint') after 50 retries
  tst_device.c:263: TWARN: ioctl(/dev/loop3, LOOP_CLR_FD, 0) no ENXIO for too long
  tst_tmpdir.c:342: TWARN: tst_rmdir: rmobj(/tmp/ltp-OACCjQIdTs/LTP_swaNjaHwU) failed: unlink(/tmp/ltp-OACCjQIdTs/LTP_swaNjaHwU/mntpoint/swapfile01) failed; errno=1: EPERM
  INFO: ltp-pan reported some tests FAIL
  LTP Version: 20240129
  INFO: Test end time: Tue Mar 12 11:55:40 UTC 2024
  stderr:
  rm: cannot remove '/tmp/ltp-OACCjQIdTs/LTP_swaNjaHwU/mntpoint/swapfile01': Operation not permitted

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



References