aio-dio-invalidate-failure / aio-dio-extend-stat from aio_dio_bugs failed on F-5.8 PowerPC / G ARM64

Bug #1900791 reported by Po-Hsu Lin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

Issue found on 5.8.0-25.26~20.04.1 with P8/P9 (passed on AMD64)

Test failed with:
* aio-dio-invalidate-failure:
 Running 'zcat /home/ubuntu/autotest/client/deps/libaio/libaio-0.3.110-1.tar.gz | tar xvf - 2>/dev/null'
 Running 'make '
 make[1]: Entering directory '/home/ubuntu/autotest/client/deps/libaio/src/src'
 cc -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_queue_init.ol io_queue_init.c
 cc -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_queue_release.ol io_queue_release.c
 cc -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_queue_wait.ol io_queue_wait.c
 cc -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_queue_run.ol io_queue_run.c
 cc -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_getevents.ol io_getevents.c
 cc -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_submit.ol io_submit.c
 cc -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_cancel.ol io_cancel.c
 cc -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_setup.ol io_setup.c
 cc -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_destroy.ol io_destroy.c
 cc -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o raw_syscall.ol raw_syscall.c
 cc -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o compat-0_1.ol compat-0_1.c
 rm -f libaio.a
 ar r libaio.a io_queue_init.ol io_queue_release.ol io_queue_wait.ol io_queue_run.ol io_getevents.ol io_submit.ol io_cancel.ol io_setup.ol io_destroy.ol raw_syscall.ol compat-0_1.ol
 ar: creating libaio.a
 ranlib libaio.a
 cc -shared -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_queue_init.os io_queue_init.c
 cc -shared -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_queue_release.os io_queue_release.c
 cc -shared -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_queue_wait.os io_queue_wait.c
 cc -shared -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_queue_run.os io_queue_run.c
 cc -shared -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_getevents.os io_getevents.c
 cc -shared -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_submit.os io_submit.c
 cc -shared -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_cancel.os io_cancel.c
 cc -shared -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_setup.os io_setup.c
 cc -shared -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o io_destroy.os io_destroy.c
 cc -shared -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o raw_syscall.os raw_syscall.c
 cc -shared -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -c -o compat-0_1.os compat-0_1.c
 cc -shared -g -fomit-frame-pointer -O2 -nostdlib -nostartfiles -Wall -I. -fPIC -Wl,--version-script=libaio.map -Wl,-soname=libaio.so.1 -o libaio.so.1.0.1 io_queue_init.os io_queue_release.os io_queue_wait.os io_queue_run.os io_getevents.os io_submit.os io_cancel.os io_setup.os io_destroy.os raw_syscall.os compat-0_1.os
 make[1]: Leaving directory '/home/ubuntu/autotest/client/deps/libaio/src/src'
 Running 'make prefix=/home/ubuntu/autotest/client/deps/libaio install'
 make[1]: Entering directory '/home/ubuntu/autotest/client/deps/libaio/src/src'
 install -D -m 644 libaio.h /home/ubuntu/autotest/client/deps/libaio/include/libaio.h
 install -D -m 644 libaio.a /home/ubuntu/autotest/client/deps/libaio/lib/libaio.a
 install -D -m 755 libaio.so.1.0.1 /home/ubuntu/autotest/client/deps/libaio/lib/libaio.so.1.0.1
 ln -sf libaio.so.1.0.1 /home/ubuntu/autotest/client/deps/libaio/lib/libaio.so.1
 ln -sf libaio.so.1.0.1 /home/ubuntu/autotest/client/deps/libaio/lib/libaio.so
 make[1]: Leaving directory '/home/ubuntu/autotest/client/deps/libaio/src/src'
 Dependency libaio successfully built
 Running 'make "CFLAGS=-L /home/ubuntu/autotest/client/deps/libaio/lib -I /home/ubuntu/autotest/client/deps/libaio/include"'
 gcc -L /home/ubuntu/autotest/client/deps/libaio/lib -I /home/ubuntu/autotest/client/deps/libaio/include -o aio-dio-invalidate-failure aio-dio-invalidate-failure.c -laio
 gcc -L /home/ubuntu/autotest/client/deps/libaio/lib -I /home/ubuntu/autotest/client/deps/libaio/include -o aio-dio-subblock-eof-read aio-dio-subblock-eof-read.c -laio
 gcc -L /home/ubuntu/autotest/client/deps/libaio/lib -I /home/ubuntu/autotest/client/deps/libaio/include -o aio-free-ring-with-bogus-nr-pages aio-free-ring-with-bogus-nr-pages.c -laio
 gcc -L /home/ubuntu/autotest/client/deps/libaio/lib -I /home/ubuntu/autotest/client/deps/libaio/include -o aio-io-setup-with-nonwritable-context-pointer aio-io-setup-with-nonwritable-context-pointer.c -laio
 gcc -L /home/ubuntu/autotest/client/deps/libaio/lib -I /home/ubuntu/autotest/client/deps/libaio/include -o aio-dio-extend-stat aio-dio-extend-stat.c -laio -lpthread
 gcc -L /home/ubuntu/autotest/client/deps/libaio/lib -I /home/ubuntu/autotest/client/deps/libaio/include -o aio-cve-2016-10044 aio-cve-2016-10044.c -laio
 Running 'LD_LIBRARY_PATH=/home/ubuntu/autotest/client/deps/libaio/lib/ /home/ubuntu/autotest/client/tmp/aio_dio_bugs/src/aio-dio-invalidate-failure poo'
 open dio failed: 20

* aio-dio-extend-stat
 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'
 failed to open test file file, errno: 20

Po-Hsu Lin (cypressyew)
tags: added: aio-dio-bugs kqa-blocker ppc64el
Po-Hsu Lin (cypressyew)
tags: added: 5.8 focal
Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

Found on Groovy/linux 5.8.0-31.33

tags: added: groovy sru-20201109
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Spotted on AWS 5.8.0-1017.18

summary: aio-dio-invalidate-failure / aio-dio-extend-stat from aio_dio_bugs
- failed on F-5.8 PowerPC
+ failed on F-5.8 PowerPC / G ARM64
tags: added: sru-20201130
Revision history for this message
Ian May (ian-may) wrote :

groovy/linux-aws: 5.8.0-1034.36

tags: added: sru-20210510
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Found on groovy/aws 5.8.0-1036.38 arm64

Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Found on focal/aws-5.11 5.11.0-1013.13~20.04.1 only on instances: a1.medium, a1.metal and c6g.8xlarge.

tags: added: 5.11 sru-20210621
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Observed on G/aws, cycle sru-20210621.

tags: added: aws
Revision history for this message
Ian May (ian-may) wrote :

Found on hirsute/linux-aws: 5.11.0-1013.13

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.