ubuntu_stress_smoke_test Segmentation fault in linux from Groovy/linux 5.8.0-30.32 ADT test failure

Bug #1905205 reported by Kelsey Steele
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Invalid
High
Colin Ian King
Groovy
Invalid
High
Colin Ian King
stress-ng (Ubuntu)
Fix Released
Undecided
Unassigned
Groovy
Fix Released
High
Colin Ian King

Bug Description

Testing failed on:
    s390x: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/s390x/l/linux/20201118_202847_def86@/log.gz

20:00:50 DEBUG| Running '/tmp/autopkgtest.LZC6UJ/build.jQO/src/autotest/client/tests/ubuntu_stress_smoke_test/ubuntu_stress_smoke_test.sh'
20:00:50 DEBUG| [stdout] Free memory: 5651 MB
20:00:50 DEBUG| [stdout] Memory used: 5086 MB
20:00:50 DEBUG| [stdout] other
20:00:50 DEBUG| [stdout] autopkgtest: s390x 8030 MB memory, 68 GB disk
20:00:50 ERROR| [stderr] 1024+0 records in
20:00:50 ERROR| [stderr] 1024+0 records out
20:00:50 ERROR| [stderr] 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.81414 s, 1.3 GB/s
20:00:51 DEBUG| [stdout] Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
20:00:51 DEBUG| [stdout] no label, UUID=071fa2ff-fbfe-47a7-bef2-08c3280b72b5
20:00:51 DEBUG| [stdout]
20:00:51 DEBUG| [stdout] Machine Configuration
20:00:51 DEBUG| [stdout] Physical Pages: 2055854
20:00:51 DEBUG| [stdout] Pages available: 1177643
20:00:51 DEBUG| [stdout] Page Size: 4096
20:00:51 DEBUG| [stdout] Zswap enabled: Y
20:00:51 DEBUG| [stdout]
20:00:51 DEBUG| [stdout] Free memory:
20:00:51 DEBUG| [stdout] total used free shared buff/cache available
20:00:51 DEBUG| [stdout] Mem: 8223416 518104 4710240 324 2995072 7572304
20:00:51 DEBUG| [stdout] Swap: 1048572 0 1048572
20:00:51 DEBUG| [stdout]
20:00:51 DEBUG| [stdout] Number of CPUs: 4
20:00:51 DEBUG| [stdout] Number of CPUs Online: 4
20:00:51 DEBUG| [stdout]

[....]

