All of lore.kernel.org
 help / color / mirror / Atom feed
* Ping issues on systemd images - Intermittent Notes
@ 2022-04-06 15:52 Richard Purdie
  2022-04-06 16:31 ` [OE-core] " Alexander Kanavin
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2022-04-06 15:52 UTC (permalink / raw)
  To: openembedded-core

Do we have any experts on systemd and connman? I did find a little more data on
some of our mystery autobuilder ping failures:

Ping issues on systemd images
=============================

This failed with my ping test debugging present so we got more info. The host
was unreachable.

https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/2888/steps/12/logs/stdio

I reran the testimage and it passed. I diff'd the qemu console log output and
there wasn't any difference that was meaningful. The testimage log output wasn't
meaningful.

I did find this interesting though:

pokybuild@ubuntu1804-ty-3:~/yocto-worker/qemumips-alt/build/build/tmp/log/runtime-hostdump/202204051947_qemu$ cat target_00_ip 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 52:54:00:12:34:06 brd ff:ff:ff:ff:ff:ff
    inet 169.254.89.149/16 brd 169.254.255.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:fe12:3406/64 scope link 
       valid_lft forever preferred_lft forever

The :06 at the end of the mac address shows it was the right qemu and I couldn't
find any other qemu using 192.168.7.6 on that machine at the time. Note there is
no ip address configured for that interface.

I suspect something in systemd+connman is causing this intermittently. We need
better network interface debug enabled in connman/systemd so we can attempt to
debug this further. Any pointers on how to do that very welcome!

Cheers,

Richard






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [OE-core] Ping issues on systemd images - Intermittent Notes
  2022-04-06 15:52 Ping issues on systemd images - Intermittent Notes Richard Purdie
@ 2022-04-06 16:31 ` Alexander Kanavin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Kanavin @ 2022-04-06 16:31 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core

sysvinit starts connmand with '-I eth0' (ignore eth0), but systemd
does not. I'll send a patch.

Alex

On Wed, 6 Apr 2022 at 17:52, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> Do we have any experts on systemd and connman? I did find a little more data on
> some of our mystery autobuilder ping failures:
>
> Ping issues on systemd images
> =============================
>
> This failed with my ping test debugging present so we got more info. The host
> was unreachable.
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/2888/steps/12/logs/stdio
>
> I reran the testimage and it passed. I diff'd the qemu console log output and
> there wasn't any difference that was meaningful. The testimage log output wasn't
> meaningful.
>
> I did find this interesting though:
>
> pokybuild@ubuntu1804-ty-3:~/yocto-worker/qemumips-alt/build/build/tmp/log/runtime-hostdump/202204051947_qemu$ cat target_00_ip
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 scope host lo
>        valid_lft forever preferred_lft forever
>     inet6 ::1/128 scope host
>        valid_lft forever preferred_lft forever
> 2: eth0: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
>     link/ether 52:54:00:12:34:06 brd ff:ff:ff:ff:ff:ff
>     inet 169.254.89.149/16 brd 169.254.255.255 scope global eth0
>        valid_lft forever preferred_lft forever
>     inet6 fe80::5054:ff:fe12:3406/64 scope link
>        valid_lft forever preferred_lft forever
>
> The :06 at the end of the mac address shows it was the right qemu and I couldn't
> find any other qemu using 192.168.7.6 on that machine at the time. Note there is
> no ip address configured for that interface.
>
> I suspect something in systemd+connman is causing this intermittently. We need
> better network interface debug enabled in connman/systemd so we can attempt to
> debug this further. Any pointers on how to do that very welcome!
>
> Cheers,
>
> Richard
>
>
>
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#164088): https://lists.openembedded.org/g/openembedded-core/message/164088
> Mute This Topic: https://lists.openembedded.org/mt/90292799/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-06 16:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 15:52 Ping issues on systemd images - Intermittent Notes Richard Purdie
2022-04-06 16:31 ` [OE-core] " Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.