Bug 14029 - qemu image failed ping test
Summary: qemu image failed ping test
Status: RESOLVED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: testimage (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 4.1
Assignee: Unassigned
QA Contact:
URL:
Whiteboard: AB-INT AB-INT-NET
: 14240 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-08-27 23:16 UTC by Richard Purdie
Modified: 2022-04-14 15:14 UTC (History)
10 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2020-08-27 23:16:46 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/53/builds/2384 fedora32-ty-1 core-image-sato

Ping test failed, therefore nothing else ran.

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemuarm/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemuarm/build/meta/lib/oeqa/runtime/cases/ping.py", line 19, in test_ping
    output += proc.communicate()[0].decode('utf-8')
  File "/usr/lib64/python3.8/subprocess.py", line 1011, in communicate
    stdout = self.stdout.read()
  File "/home/pokybuild/yocto-worker/qemuarm/build/meta/lib/oeqa/core/decorator/oetimeout.py", line 18, in _timeoutHandler
    raise OEQATimeoutError("Timed out after %s "
oeqa.core.exception.OEQATimeoutError: Timed out after 30 seconds of execution

Test case ssh.SSHTest.test_ssh depends on ping.PingTest.test_ping but it didn't pass/run.
Comment 1 Randy MacLeod 2020-09-10 07:45:09 UTC
We think that with the new 'nice' scheme implemented on the autobuilder around Sept 6-9, the responsiveness of qemu has improved and we believe that this bug may not occur again. Lowering to medium priority.
Comment 2 Anuj Mittal 2020-11-17 15:17:13 UTC
I got this issue today while building next set of changes for gatesgarth. This was on Ubuntu1804-ty2 while executing do_testimage for core-image-sato.

https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/2745/steps/9/logs/step2c

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qa-extras2/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qa-extras2/build/meta/lib/oeqa/runtime/cases/ping.py", line 19, in test_ping
    output += proc.communicate()[0].decode('utf-8')
  File "/usr/lib/python3.6/subprocess.py", line 850, in communicate
    stdout = self.stdout.read()
  File "/home/pokybuild/yocto-worker/qa-extras2/build/meta/lib/oeqa/core/decorator/oetimeout.py", line 19, in _timeoutHandler
    "seconds of execution" % timeout)
oeqa.core.exception.OEQATimeoutError: Timed out after 30 seconds of execution
Comment 3 Chee Yang 2021-01-19 09:30:06 UTC
happen again ( master, ubuntu1804-ty-2, core-image-sato )

https://autobuilder.yoctoproject.org/typhoon/#/builders/53/builds/2955/steps/13/logs/stdio
Comment 10 Randy MacLeod 2021-02-25 15:34:17 UTC
*** Bug 14240 has been marked as a duplicate of this bug. ***
Comment 11 Alexandre Belloni 2021-02-27 01:03:43 UTC
New occurence ( opensuse151-ty-1 , qemumips64 ):

https://autobuilder.yoctoproject.org/typhoon/#/builders/74/builds/3114/steps/13/logs/stdio
Comment 12 Oleksiy Obitotskyy 2021-03-22 07:30:09 UTC
Happened again:

ubuntu1804-ty-3 qemumips64

https://autobuilder.yoctoproject.org/typhoon/#/builders/74/builds/3217/steps/13/logs/stdio
Comment 13 Oleksiy Obitotskyy 2021-03-23 06:12:46 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1366

https://autobuilder.yoctoproject.org/typhoon/#/builders/63/builds/3209/steps/13/logs/stdio

Started HTTPService on 0.0.0.0:38301
Test requires apt to be installed
Stopped HTTPService on 0.0.0.0:38301
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemuppc/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemuppc/build/meta/lib/oeqa/runtime/cases/ping.py", line 19, in test_ping
    output += proc.communicate()[0].decode('utf-8')
  File "/usr/lib/python3.6/subprocess.py", line 850, in communicate
    stdout = self.stdout.read()
  File "/home/pokybuild/yocto-worker/qemuppc/build/meta/lib/oeqa/core/decorator/oetimeout.py", line 19, in _timeoutHandler
    "seconds of execution" % timeout)
