FTBFS due build-time test failing

Bug #2036255 reported by Andreas Hasenack
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
clamav (Ubuntu)
New
Undecided
Unassigned

Bug Description

From the mantic rebuild report[1], we have this build failure[2]:

----------------------------- Captured stderr call -----------------------------
Process Process-6:
Traceback (most recent call last):
  File "/usr/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/usr/lib/python3.11/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/<<PKGBUILDDIR>>/unit_tests/freshclam_test.py", line 779, in mock_database_mirror
    server = HTTPServer(('', port), handler)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/socketserver.py", line 456, in __init__
    self.server_bind()
  File "/usr/lib/python3.11/http/server.py", line 136, in server_bind
    socketserver.TCPServer.server_bind(self)
  File "/usr/lib/python3.11/socketserver.py", line 472, in server_bind
    self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use
=============================== warnings summary ===============================
freshclam_test.py:20
  /<<PKGBUILDDIR>>/unit_tests/freshclam_test.py:20: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
    import cgi

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED freshclam_test.py::TC::test_freshclam_07_cdiff_partial_minus_2 - asser...
============== 1 failed, 9 passed, 1 skipped, 1 warning in 20.92s ==============

83% tests passed, 1 tests failed out of 6

Total Test time (real) = 28.89 sec

The following tests FAILED:
   5 - freshclam (Failed)

1. https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20230830-mantic-mantic.html#ubuntu-server-team
2. https://launchpadlibrarian.net/685127797/buildlog_ubuntu-mantic-amd64.clamav_1.0.2+dfsg-1ubuntu1_BUILDING.txt.gz

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.