canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #06911
[Bug 1856010] Re: xfrm_policy.sh / pmtu.sh / udpgso_bench.sh from net in ubuntu_kernel_selftests will fail with timeout if running the whole suite
** Tags added: kernel-daily-bug
--
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/1856010
Title:
xfrm_policy.sh / pmtu.sh / udpgso_bench.sh from net in
ubuntu_kernel_selftests will fail with timeout if running the whole
suite
Status in ubuntu-kernel-tests:
Fix Released
Status in linux package in Ubuntu:
Opinion
Status in linux-oem-5.6 package in Ubuntu:
Invalid
Status in linux source package in Bionic:
Fix Released
Status in linux-oem-5.6 source package in Bionic:
Invalid
Status in linux source package in Focal:
Opinion
Status in linux-oem-5.6 source package in Focal:
Won't Fix
Status in linux source package in Groovy:
Opinion
Status in linux-oem-5.6 source package in Groovy:
Invalid
Status in linux source package in Hirsute:
Opinion
Status in linux-oem-5.6 source package in Hirsute:
Invalid
Status in linux source package in Impish:
Opinion
Status in linux-oem-5.6 source package in Impish:
Invalid
Bug description:
[Impact]
These 3 tests will fail with timeout error when running the whole
"net" test in ubuntu_kernel_selftests:
* not ok 12 selftests: net: xfrm_policy.sh # TIMEOUT
* not ok 16 selftests: net: pmtu.sh # TIMEOUT
* not ok 19 selftests: net: udpgso_bench.sh # TIMEOUT
They will pass if you run them manually. This is because of the
default 45 seconds timeout in kselftest framework.
A quick test shows these tests will take about:
xfrm_policy.sh - 2m19.690s
pmtu.sh - 3m6.832s
udpgso_bench.sh - 0m57.985s
[Fix]
* b881d089c7c9c7 ("selftests/net: bump timeout to 5 minutes")
We have commit 852c8cbf34d3b3 ("selftests/kselftest/runner.sh: Add 45
second timeout per test") for default timeout added since Bionic.
However there is a SAUCE patch ("UBUNTU: SAUCE: selftests/net --
disable timeout") to disable timeout for the net test in newer
releases. I think we can leave it as-is for the moment unless some
test is hanging too long because of that.
Therefore Only Bionic needs this patch, the patch can be applied with
some context adjustment.
[Test]
With this patch applied, these tests should have a chance to finish.
[Where problems could occur]
The fix is just for testing tool, no actual impact to real kernel
functions. If this 5 minutes timeout is not enough, we might still
seeing this kind of failures in the test report.
[Original Bug Report]
These 3 tests will fail with timeout when running the whole "net" test in ubuntu_kernel_selftests:
* not ok 12 selftests: net: xfrm_policy.sh # TIMEOUT
* not ok 16 selftests: net: pmtu.sh # TIMEOUT
* not ok 19 selftests: net: udpgso_bench.sh # TIMEOUT
However they will pass if you run them manually.
So there must be some test in net that will cause this.
From the test result it looks like the test was executed in the following sequence:
ok 1 selftests: net: reuseport_bpf
ok 2 selftests: net: reuseport_bpf_cpu
ok 3 selftests: net: reuseport_bpf_numa
ok 4 selftests: net: reuseport_dualstack
# Successok 5 selftests: net: reuseaddr_conflict
ok 6 selftests: net: tls
ok 7 selftests: net: run_netsocktests
ok 8 selftests: net: run_afpackettests
ok 9 selftests: net: test_bpf.sh
ok 10 selftests: net: netdevice.sh
ok 11 selftests: net: rtnetlink.sh
not ok 12 selftests: net: xfrm_policy.sh # TIMEOUT
not ok 13 selftests: net: test_blackhole_dev.sh # exit=1
ok 14 selftests: net: fib_tests.sh
ok 15 selftests: net: fib-onlink-tests.sh
not ok 16 selftests: net: pmtu.sh # TIMEOUT
ok 17 selftests: net: udpgso.sh
not ok 18 selftests: net: ip_defrag.sh # exit=255
not ok 19 selftests: net: udpgso_bench.sh # TIMEOUT
ok 20 selftests: net: fib_rule_tests.sh
not ok 21 selftests: net: msg_zerocopy.sh # exit=1
ok 22 selftests: net: psock_snd.sh
ok 23 selftests: net: udpgro_bench.sh
ok 24 selftests: net: udpgro.sh
ok 25 selftests: net: test_vxlan_under_vrf.sh
ok 26 selftests: net: reuseport_addr_any.sh
ok 27 selftests: net: test_vxlan_fdb_changelink.sh
ok 28 selftests: net: so_txtime.sh
ok 29 selftests: net: ipv6_flowlabel.sh
ok 30 selftests: net: tcp_fastopen_backup_key.sh
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: linux-image-5.3.0-1009-aws 5.3.0-1009.10
ProcVersionSignature: User Name 5.3.0-1009.10-aws 5.3.13
Uname: Linux 5.3.0-1009-aws aarch64
ApportVersion: 2.20.11-0ubuntu8.3
Architecture: arm64
Date: Wed Dec 11 06:42:39 2019
Ec2AMI: ami-047cec24582f6ae0d
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-west-2c
Ec2InstanceType: a1.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/ubuntu-kernel-tests/+bug/1856010/+subscriptions