core-image-minimal does not have ssh server in image so maybe start
with core-image-base or something or add
IMAGE_FEATURES += "ssh-server-openssh package-management hwcodecs" to local.conf

you might need to prepare the target testing setup

especially TEST_TARGET_IP and TEST_SERVER_IP and TEST_TARGET
see - 
https://github.com/YoeDistro/yoe-distro/blob/master/conf/projects/visionfive2/config.conf#L18-L20

On Mon, Sep 25, 2023 at 10:23 AM Sandeep Gundlupet Raju via
lists.openembedded.org
<sandeep.gundlupet-raju=amd....@lists.openembedded.org> wrote:
>
> Hi All,
>
> I'm running testimage for arm32(beaglebone-yocto, zynq-generic and
> microblaze targets) using master and I see ping timeout issue as shown
> below but I don't see this issue with ARM64 targets or qemuarm. Any help
> would be much appreciated.
>
> /scratch1/sandeepg/yocto/yp-master/build-ci-master  $ time
> MACHINE=beaglebone-yocto bitbake core-image-minimal -c testimage
> Loading cache: 100%
> |###############################################################################################################################################################################|
> Time: 0:00:00
> Loaded 1812 entries from dependency cache.
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION           = "2.6.0"
> BUILD_SYS            = "x86_64-linux"
> NATIVELSBSTRING      = "universal"
> TARGET_SYS           = "arm-poky-linux-gnueabi"
> MACHINE              = "beaglebone-yocto"
> DISTRO               = "poky"
> DISTRO_VERSION       =
> "4.2+snapshot-8815eefb0d6218661794a58008e1144a77d3394f"
> TUNE_FEATURES        = "arm vfp cortexa8 neon callconvention-hard"
> TARGET_FPU           = "hard"
> meta
> meta-poky
> meta-yocto-bsp       = "master:8815eefb0d6218661794a58008e1144a77d3394f"
>
> Initialising tasks: 100%
> |##########################################################################################################################################################################|
> Time: 0:00:00
> Sstate summary: Wanted 3 Local 0 Mirrors 0 Missed 3 Current 261 (0%
> match, 98% complete)
> NOTE: Executing Tasks
> QMP Available for connection at
> /scratch1/sandeepg/yocto/yp-master/build-ci-master/tmp/.pb069a_h
> QMP connected to QEMU at 09/25/23 11:06:10 and took 0.53 seconds
> QMP released QEMU at 09/25/23 11:06:10 and took 0.04 seconds from connect
> Test requires apt to be installed
> Traceback (most recent call last):
>    File
> "/scratch1/sandeepg/yocto/yp-master/sources/poky/meta/lib/oeqa/runtime/cases/ping.py",
> line 25, in test_ping
>      output += proc.communicate()[0].decode('utf-8')
>    File "/usr/lib/python3.10/subprocess.py", line 1141, in communicate
>      stdout = self.stdout.read()
>    File
> "/scratch1/sandeepg/yocto/yp-master/sources/poky/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
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>    File
> "/scratch1/sandeepg/yocto/yp-master/sources/poky/meta/lib/oeqa/core/decorator/__init__.py",
> line 35, in wrapped_f
>      return func(*args, **kwargs)
>    File
> "/scratch1/sandeepg/yocto/yp-master/sources/poky/meta/lib/oeqa/runtime/cases/ping.py",
> line 32, in test_ping
>      self.fail("Ping timeout error for address %s, count %s, output: %s"
> % (self.target.ip, count, output))
> AssertionError: Ping timeout error for address 192.168.7.2, count 0,
> output: PING 192.168.7.2 (192.168.7.2) 56(84) bytes of data.
>  From 192.168.7.1 icmp_seq=1 Destination Host Unreachable
>
> --- 192.168.7.2 ping statistics ---
> 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
>
> PING 192.168.7.2 (192.168.7.2) 56(84) bytes of data.
>  From 192.168.7.1 icmp_seq=1 Destination Host Unreachable
>
> --- 192.168.7.2 ping statistics ---
> 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
>
> PING 192.168.7.2 (192.168.7.2) 56(84) bytes of data.
>  From 192.168.7.1 icmp_seq=1 Destination Host Unreachable
>
> --- 192.168.7.2 ping statistics ---
> 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
>
> PING 192.168.7.2 (192.168.7.2) 56(84) bytes of data.
>  From 192.168.7.1 icmp_seq=1 Destination Host Unreachable
>
> --- 192.168.7.2 ping statistics ---
> 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
>
> PING 192.168.7.2 (192.168.7.2) 56(84) bytes of data.
>  From 192.168.7.1 icmp_seq=1 Destination Host Unreachable
>
> --- 192.168.7.2 ping statistics ---
> 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
>
> PING 192.168.7.2 (192.168.7.2) 56(84) bytes of data.
>  From 192.168.7.1 icmp_seq=1 Destination Host Unreachable
>
> --- 192.168.7.2 ping statistics ---
> 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
>
> PING 192.168.7.2 (192.168.7.2) 56(84) bytes of data.
>  From 192.168.7.1 icmp_seq=1 Destination Host Unreachable
>
> --- 192.168.7.2 ping statistics ---
> 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
>
> Test requires openssh-sshd, or dropbear to be installed
> Test requires autoconf to be installed
> Test requires gtk+3 to be installed
> Test requires autoconf to be installed
> Test requires connman to be installed
> Test case connman.ConnmanTest.test_connmand_running depends on
> connman.ConnmanTest.test_connmand_help but it didn't pass/run.
> Test case date.DateTest.test_date depends on ssh.SSHTest.test_ssh but it
> didn't pass/run.
> Test case df.DfTest.test_df depends on ssh.SSHTest.test_ssh but it
> didn't pass/run.
> Test case dnf.DnfBasicTest.test_dnf_help depends on ssh.SSHTest.test_ssh
> but it didn't pass/run.
> Test case dnf.DnfBasicTest.test_dnf_history depends on
> dnf.DnfBasicTest.test_dnf_help but it didn't pass/run.
> Test case dnf.DnfBasicTest.test_dnf_info depends on
> dnf.DnfBasicTest.test_dnf_help but it didn't pass/run.
> Test case dnf.DnfBasicTest.test_dnf_search depends on
> dnf.DnfBasicTest.test_dnf_help but it didn't pass/run.
> Test case dnf.DnfBasicTest.test_dnf_version depends on
> dnf.DnfBasicTest.test_dnf_help but it didn't pass/run.
> Test case dnf.DnfRepoTest.test_dnf_makecache depends on
> dnf.DnfBasicTest.test_dnf_help but it didn't pass/run.
> Test case dnf.DnfRepoTest.test_dnf_exclude depends on
> dnf.DnfRepoTest.test_dnf_makecache but it didn't pass/run.
> Test case dnf.DnfRepoTest.test_dnf_install depends on
> dnf.DnfRepoTest.test_dnf_makecache but it didn't pass/run.
> Test case dnf.DnfRepoTest.test_dnf_install_dependency depends on
> dnf.DnfRepoTest.test_dnf_install but it didn't pass/run.
> Test case dnf.DnfRepoTest.test_dnf_install_from_disk depends on
> dnf.DnfRepoTest.test_dnf_install_dependency but it didn't pass/run.
> Test case dnf.DnfRepoTest.test_dnf_install_from_http depends on
> dnf.DnfRepoTest.test_dnf_install_from_disk but it didn't pass/run.
> Test case dnf.DnfRepoTest.test_dnf_installroot depends on
> dnf.DnfRepoTest.test_dnf_makecache but it didn't pass/run.
>
> .....
>
> core-image-minimal () - Ran 71 tests in 55.191s
> core-image-minimal - FAIL - Required tests failed (successes=0,
> skipped=70, failures=1, errors=0)
> ERROR: core-image-minimal-1.0-r0 do_testimage: core-image-minimal -
> FAILED - also check the logs in
> /scratch1/sandeepg/yocto/yp-master/build-ci-master/tmp/log
> ERROR: Logfile of failure stored in:
> /scratch1/sandeepg/yocto/yp-master/build-ci-master/tmp/work/beaglebone_yocto-poky-linux-gnueabi/core-image-minimal/1.0/temp/log.do_testimage.1057886
> ERROR: Task
> (/scratch1/sandeepg/yocto/yp-master/sources/poky/meta/recipes-core/images/core-image-minimal.bb:do_testimage)
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 892 tasks of which 881 didn't need to be
> rerun and 1 failed.
>
> Summary: 1 task failed:
> /scratch1/sandeepg/yocto/yp-master/sources/poky/meta/recipes-core/images/core-image-minimal.bb:do_testimage
> Summary: There was 1 WARNING message.
> Summary: There was 1 ERROR message, returning a non-zero exit code.
>
> real    1m53.486s
> user    0m0.355s
> sys    0m0.073s
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188209): 
https://lists.openembedded.org/g/openembedded-core/message/188209
Mute This Topic: https://lists.openembedded.org/mt/101578999/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to