The following run as root will cause the instances to hang and then
reboot (by the watchdog?)

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>

int main(void)
{
        for (;;) {
                int fd;

                fd = open("/dev/hpet", O_RDONLY | O_NONBLOCK);
                close(fd);
        }
}


** Information type changed from Public to Public Security

** Information type changed from Public Security to Private Security

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws in Ubuntu.
https://bugs.launchpad.net/bugs/1841747

Title:
  dev test in ubuntu_stress_smoke_test crashes AWS c5.large with Disco

Status in Stress-ng:
  New
Status in ubuntu-kernel-tests:
  New
Status in linux-aws package in Ubuntu:
  New

Bug description:
  When testing the dev test in ubuntu_stress_smoke_test, the instance
  will crash and gets rebooted.

  Spotted on:
  * c3.xlarge
  * c4.large
  * m3.large
  * m4.large
  * r3.large
  * t2.small
  * x1e.xlarge

  Test output:
  09:10:12 DEBUG| [stdout] dentry RETURNED 0
  09:10:12 DEBUG| [stdout] dentry PASSED
  09:10:12 DEBUG| [stdout] dev STARTING
  packet_write_wait: Connection to 18.237.187.217 port 22: Broken pipe

  tailing syslog:
  Aug 28 09:10:07 ip-172-31-3-117 stress-ng: info:  [19659] dispatching hogs: 4 
dentry
  Aug 28 09:10:12 ip-172-31-3-117 stress-ng: info:  [19659] successful run 
completed in 5.13s
  Aug 28 09:10:12 ip-172-31-3-117 stress-ng: invoked with './stress-n' by user 0
  Aug 28 09:10:12 ip-172-31-3-117 stress-ng: system: 'ip-172-31-3-117' Linux 
5.0.0-1012-aws #13-Ubuntu SMP Fri Aug 2 12:25:32 UTC 2019 x86_64
  Aug 28 09:10:12 ip-172-31-3-117 stress-ng: memory (MB): total 3754.94, free 
3386.23, shared 0.06, buffer 145.52, swap 1024.00, free swap 951.48
  Aug 28 09:10:12 ip-172-31-3-117 stress-ng: info:  [19674] dispatching hogs: 4 
dev
  Aug 28 09:10:12 ip-172-31-3-117 kernel: [  481.406432] PM: Marking nosave 
pages: [mem 0x00000000-0x00000fff]
  Aug 28 09:10:12 ip-172-31-3-117 kernel: [  481.406434] PM: Marking nosave 
pages: [mem 0x0009e000-0x000fffff]
  Aug 28 09:10:12 ip-172-31-3-117 kernel: [  481.406437] PM: Basic memory 
bitmaps created
  Aug 28 09:10:12 ip-172-31-3-117 kernel: [  481.406496] PM: Basic memory 
bitmaps freed
  packet_write_wait: Connection to 18.237.187.217 port 22: Broken pipe

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: linux-image-5.0.0-1012-aws 5.0.0-1012.13
  ProcVersionSignature: User Name 5.0.0-1012.13-aws 5.0.15
  Uname: Linux 5.0.0-1012-aws x86_64
  ApportVersion: 2.20.10-0ubuntu27.1
  Architecture: amd64
  Date: Wed Aug 28 09:21:28 2019
  Ec2AMI: ami-0b731fb4a9a36df8c
  Ec2AMIManifest: (unknown)
  Ec2AvailabilityZone: us-west-2c
  Ec2InstanceType: c4.large
  Ec2Kernel: unavailable
  Ec2Ramdisk: unavailable
  SourcePackage: linux-aws
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/stress-ng/+bug/1841747/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to