aio_dio_bugs.aio-dio-extend-stat can fail to open test file on linux-aws 5.13 ARM64

Bug #1945949 reported by Andrea Righi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

aio_dio_bugs can fail with the following error on linux-aws (5.13 - even if this error is present since 5.8) ARM64 instances:
  * a1.medium
  * a1.metal
  * c6g.8xlarge

With:
        11:10:09 DEBUG| Persistent state client._record_indent now set to 2
        11:10:09 DEBUG| Persistent state client.unexpected_reboot now set to ('aio_dio_bugs.aio-dio-extend-stat', 'aio_dio_bugs.aio-dio-extend-stat')
        11:10:09 DEBUG| Waiting for pid 8727 for 600 seconds
        11:10:09 WARNI| System python is too old, crash handling disabled
        11:10:09 DEBUG| Running 'LD_LIBRARY_PATH=/home/ubuntu/autotest/client/deps/libaio/lib/ /home/ubuntu/autotest/client/tmp/aio_dio_bugs/src/aio-dio-extend-stat file'
        11:10:09 DEBUG| [stdout] failed to open test file file, errno: 20
        11:10:09 ERROR| Exception escaping from test:
        Traceback (most recent call last):
          File "/home/ubuntu/autotest/client/shared/test.py", line 411, in _exec
            _call_test_function(self.execute, *p_args, **p_dargs)
          File "/home/ubuntu/autotest/client/shared/test.py", line 823, in _call_test_function
            return func(*args, **dargs)
          File "/home/ubuntu/autotest/client/shared/test.py", line 291, in execute
            postprocess_profiled_run, args, dargs)
          File "/home/ubuntu/autotest/client/shared/test.py", line 212, in _call_run_once
            self.run_once(*args, **dargs)
          File "/home/ubuntu/autotest/client/tests/aio_dio_bugs/aio_dio_bugs.py", line 47, in run_once
            utils.system(var_ld_path + ' ' + cmd)
          File "/home/ubuntu/autotest/client/shared/utils.py", line 1232, in system
            verbose=verbose).exit_status
          File "/home/ubuntu/autotest/client/shared/utils.py", line 918, in run
            "Command returned non-zero exit status")
        CmdError: Command failed, rc=1, Command returned non-zero exit status
        * Command:
            LD_LIBRARY_PATH=/home/ubuntu/autotest/client/deps/libaio/lib/
            /home/ubuntu/autotest/client/tmp/aio_dio_bugs/src/aio-dio-extend-stat file
        Exit status: 1
        Duration: 0.0117130279541

It might be a race in the test, more than a kernel bug, but it's worth investigating.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Note that this issue seems limited to ARM64. I have the bug title / description updated accordingly.

summary: aio_dio_bugs.aio-dio-extend-stat can fail to open test file on linux-aws
- 5.13
+ 5.13 ARM64
tags: added: aio-dio-bugs arm64 aws impish sru-20210927
description: updated
tags: added: 5.13
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This issue can be found on H-AWS-5.11.0-1020.21 ARM64 as well.

tags: added: 5.11 hirsute
Po-Hsu Lin (cypressyew)
tags: added: sru-20230227
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.