Package: src:ospd-openvas
Version: 20.8.0-1
Severity: serious
Tags: sid bullseye

ospd-openvas' autopkg tests fail, blocking migration of setuptools.

======================================================================
ERROR: test_get_openvas_timestamp_scan_host_end 
(tests.test_daemon.TestOspdOpenvas)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.9/unittest/mock.py", line 1337, in patched
    return func(*newargs, **newkeywargs)
  File
"/tmp/autopkgtest-lxc.qhtrpzuk/downtmp/build.KZq/src/tests/test_daemon.py", line
625, in test_get_openvas_timestamp_scan_host_end
    targets = w.process_targets_element(target_list)
  File "/usr/lib/python3/dist-packages/deprecated/classic.py", line 285, in
wrapper_function
    return wrapped_(*args_, **kwargs_)
  File "/usr/lib/python3/dist-packages/ospd/ospd.py", line 361, in
process_targets_element
    return OspRequest.process_target_element(scanner_target)
  File "/usr/lib/python3/dist-packages/ospd/protocol.py", line 240, in
process_target_element
    raise OspdError('No target to scan')
ospd.errors.OspdError: No target to scan

======================================================================
ERROR: test_get_openvas_timestamp_scan_host_start
(tests.test_daemon.TestOspdOpenvas)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.9/unittest/mock.py", line 1337, in patched
    return func(*newargs, **newkeywargs)
  File
"/tmp/autopkgtest-lxc.qhtrpzuk/downtmp/build.KZq/src/tests/test_daemon.py", line
638, in test_get_openvas_timestamp_scan_host_start
    targets = w.process_targets_element(target_list)
  File "/usr/lib/python3/dist-packages/deprecated/classic.py", line 285, in
wrapper_function
    return wrapped_(*args_, **kwargs_)
  File "/usr/lib/python3/dist-packages/ospd/ospd.py", line 361, in
process_targets_element
    return OspRequest.process_target_element(scanner_target)
  File "/usr/lib/python3/dist-packages/ospd/protocol.py", line 240, in
process_target_element
    raise OspdError('No target to scan')
ospd.errors.OspdError: No target to scan

======================================================================
ERROR: test_update_progress (tests.test_daemon.TestOspdOpenvas)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.9/unittest/mock.py", line 1337, in patched
    return func(*newargs, **newkeywargs)
  File
"/tmp/autopkgtest-lxc.qhtrpzuk/downtmp/build.KZq/src/tests/test_daemon.py", line
732, in test_update_progress
    targets = w.process_targets_element(target_list)
  File "/usr/lib/python3/dist-packages/deprecated/classic.py", line 285, in
wrapper_function
    return wrapped_(*args_, **kwargs_)
  File "/usr/lib/python3/dist-packages/ospd/ospd.py", line 361, in
process_targets_element
    return OspRequest.process_target_element(scanner_target)
  File "/usr/lib/python3/dist-packages/ospd/protocol.py", line 240, in
process_target_element
    raise OspdError('No target to scan')
ospd.errors.OspdError: No target to scan

======================================================================
FAIL: test_load_vts (tests.test_daemon.TestOspdOpenvas)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.9/unittest/mock.py", line 1337, in patched
    return func(*newargs, **newkeywargs)
  File
"/tmp/autopkgtest-lxc.qhtrpzuk/downtmp/build.KZq/src/tests/test_daemon.py", line
213, in test_load_vts
    self.assertEqual(w.vts, w.VT)
AssertionError: <ospd.vts.Vts object at 0x7fb306049400> !=
{'1.3.6.1.4.1.25623.1.0.100061': {'custom[499 chars]'}}}}

----------------------------------------------------------------------
Ran 101 tests in 0.316s

FAILED (failures=1, errors=3)

Reply via email to