oeqa.core.exception.OEQATimeoutError: Timed out after 30 seconds of execution
Comment 14 Oleksiy Obitotskyy 2021-03-25 11:01:11 UTC
qemux86-64 core-image-sato 

lib32
https://autobuilder.yoctoproject.org/typhoon/#/builders/44/builds/3267
Comment 15 Paul Eggleton 2021-03-29 03:45:20 UTC
Seems reasonable to assume this is the same issue: (qemuarm, ping succeeded but SSH subsequently failed):

https://autobuilder.yoctoproject.org/typhoon/#/builders/53/builds/3263
Comment 18 Alexandre Belloni 2021-04-29 22:30:59 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/44/builds/3380/steps/21/logs/stdio

master on ubuntu1804-ty-2
Comment 19 Alexandre Belloni 2021-05-01 23:10:12 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/44/builds/3368/steps/26/logs/stdio

qemumips64
master-next on ubuntu2004-ty-1
Comment 20 Alexandre Belloni 2021-05-06 12:21:43 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/74/builds/3359/steps/13/logs/stdio

qemumips64
master on centos8-ty-2
Comment 21 Alexandre Belloni 2021-06-16 13:51:09 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/74/builds/3511/steps/13/logs/stdio

qemumips64
debian10-ty-1
Comment 22 Randy MacLeod 2021-07-01 13:22:11 UTC
Wait a month or two to see if it happens now that the RCU hang bug fix is in.
It may still happen on due to heavy load and RCU stalls.
Comment 26 Alexandre Belloni 2022-01-31 20:42:30 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/4612/steps/12/logs/stdio

centos8-ty-1, is this the same issue as on stream8?
Comment 31 Alexandre Belloni 2022-02-02 22:34:21 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/1748/steps/14/logs/stdio
This is on ubuntu1804-ty-3
Comment 34 Oleksiy Obitotskyy 2022-02-21 09:55:14 UTC
https://autobuilder.yoctoproject.org/typhoon/#builders/107/builds/2661/steps/13/logs/stdio

qemuppc-alt ubuntu2004-ty-1
Comment 35 Steve Sakoman 2022-03-04 14:59:07 UTC
Dunfell occurrence:

https://autobuilder.yoctoproject.org/typhoon/#/builders/74/builds/4786

qemumips64 ubuntu2004-ty-1
Comment 36 Steve Sakoman 2022-03-14 16:45:08 UTC
Dunfell occurrence:

https://autobuilder.yoctoproject.org/typhoon/#/builders/107/builds/2760

qemuppc-alt ubuntu1804-ty-3
Comment 38 Alexandre Belloni 2022-04-06 12:23:30 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/2888/steps/12/logs/stdio
qemumips-alt ubuntu1804-ty-3


AssertionError: Ping timeout error for address 192.168.7.6, count 0, output: PING 192.168.7.6 (192.168.7.6) 56(84) bytes of data.
--- 192.168.7.6 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
PING 192.168.7.6 (192.168.7.6) 56(84) bytes of data.
From 192.168.7.5 icmp_seq=1 Destination Host Unreachable
--- 192.168.7.6 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
PING 192.168.7.6 (192.168.7.6) 56(84) bytes of data.
From 192.168.7.5 icmp_seq=1 Destination Host Unreachable
--- 192.168.7.6 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
PING 192.168.7.6 (192.168.7.6) 56(84) bytes of data.
From 192.168.7.5 icmp_seq=1 Destination Host Unreachable
--- 192.168.7.6 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
PING 192.168.7.6 (192.168.7.6) 56(84) bytes of data.
From 192.168.7.5 icmp_seq=1 Destination Host Unreachable
--- 192.168.7.6 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
PING 192.168.7.6 (192.168.7.6) 56(84) bytes of data.
From 192.168.7.5 icmp_seq=1 Destination Host Unreachable
--- 192.168.7.6 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
PING 192.168.7.6 (192.168.7.6) 56(84) bytes of data.
From 192.168.7.5 icmp_seq=1 Destination Host Unreachable
--- 192.168.7.6 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
Comment 39 Randy MacLeod 2022-04-14 15:14:21 UTC
We hope the systemd issues are resolved with:
https://git.yoctoproject.org/poky/commit?id=89efab2850766378d89579c094670357775b69b6 

If there are similar problems, please open a new bug.