Your message dated Tue, 24 Oct 2023 12:35:36 +0000
with message-id <[email protected]>
and subject line Bug#1052732: fixed in notus-scanner 22.4.2-2
has caused the Debian Bug report #1052732,
regarding notus-scanner: FTBFS: ModuleNotFoundError: No module named 'tomli'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1052732: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052732
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: notus-scanner
Version: 22.4.2-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --buildsystem=pybuild --with python3
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build" 
> module
> I: pybuild base:291: python3.11 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_notus-scanner 
> * Building wheel...
> Successfully built notus_scanner-22.4.2-py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:291: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_notus-scanner/build; python3.11 -m 
> unittest discover -v 
> tests.cli.test_cli_parser 
> (unittest.loader._FailedTest.tests.cli.test_cli_parser) ... ERROR
> test_reload (tests.loader.test_gpg.GpgTest.test_reload) ... ok
> test_verify_closure (tests.loader.test_gpg.GpgTest.test_verify_closure) ... ok
> test_verifying (tests.loader.test_gpg.GpgTest.test_verifying) ... ok
> test_empty_file 
> (tests.loader.test_json.JSONAdvisoriesLoaderTestCase.test_empty_file) ... ok
> test_example 
> (tests.loader.test_json.JSONAdvisoriesLoaderTestCase.test_example) ... ok
> test_invalid_package_type 
> (tests.loader.test_json.JSONAdvisoriesLoaderTestCase.test_invalid_package_type)
>  ... foo invalid package type.
> ok
> test_unknown_file 
> (tests.loader.test_json.JSONAdvisoriesLoaderTestCase.test_unknown_file) ... 
> Could not load advisories from 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_notus-scanner/build/tests/loader/foo.notus.
>  File does not exist.
> ok
> test_verification_failure 
> (tests.loader.test_json.JSONAdvisoriesLoaderTestCase.test_verification_failure)
>  ... ok
> test_default_constructor 
> (tests.messages.test_message.MessageTestCase.test_default_constructor) ... ok
> test_deserialize 
> (tests.messages.test_message.MessageTestCase.test_deserialize) ... ok
> test_deserialize_no_message_type 
> (tests.messages.test_message.MessageTestCase.test_deserialize_no_message_type)
>  ... ok
> test_deserialize_unknown_message_type 
> (tests.messages.test_message.MessageTestCase.test_deserialize_unknown_message_type)
>  ... ok
> test_load (tests.messages.test_message.MessageTestCase.test_load) ... ok
> test_load_created_missing 
> (tests.messages.test_message.MessageTestCase.test_load_created_missing) ... ok
> test_load_created_unvalid 
> (tests.messages.test_message.MessageTestCase.test_load_created_unvalid) ... ok
> test_load_message_id_missing 
> (tests.messages.test_message.MessageTestCase.test_load_message_id_missing) 
> ... ok
> test_load_message_id_unvalid 
> (tests.messages.test_message.MessageTestCase.test_load_message_id_unvalid) 
> ... ok
> test_load_message_type_missing 
> (tests.messages.test_message.MessageTestCase.test_load_message_type_missing) 
> ... ok
> test_serialize (tests.messages.test_message.MessageTestCase.test_serialize) 
> ... ok
> test_to_str (tests.messages.test_message.MessageTestCase.test_to_str) ... ok
> test_constructor 
> (tests.messages.test_result.ResultMessageTestCase.test_constructor) ... ok
> test_deserialize 
> (tests.messages.test_result.ResultMessageTestCase.test_deserialize) ... ok
> test_deserialize_invalid_message_type 
> (tests.messages.test_result.ResultMessageTestCase.test_deserialize_invalid_message_type)
>  ... ok
> test_deserialize_invalid_result_type 
> (tests.messages.test_result.ResultMessageTestCase.test_deserialize_invalid_result_type)
>  ... ok
> test_serialize 
> (tests.messages.test_result.ResultMessageTestCase.test_serialize) ... ok
> test_constructor 
> (tests.messages.test_start.ScanStartMessageTestCase.test_constructor) ... ok
> test_deserialize 
> (tests.messages.test_start.ScanStartMessageTestCase.test_deserialize) ... ok
> test_deserialize_invalid_message_type 
> (tests.messages.test_start.ScanStartMessageTestCase.test_deserialize_invalid_message_type)
>  ... ok
> test_deserialize_invalid_package_list 
> (tests.messages.test_start.ScanStartMessageTestCase.test_deserialize_invalid_package_list)
>  ... ok
> test_serialize 
> (tests.messages.test_start.ScanStartMessageTestCase.test_serialize) ... ok
> test_constructor 
> (tests.messages.test_status.ScanStatusMessageTestCase.test_constructor) ... ok
> test_deserialize 
> (tests.messages.test_status.ScanStatusMessageTestCase.test_deserialize) ... ok
> test_deserialize_invalid_message_type 
> (tests.messages.test_status.ScanStatusMessageTestCase.test_deserialize_invalid_message_type)
>  ... ok
> test_deserialize_invalid_status 
> (tests.messages.test_status.ScanStatusMessageTestCase.test_deserialize_invalid_status)
>  ... ok
> test_serialize 
> (tests.messages.test_status.ScanStatusMessageTestCase.test_serialize) ... ok
> test_connect (tests.messaging.test_mqtt.MQTTDaemonTestCase.test_connect) ... 
> ok
> test_run (tests.messaging.test_mqtt.MQTTDaemonTestCase.test_run) ... ok
> test_publish (tests.messaging.test_mqtt.MQTTPublisherTestCase.test_publish) 
> ... ok
> test_subscribe 
> (tests.messaging.test_mqtt.MQTTSubscriberTestCase.test_subscribe) ... ok
> test_compare_equal 
> (tests.models.packages.test_deb.DEBPackageTestCase.test_compare_equal)
> packages with the same data should be equal ... ok
> test_compare_gt 
> (tests.models.packages.test_deb.DEBPackageTestCase.test_compare_gt)
> packages should be comparable ... ok
> test_compare_gt_different_name 
> (tests.models.packages.test_deb.DEBPackageTestCase.test_compare_gt_different_name)
> different packagtes should not be comparable ... ok
> test_compare_less 
> (tests.models.packages.test_deb.DEBPackageTestCase.test_compare_less)
> packages should be comparable ... ok
> test_from_full_name 
> (tests.models.packages.test_deb.DEBPackageTestCase.test_from_full_name)
> it should be possible to create packages via the full name ... ok
> test_from_name_and_full_version 
> (tests.models.packages.test_deb.DEBPackageTestCase.test_from_name_and_full_version)
> it should be possible to create packages from name and full ... ok
> test_comparability 
> (tests.models.packages.test_ebuild.EBuildPackageTestCase.test_comparability) 
> ... ok
> test_guard 
> (tests.models.packages.test_ebuild.EBuildPackageTestCase.test_guard) ... ok
> test_parse_fullname 
> (tests.models.packages.test_ebuild.EBuildPackageTestCase.test_parse_fullname)
> verifies if ebuild id able to parse the fullname examples provided by ... ok
> test_add_advisory_for_package 
> (tests.models.packages.test_package.PackageAdvisoriesTestCase.test_add_advisory_for_package)
>  ... ok
> test_add_duplicate_advisory_for_package 
> (tests.models.packages.test_package.PackageAdvisoriesTestCase.test_add_duplicate_advisory_for_package)
>  ... ok
> test_constructor 
> (tests.models.packages.test_package.PackageAdvisoriesTestCase.test_constructor)
>  ... ok
> test_default_is_vulnerable 
> (tests.models.packages.test_package.PackageAdvisoriesTestCase.test_default_is_vulnerable)
>  ... ok
> test_get_package_advisories_for_package 
> (tests.models.packages.test_package.PackageAdvisoriesTestCase.test_get_package_advisories_for_package)
>  ... ok
> test_constructor 
> (tests.models.packages.test_package.PackageAdvisoryTestCase.test_constructor) 
> ... ok
> test_equal 
> (tests.models.packages.test_package.PackageAdvisoryTestCase.test_equal) ... ok
> test_hash 
> (tests.models.packages.test_package.PackageAdvisoryTestCase.test_hash) ... ok
> test_immutability 
> (tests.models.packages.test_package.PackageAdvisoryTestCase.test_immutability)
>  ... ok
> test_gt_package_error 
> (tests.models.packages.test_package.PackageTestCase.test_gt_package_error) 
> ... ok
> test_matching_hashes 
> (tests.models.packages.test_package.PackageTestCase.test_matching_hashes)
> hashes for the same package should match ... ok
> test_not_matching_hashes 
> (tests.models.packages.test_package.PackageTestCase.test_not_matching_hashes)
> hashes for different packages should not match ... ok
> test_version_compare 
> (tests.models.packages.test_package.PackageTestCase.test_version_compare) ... 
> ok
> test_compare_equal 
> (tests.models.packages.test_rpm.RPMPackageTestCase.test_compare_equal)
> packages with the same data should be equal ... ok
> test_compare_gt 
> (tests.models.packages.test_rpm.RPMPackageTestCase.test_compare_gt)
> packages should be comparable ... ok
> test_compare_gt_different_architecture 
> (tests.models.packages.test_rpm.RPMPackageTestCase.test_compare_gt_different_architecture)
> packages of different architecture should not be comparable ... ok
> test_compare_gt_different_name 
> (tests.models.packages.test_rpm.RPMPackageTestCase.test_compare_gt_different_name)
> different packagtes should not be comparable ... ok
> test_compare_less 
> (tests.models.packages.test_rpm.RPMPackageTestCase.test_compare_less)
> packages should be comparable ... ok
> test_exceptions 
> (tests.models.packages.test_rpm.RPMPackageTestCase.test_exceptions)
> tests for the exceptions _fips and .ksplice ... ok
> test_from_full_name 
> (tests.models.packages.test_rpm.RPMPackageTestCase.test_from_full_name)
> it should be possible to create packages via the full name ... ok
> test_from_name_and_full_version 
> (tests.models.packages.test_rpm.RPMPackageTestCase.test_from_name_and_full_version)
> it should be possible to create packages from name and full ... ok
> test_compare_equal 
> (tests.models.packages.test_slackware.SlackPackageTestCase.test_compare_equal)
> packages with the same data should be equal ... ok
> test_compare_gt 
> (tests.models.packages.test_slackware.SlackPackageTestCase.test_compare_gt)
> packages should be comparable ... ok
> test_compare_gt_different_architecture 
> (tests.models.packages.test_slackware.SlackPackageTestCase.test_compare_gt_different_architecture)
> packages of different architecture should not be comparable ... ok
> test_compare_gt_different_name 
> (tests.models.packages.test_slackware.SlackPackageTestCase.test_compare_gt_different_name)
> different packagtes should not be comparable ... ok
> test_compare_less 
> (tests.models.packages.test_slackware.SlackPackageTestCase.test_compare_less)
> packages should be comparable ... ok
> test_from_full_name 
> (tests.models.packages.test_slackware.SlackPackageTestCase.test_from_full_name)
> it should be possible to create packages via the full name ... The slack 
> package libjpeg-v8a-x86_64 could not be parsed
> ok
> test_from_name_and_full_version 
> (tests.models.packages.test_slackware.SlackPackageTestCase.test_from_name_and_full_version)
> it should be possible to create packages from name and full ... The slack 
> package flac-1.3.4-x86_64 could not be parsed
> ok
> test_vulnerabilities 
> (tests.models.test_vulnerability.VulnerabilitiesTestCase.test_vulnerabilities)
>  ... ok
> test_vulnerability 
> (tests.models.test_vulnerability.VulnerabilityTestCase.test_vulnerability) 
> ... ok
> tests.test_config (unittest.loader._FailedTest.tests.test_config) ... ERROR
> test_verifier (tests.test_verifier.VerifierTestCase.test_verifier) ... ok
> 
> ======================================================================
> ERROR: tests.cli.test_cli_parser 
> (unittest.loader._FailedTest.tests.cli.test_cli_parser)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: tests.cli.test_cli_parser
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 407, in _find_test_path
>     module = self._get_module_from_name(name)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/loader.py", line 350, in 
> _get_module_from_name
>     __import__(name)
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_notus-scanner/build/tests/cli/test_cli_parser.py",
>  line 26, in <module>
>     from notus.scanner.cli.parser import Arguments, CliParser
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_notus-scanner/build/notus/scanner/cli/__init__.py",
>  line 18, in <module>
>     from .parser import CliParser
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_notus-scanner/build/notus/scanner/cli/parser.py",
>  line 24, in <module>
>     from ..config import Config
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_notus-scanner/build/notus/scanner/config.py",
>  line 27, in <module>
>     import tomli
> ModuleNotFoundError: No module named 'tomli'
> 
> 
> ======================================================================
> ERROR: tests.test_config (unittest.loader._FailedTest.tests.test_config)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: tests.test_config
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 407, in _find_test_path
>     module = self._get_module_from_name(name)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/loader.py", line 350, in 
> _get_module_from_name
>     __import__(name)
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_notus-scanner/build/tests/test_config.py",
>  line 21, in <module>
>     from notus.scanner.config import (
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_notus-scanner/build/notus/scanner/config.py",
>  line 27, in <module>
>     import tomli
> ModuleNotFoundError: No module named 'tomli'
> 
> 
> ----------------------------------------------------------------------
> Ran 81 tests in 0.035s
> 
> FAILED (errors=2)
> E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_notus-scanner/build; python3.11 -m 
> unittest discover -v 
> dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit 
> code 13


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/notus-scanner_22.4.2-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: notus-scanner
Source-Version: 22.4.2-2
Done: Sophie Brun <[email protected]>

We believe that the bug you reported is fixed in the latest version of
notus-scanner, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sophie Brun <[email protected]> (supplier of updated notus-scanner 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 24 Oct 2023 14:09:11 +0200
Source: notus-scanner
Architecture: source
Version: 22.4.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Security Tools <[email protected]>
Changed-By: Sophie Brun <[email protected]>
Closes: 1052732
Changes:
 notus-scanner (22.4.2-2) unstable; urgency=medium
 .
   [ Peter Wienemann ]
   * Add python3-tomli to build dependencies (Closes: #1052732)
Checksums-Sha1:
 d3aa240fe4f7d0c41aa6990944b3aa6b28007b2c 2181 notus-scanner_22.4.2-2.dsc
 ba45824d2977624215944d55ae49c6da57f12ea4 14444 
notus-scanner_22.4.2-2.debian.tar.xz
 629b4b3dc038bb2aace417ab68a0ab7cfd9e5e9d 8384 
notus-scanner_22.4.2-2_source.buildinfo
Checksums-Sha256:
 6ee4799e9dbe3ad0416482a7f399cbea1289c0b12e509f770269fe70d3af5fe8 2181 
notus-scanner_22.4.2-2.dsc
 709a3d7ea3009f9d9ecfa25698475c32ded48271a74599506600942131070b02 14444 
notus-scanner_22.4.2-2.debian.tar.xz
 0fbb6e32e7be40c64978fabb0f32e9d4a38e95713b77b62fd8891839c8123ceb 8384 
notus-scanner_22.4.2-2_source.buildinfo
Files:
 e3ba8fe6c47780fafcef0edf4b0269f5 2181 python optional 
notus-scanner_22.4.2-2.dsc
 75bb3ea97a5fc4367fb290739b4d1277 14444 python optional 
notus-scanner_22.4.2-2.debian.tar.xz
 6120dde1fff0c73699a30a008b82f73b 8384 python optional 
notus-scanner_22.4.2-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----
Comment: Signed by Sophie Brun

iQIzBAEBCgAdFiEEOyG45orlwW+H9TItV5J4OyBv7jAFAmU3tD0ACgkQV5J4OyBv
7jDcuA/+NP614Uz6gCWbKChbi9sbQSTDmABCmcgF0SWr9/1TpIJwAwUd2tMy9tP7
8BnXprX6FP1CC3wqmc2lGh58ip4ilv1BAWIHcOrWaY5jQn+9GS/o1drezAVAQCT9
vctHsXWtiSomF75iXCP5Rw0r6l7qejsk7+N+lKy3lOGFJZ0RQ79m61ZxCjtIKntR
Sv5zi/RT+PrakRV05Ei6BPB4jmbW4gchGS6fAKxfgWnJmWM8FhptUP414OtsSbln
XtgjZhT4GbzaUJUOrOaVsCbVx8EJb9UFHSGlxK9v6eycXxdrW7QgAB2kEvMxBPqS
kJzl1ztpvXquv0x7kczNDr54IeN6lsmQjDdE4y1REgNgCvXMs+FmFd79tosh41p5
w8EtNVUT6irGuWHfuuHIzXc5F/GXvAQSys/ia517dg54DAZL6/A/j9uNGuZuI1mQ
SeFb+kGYDq63kus0D0GCmAiKnYu+NlYrbvuIgQGxzCNWMi8zVqK619VB+24AeKUg
7Qt+fGUstFcGE3x+18S5nU1VZ6Ke+NYiyaI6Uy4j830ZXZrZwYp6m6EABOIC6o5y
xtBvRDmKJFkHxzzJJYjTLjoAN0eVBrj8XijYOI98DwiLDKJdmLGnsLRNfNPxe34e
Ur398q5VsEvl9FzQpLFN7Fp/knn4RHDJ94owrYrx3N/CBiEF4dA=
=r/k9
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to