praiskup / resalloc

Allocator and manager for (expensive) resources
GNU General Public License v2.0
7 stars 7 forks source link

FTBFS in Fedora Rawhide #141

Closed praiskup closed 7 months ago

praiskup commented 7 months ago
make shelltests
make[1]: Entering directory '/builddir/build/BUILD/resalloc-5.1'
cd shelltests ; \
status=true ; \
for python in python3; do \
    for database in sqlite postgresql; do \
    PYTHON=$python DATABASE=$database \
        ./testrunner  basic.sh check.sh ondemand.sh reuse.sh ; \
    test $? -eq 0 || status=false ; \
    done ; \
done ; \
$status
===> running test 'tests/basic.sh' (python3+sqlite)
 ~ I'm in /tmp/resalloc-tests-basic.sh-b75VP9t
 * Wait for 5 preallocated machines
 ~ cleanup
                              ---> [ FAIL ]
===> running test 'tests/check.sh' (python3+sqlite)
 ~ I'm in /tmp/resalloc-tests-check.sh-sUwIgLf
 * Wait for 5 preallocated machines
 ~ cleanup
                              ---> [ FAIL ]
===> running test 'tests/ondemand.sh' (python3+sqlite)
 ~ I'm in /tmp/resalloc-tests-ondemand.sh-sfCEfRV
[Errno 111] Connection refused
Traceback (most recent call last):
  File "/builddir/build/BUILD/resalloc-5.1/test-tooling/../bin/resalloc", line 119, in <module>
    sys.exit(main())
             ^^^^^^
  File "/builddir/build/BUILD/resalloc-5.1/test-tooling/../bin/resalloc", line 79, in main
    ticket = conn.newTicket(arg.tags, arg.sandbox)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/resalloc-5.1/resalloc/client.py", line 115, in newTicket
    ticket_id = self._connection.call("takeTicket", *args)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/resalloc-5.1/resalloc/client.py", line 35, in call
    return fcall(*args)
           ^^^^^^^^^^^^
  File "/usr/lib64/python3.12/xmlrpc/client.py", line 1122, in __call__
    return self.__send(self.__name, args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/xmlrpc/client.py", line 1461, in __request
    response = self.__transport.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/xmlrpc/client.py", line 1166, in request
    return self.single_request(host, handler, request_body, verbose)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/xmlrpc/client.py", line 1178, in single_request
    http_conn = self.send_request(host, handler, request_body, verbose)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/xmlrpc/client.py", line 1291, in send_request
    self.send_content(connection, request_body)
  File "/usr/lib64/python3.12/xmlrpc/client.py", line 1321, in send_content
    connection.endheaders(request_body)
  File "/usr/lib64/python3.12/http/client.py", line 1326, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib64/python3.12/http/client.py", line 1085, in _send_output
    self.send(msg)
  File "/usr/lib64/python3.12/http/client.py", line 1029, in send
    self.connect()
  File "/usr/lib64/python3.12/http/client.py", line 995, in connect
    self.sock = self._create_connection(
                ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/socket.py", line 852, in create_connection
    raise exceptions[0]
  File "/usr/lib64/python3.12/socket.py", line 837, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
 ~ cleanup
                              ---> [ FAIL ]

This could be related to the sqlalchemy v2 update in Rawhide. Copr has similar problems.