Wind River Support Network

HomeDefectsLIN1024-3518
Acknowledged

LIN1024-3518 :

Created: Aug 22, 2024    Updated: Aug 26, 2024
Found In Version: 10.24.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 24
Component/s: Userspace

Description

Run postgresql ptest, 147 out of 215 test cases are failed.

Steps to Reproduce

1) setup.sh
--machine intel-x86-64 --dl-layers=1 --distros wrlinux --templates feature/xfce feature/LAMP feature/bcc feature/bpf feature/gcc-sanitizers feature/gperftools feature/grpc feature/ipmi feature/ipv6 feature/krb5 feature/libvirt feature/lttng feature/mariadb feature/mbim feature/network-bond-libteam feature/nfsd feature/ntp feature/opencv feature/package-management feature/pam-faillock feature/python-tkinter feature/sftp-server feature/snmp feature/software-entropy feature/sysklogd feature/system-stats feature/systemd-bootchart feature/target-toolchain feature/tcpslice feature/usrmerge feature/virt-host feature/xfce --layers meta-cloud-services --dl-layers=1

2). ./environment-setup-x86_64-wrlinuxsdk-linux
  . ./oe-init-build-env build_test
  
3) add wrlinux-testing layer
   http://lxgit.wrs.com/cgit/wrlinux-testing/testcases.git/tree/wr-testing/userspace/recipes-test-tools/gperftools-test
   bitbake-layer add-layer /"<clone_of_testcases_repo>/wr-testing/userspace

4) echo IMAGE_INSTALL:append = \" postgresql postgresql-test postgresql-client gdb\" >> conf/local.conf
echo WRTEMPLATE:append = \" feature/userspace-test feature/gperftool\" >> conf/local.conf

5) add test_plan.list as below
$ cat test_plan.list
[Test_Case]
postgresql

6) bitbake wrlinux-image-std

7) boot the target and run commands per problem description
cd /opt/wr-test/testcases/userspace/postgresql
postgresql-setup initdb
systemctl start postgresql 
su -s "/bin/bash" -c "cd regression_test; sh ./runtest.sh" postgres
Live chat
Online