Wind River Support Network

HomeDefectsLIN1023-310
Not to be fixed

LIN1023-310 : python3-pyzmq : 2/245 failed

Created: Apr 26, 2023    Updated: Dec 11, 2023
Resolved Date: Dec 11, 2023
Found In Version: 10.23.30.1
Severity: Standard
Applicable for: Wind River Linux LTS 23
Component/s: Userspace

Description

1)  wrlinux-10/setup.sh   --machine intel-x86-64 --dl-layers=1 --distro wrlinux --templates feature/xfce feature/bpf feature/bcc feature/dhcp-server-kea feature/ipv6 feature/kubernetes feature/netplan feature/nfsd feature/nftables feature/ntp featur
e/package-management feature/sftp-server feature/vsomeip feature/wireguard feature/ptest --layers meta-filesystems meta-security-compliance meta-virtualization --dl-layers=1
2). ./environment-setup-x86_64-wrlinuxsdk-linux

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

4) vim conf/local.conf
IMAGE_INSTALL:append = " make python3-pyzmq"

5) bitbake wrlinux-image-std

6)boot the target and run commands per problem description
cd /usr/lib64/python3-pyzmq/ptest/
./run-ptest
tests/test_security.py::TestSecurity::test_curve
tests/test_security.py::TestSecurity::test_curve_public
tests/test_security.py::TestSecurity::test_keypair
tests/test_security.py::TestSecurity::test_null
tests/test_security.py::TestSecurity::test_plain
  /usr/lib64/python3.11/unittest/case.py:576: DeprecationWarning: zmq.tests.BaseZMQTestCase is deprecated in pyzmq 25, we recommend managing your own contexts and sockets.
    self.setUp()

tests/test_socket.py::TestSocket::test_int_sockopts
tests/test_socket.py::TestSocket::test_int_sockopts
tests/test_socket.py::TestSocket::test_mockable
  /usr/lib64/python3.11/site-packages/zmq/sugar/socket.py:331: DeprecationWarning: Socket.socket_type is deprecated, use Socket.type
    warn("Socket.socket_type is deprecated, use Socket.type", DeprecationWarning)

– Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAIL tests/test_cython.py::test_cython[3] - ImportError: Building module te...
FAIL tests/test_cython.py::test_cython[2] - ImportError: Building module te...
ERROR tests/test_zmqstream.py::test_callable_check - TypeError: cannot unpack...
ERROR tests/test_zmqstream.py::test_on_recv_basic - TypeError: cannot unpack ...
ERROR tests/test_zmqstream.py::test_on_recv_wake - TypeError: cannot unpack n...
ERROR tests/test_zmqstream.py::test_on_recv_async - TypeError: cannot unpack ...
ERROR tests/test_zmqstream.py::test_on_recv_async_error - TypeError: cannot u...
====== 2 failed, 245 passed, 89 skipped, 221 warnings, 5 errors in 46.87s ======
DURATION: 49
END: /usr/lib64/python3-pyzmq/ptest

Steps to Reproduce

1) git clone --depth 1 --branch master-wr git://pek-git.wrs.com/wrlinux-x

2)  wrlinux-10/setup.sh   --machine intel-x86-64 --dl-layers=1 --distro wrlinux --templates feature/xfce feature/bpf feature/bcc feature/dhcp-server-kea feature/ipv6 feature/kubernetes feature/netplan feature/nfsd feature/nftables feature/ntp featur
e/package-management feature/sftp-server feature/vsomeip feature/wireguard feature/ptest --layers meta-filesystems meta-security-compliance meta-virtualization --dl-layers=1
3). ./environment-setup-x86_64-wrlinuxsdk-linux

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

5) vim conf/local.conf
IMAGE_INSTALL:append = " make python3-pyzmq"

6) bitbake wrlinux-image-std

7)boot the target and run commands per problem description
cd /usr/lib64/python3-pyzmq/ptest/
./run-ptest
Live chat
Online