Powered by penguin. Your IP: 18.97.9.169 | Toc:- error 1
E ConnectionRefusedError: [Errno 111] Connection refused
- error 2
E ConnectionRefusedError: [Errno 111] Connection refused
- error 3
error: Bad exit status from /tmp/B.oyicwsuq/BUILD/tmp/rpm-tmp.eMp3Ov (%build)
- error 4
RPM build errors:
- error 5
error: No files produced.
Content:Executing(%build): /bin/sh -e /tmp/B.oyicwsuq/BUILD/tmp/rpm-tmp.eMp3Ov
TMP=/home/users/builder/tmp
HOME=/home/users/builder
PATH=/home/users/builder/GNUstep/Tools:/bin:/usr/bin:/usr/local/bin:/home/users/builder/bin
TMPDIR=/tmp/B.oyicwsuq/BUILD/tmp
+ umask 022
+ cd /tmp/B.oyicwsuq/BUILD/python3-pytest-xprocess-1.0.2-build
+ cd pytest-xprocess-1.0.2
+ LDFLAGS='-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc '
+ export LDFLAGS
+ CFLAGS='-DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security '
+ export CFLAGS
+ CXXFLAGS='-DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security '
+ export CXXFLAGS
+ CC=/usr/bin/i686-pld-linux-gcc
+ export CC
+ CXX=/usr/bin/i686-pld-linux-g++
+ export CXX
+ PKG_CONFIG_ALLOW_CROSS=1
+ export PKG_CONFIG_ALLOW_CROSS
+ RUSTC=/usr/bin/rustc
+ export RUSTC
+ RUSTFLAGS='-C debuginfo=2 -C strip=none'
+ export RUSTFLAGS
+ /usr/bin/python3 setup.py build '--build-base=build-3'
/usr/share/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
/usr/share/python3.13/site-packages/setuptools_scm/_integration/version_inference.py:51: UserWarning: version of pytest-xprocess already set
warnings.warn(self.message)
running build
running build_py
creating build-3/lib/xprocess
copying xprocess/__init__.py -> build-3/lib/xprocess
copying xprocess/pytest_xprocess.py -> build-3/lib/xprocess
copying xprocess/xprocess.py -> build-3/lib/xprocess
+ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 PYTEST_PLUGINS=xprocess.pytest_xprocess pwd
+ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 PYTEST_PLUGINS=xprocess.pytest_xprocess PYTHONPATH=/tmp/B.oyicwsuq/BUILD/python3-pytest-xprocess-1.0.2-build/pytest-xprocess-1.0.2 /usr/bin/python3 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.8, pytest-8.3.5, pluggy-1.5.0
rootdir: /tmp/B.oyicwsuq/BUILD/python3-pytest-xprocess-1.0.2-build/pytest-xprocess-1.0.2
configfile: tox.ini
collected 51 items
tests/test_callback.py ...... [ 11%]
tests/test_functional_workflow.py . [ 13%]
tests/test_interruption_clean_up.py .. [ 17%]
tests/test_process_initialization.py ................F..F. [ 58%]
tests/test_process_termination.py ............... [ 88%]
tests/test_resource_cleanup.py ... [ 94%]
tests/test_startup_timeout.py ... [100%]
=================================== FAILURES ===================================
_______________________ test_startup_without_pattern[s2] _______________________
tcp_port = 53889, proc_name = 's2'
xprocess = <xprocess.xprocess.XProcess object at 0xf674c480>
@pytest.mark.parametrize("proc_name", ["s1", "s2", "s3"])
def test_startup_without_pattern(tcp_port, proc_name, xprocess):
data = "bacon\n"
class Starter(ProcessStarter):
args = [sys.executable, server_path, tcp_port, "--no-children"]
def startup_check(self):
return request_response_cycle(tcp_port, data)
> xprocess.ensure(proc_name, Starter)
tests/test_process_initialization.py:131:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
xprocess/xprocess.py:284: in ensure
if not starter.wait(log_file_handle):
xprocess/xprocess.py:413: in wait
callback_ok = self.wait_callback()
xprocess/xprocess.py:388: in wait_callback
if self.startup_check():
tests/test_process_initialization.py:129: in startup_check
return request_response_cycle(tcp_port, data)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tcp_port = 53889, data = 'bacon\n'
def request_response_cycle(tcp_port, data):
"""test started server instance by sending
request and checking response"""
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock:
> sock.connect(("localhost", tcp_port))
E ConnectionRefusedError: [Errno 111] Connection refused
tests/test_process_initialization.py:16: ConnectionRefusedError
----------------------------- Captured stdout call -----------------------------
/tmp/B.oyicwsuq/BUILD/python3-pytest-xprocess-1.0.2-build/pytest-xprocess-1.0.2/.pytest_cache/d/.xprocess/s2$ /usr/bin/python3 /tmp/B.oyicwsuq/BUILD/python3-pytest-xprocess-1.0.2-build/pytest-xprocess-1.0.2/tests/server.py 53889 --no-children
process 's2' started pid=56950
_______ test_startup_with_pattern_and_callback[s2-spam, bacon, eggs-30] ________
tcp_port = 51251, proc_name = 's2', proc_pttrn = 'spam, bacon, eggs', lines = 30
xprocess = <xprocess.xprocess.XProcess object at 0xf674c480>
@pytest.mark.parametrize(
"proc_name,proc_pttrn,lines",
[
("s1", "will not match", 21),
("s2", "spam, bacon, eggs", 30),
("s3", "finally started", 130),
],
)
def test_startup_with_pattern_and_callback(
tcp_port, proc_name, proc_pttrn, lines, xprocess
):
data = "bacon\n"
class Starter(ProcessStarter):
pattern = proc_pttrn
max_read_lines = lines
args = [sys.executable, server_path, tcp_port, "--no-children"]
def startup_check(self):
return request_response_cycle(tcp_port, data)
if proc_name == "s1":
with pytest.raises(RuntimeError):
xprocess.ensure(proc_name, Starter)
# since we made xprocess fail to start the server on purpose, we cannot
# terminate it using XProcessInfo.terminate method once it does not
# know the PID, process name or even that it is running, so we tell the
# server to terminate itself.
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock:
sock.connect(("localhost", tcp_port))
sock.sendall(bytes("exit\n", "utf-8"))
else:
xprocess.ensure(proc_name, Starter)
info = xprocess.getinfo(proc_name)
assert info.isrunning()
> assert request_response_cycle(tcp_port, data)
tests/test_process_initialization.py:172:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tcp_port = 51251, data = 'bacon\n'
def request_response_cycle(tcp_port, data):
"""test started server instance by sending
request and checking response"""
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock:
> sock.connect(("localhost", tcp_port))
E ConnectionRefusedError: [Errno 111] Connection refused
tests/test_process_initialization.py:16: ConnectionRefusedError
=========================== short test summary info ============================
FAILED tests/test_process_initialization.py::test_startup_without_pattern[s2]
FAILED tests/test_process_initialization.py::test_startup_with_pattern_and_callback[s2-spam, bacon, eggs-30]
======================== 2 failed, 49 passed in 39.93s =========================
error: Bad exit status from /tmp/B.oyicwsuq/BUILD/tmp/rpm-tmp.eMp3Ov (%build)
RPM build warnings:
Could not canonicalize hostname: nereid
RPM build errors:
Bad exit status from /tmp/B.oyicwsuq/BUILD/tmp/rpm-tmp.eMp3Ov (%build)
ended at: Mon Nov 3 19:49:26 2025, done in 0:00:43.805974
error: No files produced.
+ chmod -R u+rwX /tmp/B.oyicwsuq/BUILD
+ rm -rf /tmp/B.oyicwsuq/tmp /tmp/B.oyicwsuq/BUILD
+ rm -rf /tmp/B.oyicwsuq
Begin-PLD-Builder-Info
Build-Time: user:15.89s sys:2.20s real:46.35s (faults io:0 non-io:307315)
End-PLD-Builder-Info
|
|