Wind River Support Network

HomeDefectsLIN1022-474
Not to be fixed

LIN1022-474 : libgpiod-ptest :1/2 failed with xilinx-zynqmp BSP

Created: May 4, 2022    Updated: Aug 2, 2023
Resolved Date: Aug 2, 2023
Found In Version: 10.22.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: Userspace

Description

1) setup.sh

--machine xilinx-zynqmp --dl-layers --distro wrlinux --templates feature/xfce feature/busybox feature/lttng feature/mariadb feature/package-management feature/ptest feature/snmp feature/unit-test feature/xfce --layers meta-filesystems meta-security-compliance meta-virtualization --dl-layers

2). ./environment-setup-x86_64-wrlinuxsdk-linux

3) . ./oe-init-build-env build_test

4) add to local.conf
IMAGE_INSTALL:append = " libgpiod"

5) bitbake wrlinux-image-std

6) boot on target and harddisk startup

# on target:

cd /usr/lib64/libgpiod/ptest

# run ptest 
./run-ptest

# ptest output:

START: ptest-runner
2022-01-11T19:49
BEGIN: /usr/lib64/libgpiod/ptest
PASS: gpiod-test
FAIL: gpio-tools-test
PASS: gpiod-cxx-test
SKIP: gpiod_py_test.py
DURATION: 67
END: /usr/lib64/libgpiod/ptest
2022-01-11T19:50
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Summary: pass 2 fail 1
Pass rate: 66%

Steps to Reproduce

1) setup.sh

--machine xilinx-zynqmp --dl-layers --distro wrlinux --templates feature/xfce feature/busybox feature/lttng feature/mariadb feature/package-management feature/ptest feature/qtbase feature/qtcreator feature/snmp feature/unit-test feature/xfce --layers meta-filesystems meta-qt5 meta-security-compliance meta-virtualization --dl-layers

2). ./environment-setup-x86_64-wrlinuxsdk-linux

3) . ./oe-init-build-env build_test

4) add to local.conf
IMAGE_INSTALL:append = " libgpiod"

5) bitbake wrlinux-image-std

6) boot on target and harddisk startup

7) run command as problem descriptio
cd /usr/lib64/libgpiod/ptest
./run-ptest
Live chat
Online