20:05:27 DEBUG| [stdout] get STARTING
20:05:27 DEBUG| [stdout] get RETURNED 2
20:05:27 DEBUG| [stdout] get FAILED
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583762] 4 processors online, 4 processors configured
20:05:27 DEBUG| [stdout] stress-ng: info: [2583762] dispatching hogs: 4 get
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583762] cache allocate: reducing cache level from L3 (too high) to L2
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583762] cache allocate: default cache size: 2048K
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583762] starting stressors
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583763] stress-ng-get: started [2583763] (instance 0)
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583764] stress-ng-get: started [2583764] (instance 1)
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583762] 4 stressors started
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583765] stress-ng-get: started [2583765] (instance 2)
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583766] stress-ng-get: started [2583766] (instance 3)
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583762] process [2583763] (stress-ng-get) terminated on signal: 11 (Segmentation fault)
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583762] process [2583763] terminated
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583762] process [2583764] (stress-ng-get) terminated on signal: 11 (Segmentation fault)
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583762] process [2583764] terminated
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583762] process [2583765] (stress-ng-get) terminated on signal: 11 (Segmentation fault)
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583762] process [2583765] terminated
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583762] process [2583766] (stress-ng-get) terminated on signal: 11 (Segmentation fault)
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583762] process [2583766] terminated
20:05:27 DEBUG| [stdout] stress-ng: info: [2583762] unsuccessful run completed in 0.02s
20:05:27 DEBUG| [stdout] stress-ng: debug: [2583762] metrics-check: all stressor metrics validated and sane
20:05:27 DEBUG| [stdout]
20:05:27 DEBUG| [stdout] [ 4705.252851] warning: process `stress-ng-get' used the deprecated sysctl system call with 4.
20:05:27 DEBUG| [stdout]

[...]

20:17:34 DEBUG| [stdout]
20:17:34 DEBUG| [stdout] Summary:
20:17:34 DEBUG| [stdout] Stressors run: 204
20:17:34 DEBUG| [stdout] Skipped: 1, binderfs
20:17:34 DEBUG| [stdout] Failed: 1, get
20:17:34 DEBUG| [stdout] Oopsed: 0,
20:17:34 DEBUG| [stdout] Oomed: 0,
20:17:34 DEBUG| [stdout] Passed: 202, access af-alg affinity aio aiol bad-altstack bad-ioctl bigheap branch brk cache cap chattr chdir chmod chown chroot clock close context cpu crypt cyclic daemon dccp dentry dev dev-shm dir dirdeep dnotify dup dynlib enosys env epoll eventfd fallocate fanotify fault fcntl fiemap fifo file-ioctl filename flock fork fp-error fstat full funcret futex getdent getrandom handle hdd hrtimers icache icmp-flood inode-flags inotify io iomix ioprio io-uring ipsec-mb itimer judy key kill klog lease link locka lockbus lockf lockofd loop madvise malloc mcontend membarrier memfd memhotplug memrate memthrash mergesort mincore mknod mlock mmap mmapaddr mmapfixed mmapfork mmapmany mq mremap msg msync nanosleep netdev netlink-proc netlink-task nice null open personality physpage pidfd pipe pipeherd pkey poll prctl procfs pthread ptrace pty radixsort ramfs rawdev rawpkt rawsock rawudp readahead reboot rename revio rlimit rmap rtc schedpolicy sctp seal seccomp seek sem sem-sysv sendfile session set shellsort shm shm-sysv sigabrt sigchld sigfd sigfpe sigio signal sigpending sigpipe sigq sigrt sigsegv sigsuspend sigtrap skiplist sleep sock sockabuse sockdiag sockmany softlockup splice stackmmap stream swap switch symlink sync-file sysbadaddr sysinval sysfs tee timer timerfd tlb-shootdown tmpfs tree tsearch tun udp udp-flood unshare uprobe urandom userfaultfd utime vdso verity vfork vm vm-addr vm-rw vm-segv vm-splice wait x86syscall yield zero zombie
20:17:34 DEBUG| [stdout] Badret: 0,
20:17:34 DEBUG| [stdout]
20:17:34 DEBUG| [stdout] Tests took 988 seconds to run
20:17:34 ERROR| Exception escaping from test:
Traceback (most recent call last):
  File "/tmp/autopkgtest.LZC6UJ/build.jQO/src/autotest/client/shared/test.py", line 411, in _exec
    _call_test_function(self.execute, *p_args, **p_dargs)
  File "/tmp/autopkgtest.LZC6UJ/build.jQO/src/autotest/client/shared/test.py", line 823, in _call_test_function
    return func(*args, **dargs)
  File "/tmp/autopkgtest.LZC6UJ/build.jQO/src/autotest/client/shared/test.py", line 291, in execute
    postprocess_profiled_run, args, dargs)
  File "/tmp/autopkgtest.LZC6UJ/build.jQO/src/autotest/client/shared/test.py", line 212, in _call_run_once
    self.run_once(*args, **dargs)
  File "/tmp/autopkgtest.LZC6UJ/build.jQO/src/autotest/client/tests/ubuntu_stress_smoke_test/ubuntu_stress_smoke_test.py", line 72, in run_once
    self.results = utils.system_output(cmd, retain_output=True)
  File "/tmp/autopkgtest.LZC6UJ/build.jQO/src/autotest/client/shared/utils.py", line 1267, in system_output
    verbose=verbose, args=args).stdout
  File "/tmp/autopkgtest.LZC6UJ/build.jQO/src/autotest/client/shared/utils.py", line 918, in run
    "Command returned non-zero exit status")
CmdError: Command </tmp/autopkgtest.LZC6UJ/build.jQO/src/autotest/client/tests/ubuntu_stress_smoke_test/ubuntu_stress_smoke_test.sh> failed, rc=1, Command returned non-zero exit status
* Command:
    /tmp/autopkgtest.LZC6UJ/build.jQO/src/autotest/client/tests/ubuntu_stress
    _smoke_test/ubuntu_stress_smoke_test.sh
Exit status: 1
Duration: 1004.59379888

tags: added: kernel-adt-failure
description: updated
description: updated
description: updated
summary: - linux 5.8.0-30.32 ADT test failure with linux 5.8.0-30.32
+ ubuntu_stress_smoke_test Segmentation fault in linux from Groovy/linux
+ 5.8.0-30.32 ADT test failure
tags: added: 5.8 groovy qka-blocker s390x sru-20201109
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1905205

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu Groovy):
status: New → Confirmed
Changed in linux (Ubuntu):
assignee: nobody → Colin Ian King (colin-king)
status: Incomplete → In Progress
importance: Undecided → High
Changed in ubuntu-kernel-tests:
status: New → Confirmed
Revision history for this message
Colin Ian King (colin-king) wrote :
Changed in stress-ng (Ubuntu Groovy):
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Colin Ian King (colin-king)
Changed in linux (Ubuntu):
status: In Progress → New
status: New → Triaged
Changed in linux (Ubuntu Groovy):
status: Confirmed → Triaged
importance: Undecided → High
assignee: nobody → Colin Ian King (colin-king)
Po-Hsu Lin (cypressyew)
tags: added: ubuntu-stress-smoke-test
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Issue fixed:

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/s390x/l/linux/20201123_162859_74035@/log.gz

16:08:17 INFO | Summary:
16:08:17 INFO | Stressors run: 204
16:08:17 INFO | Skipped: 1, binderfs
16:08:17 INFO | Failed: 0,
16:08:17 INFO | Oopsed: 0,
16:08:17 INFO | Oomed: 0,
16:08:17 INFO | Passed: 203, access af-alg affinity aio aiol bad-altstack bad-ioctl bigheap branch brk cache cap chattr chdir chmod chown chroot clock close context cpu crypt cyclic daemon dccp dentry dev dev-shm dir dirdeep dnotify dup dynlib enosys env epoll eventfd fallocate fanotify fault fcntl fiemap fifo file-ioctl filename flock fork fp-error fstat full funcret futex get getdent getrandom handle hdd hrtimers icache icmp-flood inode-flags inotify io iomix ioprio io-uring ipsec-mb itimer judy key kill klog lease link locka lockbus lockf lockofd loop madvise malloc mcontend membarrier memfd memhotplug memrate memthrash mergesort mincore mknod mlock mmap mmapaddr mmapfixed mmapfork mmapmany mq mremap msg msync nanosleep netdev netlink-proc netlink-task nice null open personality physpage pidfd pipe pipeherd pkey poll prctl procfs pthread ptrace pty radixsort ramfs rawdev rawpkt rawsock rawudp readahead reboot rename revio rlimit rmap rtc schedpolicy sctp seal seccomp seek sem sem-sysv sendfile session set shellsort shm shm-sysv sigabrt sigchld sigfd sigfpe sigio signal sigpending sigpipe sigq sigrt sigsegv sigsuspend sigtrap skiplist sleep sock sockabuse sockdiag sockmany softlockup splice stackmmap stream swap switch symlink sync-file sysbadaddr sysinval sysfs tee timer timerfd tlb-shootdown tmpfs tree tsearch tun udp udp-flood unshare uprobe urandom userfaultfd utime vdso verity vfork vm vm-addr vm-rw vm-segv vm-splice wait x86syscall yield zero zombie
16:08:17 INFO | Badret: 0,
16:08:17 INFO |
16:08:17 INFO | Tests took 995 seconds to run
16:08:18 INFO | GOOD ubuntu_stress_smoke_test.stress-smoke-test ubuntu_stress_smoke_test.stress-smoke-test timestamp=1606147698 localtime=Nov 23 16:08:18 completed successfully
16:08:18 INFO | END GOOD ubuntu_stress_smoke_test.stress-smoke-test ubuntu_stress_smoke_test.stress-smoke-test timestamp=1606147698 localtime=Nov 23 16:08:18

Thanks, Colin!

Changed in ubuntu-kernel-tests:
status: Confirmed → Fix Released
Changed in linux (Ubuntu):
status: Triaged → Invalid
Changed in linux (Ubuntu Groovy):
status: Triaged → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (11.4 KiB)

This bug was fixed in the package stress-ng - 0.12.00-1

---------------
stress-ng (0.12.00-1) unstable; urgency=medium

  * Makefile: bump version
  * stress-epoll: fix sanity check for an unexpected epoll_ctl success
  * stress-funccall: disable ALWAYS_INLINE for PCC
  * stress-inotify: add void argument, fixes pcc build warning
  * stress-epoll: fix pcc build warning
  * stress-close: add invalid flags call to close_range
  * core-shim: add flags field to close_range shim to match 5.10
    system call
  * stress-utime: voidify return using assignment and voidification
  * stress-stack: reduce scope of variable ret
  * stress-sock: clean up some cppcheck warnings
  * stress-mlock: put HAVE_MLOCKALL into a statement block
  * stress-affinity: add in missing voidification of ret
  * stress-brk: remove redundant return 0 statement
  * stress-pkey: limit pkey system call warning to just instance 0
  * core-helper: don't use getpwent for static stress-ng builds:
  * stress-stack: rename sz to mlock_sz to avoid variable shadowing
  * stress-pthread: remove duplicate declaration of ret to clean up
    build warning
  * stress-msg: rename variable i to j to avoid name shadowing warning
  * stress-prctl: remove redundant declaration of environ
  * stress-msg: clean up variable shadowing
  * stress-yield: workaround FreeBSD usleep bug
  * stress-timer: workaround duplicated timer_delete segfault in FreeBSD
  * stress-ng.h: make shim_unconstify_ptr a static inline helper
  * stress-link: cast getpid() return to int for %d format specifier
  * stress-open: only declare obsolete_futimesat when it is required
  * stress-mmap: voidify page_size if HAVE_MPROTECT is not defined
  * stress-access: declare variable j only if HAVE_FACCESSAT is defined
  * stress-sem-sysv: silently ignore failures on semctl commands
  * stress-sem-sysv: ensure 4th arg of semctl is zero when not used
  * stress-sem-sysv: fix zero semaphores case in GETALL semctl
  * stress-brk: don't exercise mlockall with MCL_FUTURE if it is not
    defined
  * Fix clobbering of errno by error message logging before reading errno
  * stress-sem-sysv: move scope of array sems
  * stress-poll: make tv_nsec out of range value a 32 bit value
  * stress-mmap: only use PROT_GROWSUP and PROT_GROWSDOWN if supported
  * Fix ~0ULL cast to void * build warnings on 32 bit builds
  * kernel-coverage: add --pathological for sysinval stress
  * syscalls: update work to do and recent changes
  * stress-vm-splice: add pipe to memory vmsplicing
  * stress-utime: exercise utime family of calls with invalid filenames
  * stress-sysinfo: fix build issues introduced by previous commit
  * stress-sysinfo: exercise ustat with invalid major/minor
  * stress-userfaultfd: exercise UFFDIO_WAKE
  * stress-ramfs: exercise umount with some invalid pathnames
  * stress-binderfs: exercise invalid umount calls
  * stress-hdd: exercise invalid ftruncate/truncate fd/filename
  * stress-hdd: exercise invalid ftruncate/truncate size
  * stress-timer: exercise duplicated timer_delete
  * stress-pthread: add tkill to shim and exercise it
  * stress-pthread: add tgkill to shim and exercise it
  * stress-sync-file: exercise 0 nbytes sy...

Changed in stress-ng (Ubuntu):
status: New → Fix Released
Changed in stress-ng (Ubuntu Groovy):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.