Bug ID 1233398
Summary python-python-gvm: fails to build on 1-core-VM
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS All
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee mcepl@suse.com
Reporter bwiedemann@suse.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By Development
Blocker ---

While working on reproducible builds for openSUSE, I found that
our python-python-gvm fails to build on 1-core-VM with

osc build --noservice --clean --vm-type=kvm -j1 standard

 =================================== FAILURES
===================================
 _
UnixSocketConnectionTestCase.test_unix_socket_connection_connect_send_bytes_read
_

 self =
<tests.connections.test_unix_socket_connection.UnixSocketConnectionTestCase
testMethod=test_unix_socket_connection_connect_send_bytes_read>

     def test_unix_socket_connection_connect_send_bytes_read(self):
         connection = UnixSocketConnection(
             path=self.socket_name, timeout=DEFAULT_TIMEOUT
         )
         connection.connect()
 >       connection.send(b"<gmp/>")

 tests/connections/test_unix_socket_connection.py:69:
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_

 self = <gvm.connections._unix.UnixSocketConnection object at 0x7fcd6ab5ea10>
 data = b'<gmp/>'

     def send(self, data: bytes) -> None:
         """Send data to the connected remote server

         Args:
             data: Data to be send to the server as bytes.
         """
         if self._socket is None:
             raise GvmError("Socket is not connected")

 >       self._socket.sendall(data)
 E       BrokenPipeError: [Errno 32] Broken pipe

 gvm/connections/_connection.py:89: BrokenPipeError
 =============================== warnings summary
===============================
 ...
 =========================== short test summary info
============================
 FAILED
tests/connections/test_unix_socket_connection.py::UnixSocketConnectionTestCase::test_unix_socket_connection_connect_send_bytes_read
 ================= 1 failed, 3519 passed, 4 warnings in 10.80s
==================


You are receiving this mail because: