Wind River Support Network

HomeDefectsLIN1022-1498
Fixed

LIN1022-1498 : [LTP]: pty01.c:146: read from master: errno=EIO(5): Input/output error

Created: Aug 30, 2022    Updated: Nov 22, 2022
Resolved Date: Sep 20, 2022
Found In Version: 10.22.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: Kernel

Description

setup.sh --machines intel-x86-64 --templates feature/docker --distro wrlinux-cgl --dl-layers --accept-eula=yes
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build
echo 'IMAGE_INSTALL:append = " ltp"'
echo 'PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"' >> conf/local.conf
bitbake wrlinux-image-cgl

boot the board and run the following command:
/opt/ltp/wrLinux_ltp/wr-runltp -f pty
......
pty01       1  TFAIL  :  pty01.c:146: read from master: errno=EIO(5): Input/output error
......

Steps to Reproduce

http://128.224.153.156/buildarea1/SharedImage/LTS22/LTP/intel-x86-64_preempt-rt_glibc-cgl/20220829_164207/

/lpg-build/cdc/fast_prod/WRL10_22/RCPL0001_LX05/wrlinux-10/setup.sh --machines intel-x86-64 --templates feature/docker --distro wrlinux-cgl --dl-layers --accept-eula=yes
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build
echo 'PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"' >> conf/local.conf
echo 'GPG_PATH = "/tmp/tmp.v5eP51lSIr"' >> conf/local.conf
echo '
TEST_SPIN = "WRLINUX_10_22_LTS_RCPL0001"
TEST_SPRINT = "WRL-10.22.33.1(LTS22)"
TEST_PLAN_WEEK = "2022WW35"' >> conf/local.conf
bitbake-layers add-layer /lpg-build/cdc/WASSP_LINUX_1022/testcases/wrlinux/wr-testing/kts-dev
echo 'IMAGE_FSTYPES += "tar.bz2"' >> conf/local.conf
echo 'BB_NO_NETWORK:pn-lmbench = "0"' >> conf/local.conf
echo 'IMAGE_FSTYPES:remove = " live hddimg iso"' >> conf/local.conf
echo 'require templates/feature/ltp/template.conf' >> conf/local.conf
echo '
#Bellow is basic env, used by wr-test_0.1.0.bb
TEST_RELEASE_NAME = "WRLinux 10.22"
TEST_ROOTFS_TYPE = "glibc-cgl"
TEST_MULTILIB = ""
TEST_TESTER_NAME = ""
TEST_REQUIREMANTS = "LINUXEXEC-20467"
TEST_TARGET_NAME = "builder"
TEST_TAGS = ""' >> conf/local.conf
echo 'TEST_KEYWORD = ""' >> conf/local.conf
bitbake wrlinux-image-cgl
Live chat
Online