FTBFS due build-time test failing

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

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
  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__
  File "/usr/lib/python3.11/http/server.py", line 136, in server_bind
  File "/usr/lib/python3.11/socketserver.py", line 472, in server_bind
OSError: [Errno 98] Address already in use
=============================== warnings summary ===============================
  /<<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.