Skip to content

Some stressors of stress-ng will always fail #800

@rickwu666666

Description

@rickwu666666

Bug Description

We discovered that certain stressors in stress-ng would consistently fail due to being disabled by default, resulting in an exit code of 1. This situation caused the test job to fail, even though the stressor was not executed. But seems the latest version of stress-ng has resolved this issue.
However, we've noticed that stress-ng no longer supports the SNAP version. The stress-ng snap is no longer on the snap store and the snapcraft.yaml file has been removed from the git repo. This raises concerns about stress-ng's suitability for the UC environment.

For X86 platform:
https://certification.canonical.com/hardware/202310-32151/submission/339803/test-results/fail/
bad-ioctl
bind-mount
mlockmany
oom-pipe
sysinval
watchdog

For ARM64 platform:
https://certification.canonical.com/hardware/202304-31535/submission/326256/test-results/fail/?term=stressor
bind-mount
cpu-online
mlockmany
oom-pipe
smi
sysinval
watchdog

To Reproduce

  1. Run stress-ng stressor in checkbox shell
    $ sudo checkbox.shell
    $ stress-ng --watchdog 0 --timeout 30 --skip-silent --verbose

Environment

  • OS: UC20 and UC22
  • stress-ng version 0.15.07 and 0.15.09

Relevant log output

stress-ng: debug: [367553] invoked with 'stress-ng --bad-ioctl 0 --timeout 30 --skip-silent --verbose' by user 1000
stress-ng: debug: [367553] stress-ng 0.15.09 gefc98a49f14e
stress-ng: debug: [367553] system: Linux ubuntu 5.15.0-86-generic #96-Ubuntu SMP Wed Sep 20 08:23:49 UTC 2023 x86_64, glibc 2.35
stress-ng: debug: [367553] RAM total: 3.6G, RAM free: 1.6G, swap free: 0.0
stress-ng: debug: [367553] temporary file path: '/var/tmp', filesystem type: ext2 (13864259 blocks available)
stress-ng: debug: [367553] 4 processors online, 4 processors configured
stress-ng: info:  [367553] disabled 'bad-ioctl' as it may hang or reboot the machine (enable it with the --pathological option)
stress-ng: info:  [367553] setting to a 30 second run per stressor
stress-ng: error: [367553] No stress workers invoked
EXIT_CODE=1

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions