Diff of the two buildlogs: -- --- b1/build.log 2024-05-07 07:48:36.744039520 +0000 +++ b2/build.log 2024-05-07 07:49:46.717061254 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon May 6 19:45:45 -12 2024 -I: pbuilder-time-stamp: 1715067945 +I: Current time: Tue Jun 10 04:11:40 +14 2025 +I: pbuilder-time-stamp: 1749478300 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking rpmlint_2.5.0+ds1-0.1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2892437/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/444316/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 9 14:11 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/444316/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/444316/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='50579fcba4874765b1a31af2cf93e5e2' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2892437' - PS1='# ' - PS2='> ' + INVOCATION_ID=ef5481da006e4790a0e8c6a97b7075c6 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=444316 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.SAJ2hhBJ/pbuilderrc_jBWF --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.SAJ2hhBJ/b1 --logfile b1/build.log rpmlint_2.5.0+ds1-0.1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.SAJ2hhBJ/pbuilderrc_mMTn --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.SAJ2hhBJ/b2 --logfile b2/build.log rpmlint_2.5.0+ds1-0.1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 3 08:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2892437/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 8 17:46 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/444316/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -272,7 +304,7 @@ Get: 116 http://deb.debian.org/debian trixie/main amd64 rpm2cpio amd64 4.18.2+dfsg-2.1+b1 [1577 kB] Get: 117 http://deb.debian.org/debian trixie/main amd64 rpm amd64 4.18.2+dfsg-2.1+b1 [1726 kB] Get: 118 http://deb.debian.org/debian trixie/main amd64 zstd amd64 1.5.5+dfsg2-2 [717 kB] -Fetched 54.5 MB in 1s (40.3 MB/s) +Fetched 54.5 MB in 2s (33.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libjs-jquery. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19698 files and directories currently installed.) @@ -663,8 +695,8 @@ Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue May 7 07:47:07 UTC 2024. -Universal Time is now: Tue May 7 07:47:07 UTC 2024. +Local time is now: Mon Jun 9 14:12:13 UTC 2025. +Universal Time is now: Mon Jun 9 14:12:13 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -781,7 +813,11 @@ fakeroot is already the newest version (1.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/rpmlint-2.5.0+ds1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../rpmlint_2.5.0+ds1-0.1_source.changes +I: user script /srv/workspace/pbuilder/444316/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/444316/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/rpmlint-2.5.0+ds1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../rpmlint_2.5.0+ds1-0.1_source.changes dpkg-buildpackage: info: source package rpmlint dpkg-buildpackage: info: source version 2.5.0+ds1-0.1 dpkg-buildpackage: info: source distribution unstable @@ -815,61 +851,61 @@ creating build creating build/lib creating build/lib/rpmlint -copying rpmlint/color.py -> build/lib/rpmlint -copying rpmlint/__init__.py -> build/lib/rpmlint -copying rpmlint/objdumpparser.py -> build/lib/rpmlint -copying rpmlint/lddparser.py -> build/lib/rpmlint -copying rpmlint/rpmdiff.py -> build/lib/rpmlint -copying rpmlint/cli.py -> build/lib/rpmlint -copying rpmlint/stringsparser.py -> build/lib/rpmlint -copying rpmlint/pkgfile.py -> build/lib/rpmlint -copying rpmlint/filter.py -> build/lib/rpmlint -copying rpmlint/config.py -> build/lib/rpmlint -copying rpmlint/version.py -> build/lib/rpmlint copying rpmlint/lint.py -> build/lib/rpmlint copying rpmlint/spellcheck.py -> build/lib/rpmlint -copying rpmlint/helpers.py -> build/lib/rpmlint copying rpmlint/readelfparser.py -> build/lib/rpmlint -copying rpmlint/arparser.py -> build/lib/rpmlint +copying rpmlint/config.py -> build/lib/rpmlint +copying rpmlint/version.py -> build/lib/rpmlint +copying rpmlint/cli.py -> build/lib/rpmlint +copying rpmlint/lddparser.py -> build/lib/rpmlint copying rpmlint/__isocodes__.py -> build/lib/rpmlint +copying rpmlint/pkgfile.py -> build/lib/rpmlint +copying rpmlint/stringsparser.py -> build/lib/rpmlint copying rpmlint/pkg.py -> build/lib/rpmlint +copying rpmlint/color.py -> build/lib/rpmlint +copying rpmlint/objdumpparser.py -> build/lib/rpmlint +copying rpmlint/__init__.py -> build/lib/rpmlint +copying rpmlint/filter.py -> build/lib/rpmlint +copying rpmlint/helpers.py -> build/lib/rpmlint +copying rpmlint/rpmdiff.py -> build/lib/rpmlint +copying rpmlint/arparser.py -> build/lib/rpmlint creating build/lib/rpmlint/checks -copying rpmlint/checks/SourceCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/ZyppSyntaxCheck.py -> build/lib/rpmlint/checks copying rpmlint/checks/AppDataCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/LSBCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/I18NCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/InitScriptCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/DBusPolicyCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/PythonCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/SpecCheck.py -> build/lib/rpmlint/checks copying rpmlint/checks/BuildRootAndDateCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/DuplicatesCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/PkgConfigCheck.py -> build/lib/rpmlint/checks copying rpmlint/checks/LibraryDependencyCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/ConfigFilesCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/PostCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/BashismsCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/SysVInitOnSystemdCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/DocCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/LogrotateCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/SignatureCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/FHSCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/MixedOwnershipCheck.py -> build/lib/rpmlint/checks copying rpmlint/checks/PAMModulesCheck.py -> build/lib/rpmlint/checks copying rpmlint/checks/IconSizesCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/SharedLibraryPolicyCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/MenuCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/ZipCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/AbstractCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/AlternativesCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/ErlangCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/XinetdDepCheck.py -> build/lib/rpmlint/checks copying rpmlint/checks/BinariesCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/ZipCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/SignatureCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/ZyppSyntaxCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/DocCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/PkgConfigCheck.py -> build/lib/rpmlint/checks copying rpmlint/checks/FilesCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/SysVInitOnSystemdCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/MixedOwnershipCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/LogrotateCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/ConfigFilesCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/DuplicatesCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/I18NCheck.py -> build/lib/rpmlint/checks copying rpmlint/checks/TagsCheck.py -> build/lib/rpmlint/checks -copying rpmlint/checks/TmpFilesCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/DBusPolicyCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/BashismsCheck.py -> build/lib/rpmlint/checks copying rpmlint/checks/MenuXDGCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/PythonCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/FHSCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/PostCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/SourceCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/SpecCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/TmpFilesCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/MenuCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/LSBCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/ErlangCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/AlternativesCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/InitScriptCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/SharedLibraryPolicyCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/XinetdDepCheck.py -> build/lib/rpmlint/checks +copying rpmlint/checks/AbstractCheck.py -> build/lib/rpmlint/checks running egg_info creating rpmlint.egg-info writing rpmlint.egg-info/PKG-INFO @@ -925,102 +961,102 @@ creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/rpmlint -copying build/lib/rpmlint/color.py -> build/bdist.linux-x86_64/wheel/rpmlint -copying build/lib/rpmlint/__init__.py -> build/bdist.linux-x86_64/wheel/rpmlint -creating build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/SourceCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/ZyppSyntaxCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/AppDataCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/LSBCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/I18NCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/InitScriptCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/DBusPolicyCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/PythonCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/SpecCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/BuildRootAndDateCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/DuplicatesCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/PkgConfigCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/LibraryDependencyCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/ConfigFilesCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/PostCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/BashismsCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/SysVInitOnSystemdCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/DocCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/LogrotateCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/SignatureCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/FHSCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/MixedOwnershipCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/PAMModulesCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/IconSizesCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/SharedLibraryPolicyCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/MenuCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/ZipCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/AbstractCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/AlternativesCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/ErlangCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/XinetdDepCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/BinariesCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/FilesCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/TagsCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/TmpFilesCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/checks/MenuXDGCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks -copying build/lib/rpmlint/objdumpparser.py -> build/bdist.linux-x86_64/wheel/rpmlint -copying build/lib/rpmlint/lddparser.py -> build/bdist.linux-x86_64/wheel/rpmlint -copying build/lib/rpmlint/rpmdiff.py -> build/bdist.linux-x86_64/wheel/rpmlint -copying build/lib/rpmlint/cli.py -> build/bdist.linux-x86_64/wheel/rpmlint -copying build/lib/rpmlint/stringsparser.py -> build/bdist.linux-x86_64/wheel/rpmlint -copying build/lib/rpmlint/pkgfile.py -> build/bdist.linux-x86_64/wheel/rpmlint -copying build/lib/rpmlint/filter.py -> build/bdist.linux-x86_64/wheel/rpmlint +copying build/lib/rpmlint/lint.py -> build/bdist.linux-x86_64/wheel/rpmlint copying build/lib/rpmlint/configdefaults.toml -> build/bdist.linux-x86_64/wheel/rpmlint +copying build/lib/rpmlint/spellcheck.py -> build/bdist.linux-x86_64/wheel/rpmlint +copying build/lib/rpmlint/readelfparser.py -> build/bdist.linux-x86_64/wheel/rpmlint copying build/lib/rpmlint/config.py -> build/bdist.linux-x86_64/wheel/rpmlint copying build/lib/rpmlint/version.py -> build/bdist.linux-x86_64/wheel/rpmlint -copying build/lib/rpmlint/lint.py -> build/bdist.linux-x86_64/wheel/rpmlint +copying build/lib/rpmlint/cli.py -> build/bdist.linux-x86_64/wheel/rpmlint +copying build/lib/rpmlint/lddparser.py -> build/bdist.linux-x86_64/wheel/rpmlint creating build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/TmpFilesCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/LSBCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/BashismsCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/ZyppSyntaxCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/MixedOwnershipCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/TagsCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/BuildRootCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions copying build/lib/rpmlint/descriptions/SysVInitOnSystemdCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/DuplicatesCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/AlternativesCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/LibraryDependencyCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/SharedLibraryPolicyCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/ZipCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions copying build/lib/rpmlint/descriptions/FilesCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/SourceCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/MenuCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/AppDataCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/TagsCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions copying build/lib/rpmlint/descriptions/DBusPolicyCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions copying build/lib/rpmlint/descriptions/LogrotateCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/CheckForXinetd.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/ZyppSyntaxCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions copying build/lib/rpmlint/descriptions/ConfigFilesCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/BuildRootCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/IconSizesCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/PythonCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/MixedOwnershipCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/AlternativesCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/MenuXDGCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/I18NCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/BuildDateCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/BashismsCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions copying build/lib/rpmlint/descriptions/PkgConfigCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/SpecCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/BinariesCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/IconSizesCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/TmpFilesCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/SharedLibraryPolicyCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/CheckForXinetd.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/LSBCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions copying build/lib/rpmlint/descriptions/SignatureCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/PythonCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/AppDataCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions copying build/lib/rpmlint/descriptions/InitScriptCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/BuildDateCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/DocCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/I18NCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/ErlangCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions copying build/lib/rpmlint/descriptions/PAMModulesCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/descriptions/MenuXDGCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions -copying build/lib/rpmlint/spellcheck.py -> build/bdist.linux-x86_64/wheel/rpmlint -copying build/lib/rpmlint/helpers.py -> build/bdist.linux-x86_64/wheel/rpmlint -copying build/lib/rpmlint/readelfparser.py -> build/bdist.linux-x86_64/wheel/rpmlint -copying build/lib/rpmlint/arparser.py -> build/bdist.linux-x86_64/wheel/rpmlint +copying build/lib/rpmlint/descriptions/ErlangCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/DocCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/LibraryDependencyCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/MenuCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/BinariesCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/SourceCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/ZipCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/DuplicatesCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions +copying build/lib/rpmlint/descriptions/SpecCheck.toml -> build/bdist.linux-x86_64/wheel/rpmlint/descriptions copying build/lib/rpmlint/__isocodes__.py -> build/bdist.linux-x86_64/wheel/rpmlint +copying build/lib/rpmlint/pkgfile.py -> build/bdist.linux-x86_64/wheel/rpmlint +copying build/lib/rpmlint/stringsparser.py -> build/bdist.linux-x86_64/wheel/rpmlint copying build/lib/rpmlint/pkg.py -> build/bdist.linux-x86_64/wheel/rpmlint +copying build/lib/rpmlint/color.py -> build/bdist.linux-x86_64/wheel/rpmlint +creating build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/AppDataCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/BuildRootAndDateCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/LibraryDependencyCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/PAMModulesCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/IconSizesCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/BinariesCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/ZipCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/SignatureCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/ZyppSyntaxCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/DocCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/PkgConfigCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/FilesCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/SysVInitOnSystemdCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/MixedOwnershipCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/LogrotateCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/ConfigFilesCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/DuplicatesCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/I18NCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/TagsCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/DBusPolicyCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/BashismsCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/MenuXDGCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/PythonCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/FHSCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/PostCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/SourceCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/SpecCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/TmpFilesCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/MenuCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/LSBCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/ErlangCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/AlternativesCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/InitScriptCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/SharedLibraryPolicyCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/XinetdDepCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/checks/AbstractCheck.py -> build/bdist.linux-x86_64/wheel/rpmlint/checks +copying build/lib/rpmlint/objdumpparser.py -> build/bdist.linux-x86_64/wheel/rpmlint +copying build/lib/rpmlint/__init__.py -> build/bdist.linux-x86_64/wheel/rpmlint +copying build/lib/rpmlint/filter.py -> build/bdist.linux-x86_64/wheel/rpmlint +copying build/lib/rpmlint/helpers.py -> build/bdist.linux-x86_64/wheel/rpmlint +copying build/lib/rpmlint/rpmdiff.py -> build/bdist.linux-x86_64/wheel/rpmlint +copying build/lib/rpmlint/arparser.py -> build/bdist.linux-x86_64/wheel/rpmlint running install_egg_info Copying rpmlint.egg-info to build/bdist.linux-x86_64/wheel/rpmlint-2.5.0.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/rpmlint-2.5.0.dist-info/WHEEL -creating '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/.tmp-uvaa6icv/rpmlint-2.5.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it +creating '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/.tmp-igu2zxzn/rpmlint-2.5.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'rpmlint/__init__.py' adding 'rpmlint/__isocodes__.py' adding 'rpmlint/arparser.py' @@ -1130,836 +1166,850 @@ rootdir: /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build configfile: pytest.ini plugins: cov-5.0.0, xdist-3.5.0, flake8-1.1.1 -created: 20/20 workers -20 workers [389 items] +created: 42/42 workers +42 workers [389 items] scheduling tests via LoadScheduling -test/test_binaries.py::test_forbidden_c_calls[binary/crypto-policy] -test/test_binaries.py::test_shlib_with_no_exec_glibc[binary/glibc] -test/test_alternatives.py::test_non_update_alternative_pkg[binary/self] -test/test_appdata.py::test_appdata_fail[binary/appdata] -[gw2] [ 0%] SKIPPED test/test_appdata.py::test_appdata_fail[binary/appdata] -test/test_appdata.py::test_appdata_fail_no_checker[binary/appdata] +test/test_FHS.py::test_FHS_compliance[binary/non-fhs] +test/test_alternatives.py::test_libalternative_ok[binary/libalternatives-ok] +test/test_binaries.py::test_binary_in_etc[binary/binary-in-etc] test/test_binaries.py::test_non_position_independent[binary/non-position-independent-exec] +test/test_alternatives.py::test_non_update_alternative_pkg[binary/self] test/test_config.py::test_double_config -test/test_binaries.py::test_systemd_unit_file[package0] -test/test_binaries.py::test_invalid_ldconfig_symlink[binary/libtest3] -test/test_FHS.py::test_FHS_compliance[binary/non-fhs] -test/test_dbus_policy.py::test_dbus_policy[binary/dbusrule] -test/test_binaries.py::test_no_binary[binary/no-binary] +test/test_binaries.py::test_no_arch_issues[binary/noarch] +test/test_alternatives.py::test_update_alternative_ok[binary/alternatives-ok] +test/test_binaries.py::test_lto_bytecode[binary/libreiserfscore-devel] test/test_binaries.py::test_lto_ghc_archive[binary/ghc] +test/test_bashisms.py::test_bashisms[binary/bashisms] +test/test_diff.py::test_exclude +test/test_appdata.py::test_appdata_fail[binary/appdata] +test/test_config.py::test_rpmlint_loading +test/test_build_date.py::test_build_date_time_correct[binary/bashisms] +test/test_binaries.py::test_shared_library1[binary/libtest1] +test/test_binaries.py::test_no_binary[binary/no-binary] +test/test_binaries.py::test_shlib_with_no_exec_glibc[binary/glibc] +test/test_duplicates.py::test_duplicates1[package0] +test/test_cli.py::test_parsing_opensuse_conf[test_arguments0] +test/test_binaries.py::test_only_non_binary_in_usr_lib[binary/only-non-binary-in-usr-lib] +test/test_config.py::test_broken_config +test/test_binaries.py::test_invalid_ldconfig_symlink[binary/libtest3] +test/test_files.py::test_py2 test/test_files.py::test_makefile_junk[binary/makefile-junk] test/test_erlang.py::test_erlang[binary/erlang-test] -[gw12] [ 0%] PASSED test/test_config.py::test_double_config -test/test_config.py::test_filters -test/test_config.py::test_rpmlint_loading -[gw13] [ 0%] PASSED test/test_config.py::test_rpmlint_loading -test/test_config_files.py::test_config_files1[package0] +[gw22] [ 0%] SKIPPED test/test_cli.py::test_parsing_opensuse_conf[test_arguments0] +test/test_config.py::test_list_merging +test/test_binaries.py::test_forbidden_c_calls[binary/crypto-policy] +test/test_dbus_policy.py::test_dbus_policy[binary/dbusrule] +test/test_files.py::test_file_not_utf8_for_compression_algorithms[binary/testdocumentation] +test/test_files.py::test_script_interpreter +test/test_files.py::test_invalid_package[binary/filechecks] +[gw24] [ 0%] PASSED test/test_config.py::test_rpmlint_loading +[gw5] [ 0%] SKIPPED test/test_bashisms.py::test_bashisms[binary/bashisms] +test/test_binaries.py::test_multiple_errors[binary/multiple_errors] test/test_config.py::test_printing -[gw11] [ 1%] PASSED test/test_config.py::test_printing -test/test_config.py::test_custom_config -[gw11] [ 1%] PASSED test/test_config.py::test_custom_config -test/test_config.py::test_broken_config +[gw4] [ 1%] SKIPPED test/test_appdata.py::test_appdata_fail[binary/appdata] +[gw23] [ 1%] PASSED test/test_config.py::test_printing +test/test_files.py::test_unexpanded_macros[binary/unexpanded-macro-files] +test/test_config_files.py::test_config_files_correct1[package0] +test/test_binaries.py::test_systemd_unit_file[package0] +test/test_files.py::test_pyc_mtime_from_chunk[37-1519778958] +test/test_doc.py::test_doc_file_dep[binary/doc-file-dependency] test/test_files.py::test_pyc_magic_from_chunk[37-3393] test/test_cli.py::test_parsing_non_existing_config_file[test_arguments0] -[gw10] [ 1%] PASSED test/test_cli.py::test_parsing_non_existing_config_file[test_arguments0] +[gw20] [ 1%] PASSED test/test_cli.py::test_parsing_non_existing_config_file[test_arguments0] +[gw21] [ 1%] PASSED test/test_config.py::test_broken_config +test/test_files.py::test_lib_regex test/test_cli.py::test_parsing_config_file[test_arguments0] -[gw10] [ 1%] PASSED test/test_cli.py::test_parsing_config_file[test_arguments0] -test/test_cli.py::test_parsing_opensuse_conf[test_arguments0] -[gw10] [ 2%] SKIPPED test/test_cli.py::test_parsing_opensuse_conf[test_arguments0] -test/test_files.py::test_unexpanded_macros[binary/unexpanded-macro-files] -[gw12] [ 2%] PASSED test/test_config.py::test_filters -test/test_config.py::test_list_merging -[gw11] [ 2%] PASSED test/test_config.py::test_broken_config +test/test_appdata.py::test_appdata_fail_no_checker[binary/appdata] +test/test_config_files.py::test_config_files1[package0] test/test_config.py::test_parsing -[gw8] [ 2%] PASSED test/test_binaries.py::test_systemd_unit_file[package0] -test/test_build_date.py::test_build_date_time[binary/builddate] -[gw12] [ 3%] PASSED test/test_config.py::test_list_merging test/test_cli.py::test_parsing_fedora_conf[test_arguments0] -[gw10] [ 3%] SKIPPED test/test_cli.py::test_parsing_fedora_conf[test_arguments0] -test/test_files.py::test_provides_devel[binary/development] +test/test_config.py::test_custom_config +test/test_bashisms.py::test_bashisms_error[binary/bashisms] +[gw22] [ 2%] SKIPPED test/test_cli.py::test_parsing_fedora_conf[test_arguments0] +[gw5] [ 2%] SKIPPED test/test_bashisms.py::test_bashisms_error[binary/bashisms] +test/test_files.py::test_distribution_tags[binary/ngircd] +[gw20] [ 2%] PASSED test/test_cli.py::test_parsing_config_file[test_arguments0] +test/test_files.py::test_zero_length_ignore[/usr/lib/python/__init__.py-False-binary/file-zero-length] +test/test_files.py::test_zero_length_ignore[/usr/lib/emptyfile-True-binary/file-zero-length] +[gw25] [ 2%] PASSED test/test_config.py::test_double_config +[gw21] [ 3%] PASSED test/test_config.py::test_parsing +[gw23] [ 3%] PASSED test/test_config.py::test_custom_config +test/test_config.py::test_filters +test/test_files.py::test_manual_pages[binary/manual-pages] +test/test_files.py::test_zero_length_ignore[/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED-False-binary/file-zero-length] +[gw25] [ 3%] PASSED test/test_config.py::test_filters +test/test_files.py::test_shebang_ok[package0] +[gw18] [ 3%] PASSED test/test_binaries.py::test_systemd_unit_file[package0] +test/test_build_date.py::test_build_date_time[binary/builddate] +[gw26] [ 4%] PASSED test/test_config.py::test_list_merging +[gw24] [ 4%] PASSED test/test_config_files.py::test_config_files1[package0] +test/test_files.py::test_shlib1[binary/shlib1] test/test_config.py::test_badness_functions -[gw12] [ 3%] PASSED test/test_config.py::test_badness_functions -test/test_doc.py::test_doc_file_dep[binary/doc-file-dependency] -[gw11] [ 3%] PASSED test/test_config.py::test_parsing -test/test_files.py::test_script_interpreter -[gw1] [ 4%] FAILED test/test_FHS.py::test_FHS_compliance[binary/non-fhs] -test/test_LSB.py::test_LSB_compliance[binary/fPing] -test/test_files.py::test_zero_length_ignore[/etc/security/console.apps-False-binary/file-zero-length] -[gw0] [ 4%] FAILED test/test_alternatives.py::test_non_update_alternative_pkg[binary/self] -test/test_alternatives.py::test_update_alternatives_correctness[binary/python39-evtx] -[gw13] [ 4%] PASSED test/test_config_files.py::test_config_files1[package0] -test/test_config_files.py::test_config_files_correct1[package0] -[gw11] [ 4%] PASSED test/test_files.py::test_script_interpreter -test/test_files.py::test_scm_regex -[gw6] [ 5%] FAILED test/test_binaries.py::test_shlib_with_no_exec_glibc[binary/glibc] -test/test_binaries.py::test_position_independent_executable[binary/bcc-lua] -[gw1] [ 5%] FAILED test/test_LSB.py::test_LSB_compliance[binary/fPing] -test/test_alternatives.py::test_update_alternative_ok[binary/alternatives-ok] -[gw4] [ 5%] FAILED test/test_binaries.py::test_lto_ghc_archive[binary/ghc] -test/test_binaries.py::test_libtool_wrapper[binary/libtool-wrapper] -[gw8] [ 5%] FAILED test/test_build_date.py::test_build_date_time[binary/builddate] -test/test_build_date.py::test_build_date_time_correct[binary/bashisms] -[gw0] [ 6%] FAILED test/test_alternatives.py::test_update_alternatives_correctness[binary/python39-evtx] -test/test_alternatives.py::test_libalternative_ok[binary/libalternatives-ok] -[gw19] [ 6%] FAILED test/test_files.py::test_makefile_junk[binary/makefile-junk] -test/test_files.py::test_sphinx_inv_files[binary/python3-greenlet] -[gw13] [ 6%] PASSED test/test_config_files.py::test_config_files_correct1[package0] -[gw14] [ 6%] FAILED test/test_dbus_policy.py::test_dbus_policy[binary/dbusrule] -test/test_diff.py::test_distribution_tags -[gw11] [ 7%] PASSED test/test_files.py::test_scm_regex -test/test_files.py::test_lib_regex -[gw12] [ 7%] FAILED test/test_files.py::test_zero_length_ignore[/etc/security/console.apps-False-binary/file-zero-length] -[gw15] [ 7%] FAILED test/test_doc.py::test_doc_file_dep[binary/doc-file-dependency] -test/test_doc.py::test_install_file_in_docs[binary/install-file-in-docs] +[gw26] [ 4%] PASSED test/test_config.py::test_badness_functions +[gw27] [ 4%] PASSED test/test_config_files.py::test_config_files_correct1[package0] +test/test_filter.py::test_description_storing test/test_config_files.py::test_config_files_correct1[package1] -[gw16] [ 7%] FAILED test/test_erlang.py::test_erlang[binary/erlang-test] -test/test_files.py::test_zero_length_ignore[/usr/lib/.nosearch-False-binary/file-zero-length] -[gw10] [ 8%] FAILED test/test_files.py::test_provides_devel[binary/development] -test/test_files.py::test_shlib1[binary/shlib1] -test/test_files.py::test_pep3147 -[gw2] [ 8%] FAILED test/test_appdata.py::test_appdata_fail_no_checker[binary/appdata] -test/test_bashisms.py::test_bashisms[binary/bashisms] -[gw3] [ 8%] FAILED test/test_binaries.py::test_forbidden_c_calls[binary/crypto-policy] -[gw2] [ 8%] SKIPPED test/test_bashisms.py::test_bashisms[binary/bashisms] -test/test_binaries.py::test_waived_forbidden_c_calls[binary/ngircd] -[gw1] [ 9%] FAILED test/test_alternatives.py::test_update_alternative_ok[binary/alternatives-ok] -test/test_alternatives.py::test_update_alternative_borked[binary/alternatives-borked] -test/test_bashisms.py::test_bashisms_error[binary/bashisms] -[gw2] [ 9%] SKIPPED test/test_bashisms.py::test_bashisms_error[binary/bashisms] +[gw25] [ 5%] PASSED test/test_files.py::test_shebang_ok[package0] +test/test_filter.py::test_filters_regexp +[gw27] [ 5%] PASSED test/test_config_files.py::test_config_files_correct1[package1] +[gw25] [ 5%] PASSED test/test_filter.py::test_filters_regexp test/test_filter.py::test_filtered_output -[gw5] [ 9%] FAILED test/test_binaries.py::test_no_binary[binary/no-binary] -test/test_binaries.py::test_invalid_la_file[binary/invalid-la-file] -[gw8] [ 10%] FAILED test/test_build_date.py::test_build_date_time_correct[binary/bashisms] -[gw11] [ 10%] PASSED test/test_files.py::test_lib_regex +test/test_filter.py::test_description_from_conf +[gw31] [ 5%] PASSED test/test_duplicates.py::test_duplicates1[package0] +test/test_duplicates.py::test_duplicates_correct[package0] +[gw33] [ 6%] PASSED test/test_files.py::test_py2 +test/test_files.py::test_pep0488 +[gw31] [ 6%] PASSED test/test_duplicates.py::test_duplicates_correct[package0] +test/test_helpers.py::test_warnprint +[gw31] [ 6%] PASSED test/test_helpers.py::test_warnprint +test/test_helpers.py::test_bytetostr +[gw31] [ 6%] PASSED test/test_helpers.py::test_bytetostr +test/test_i18n.py::test_i18n_invalid_lang[package1] +[gw33] [ 7%] PASSED test/test_files.py::test_pep0488 +test/test_helpers.py::test_centering +[gw33] [ 7%] PASSED test/test_helpers.py::test_centering +test/test_i18n.py::test_i18n_invalid_lang[package0] +[gw31] [ 7%] PASSED test/test_i18n.py::test_i18n_invalid_lang[package1] +test/test_i18n.py::test_i18n_invalid_lang[package2] +[gw33] [ 7%] PASSED test/test_i18n.py::test_i18n_invalid_lang[package0] +test/test_i18n.py::test_i18n_valid_lang[package0] +[gw39] [ 8%] PASSED test/test_files.py::test_script_interpreter +test/test_files.py::test_scm_regex +[gw31] [ 8%] PASSED test/test_i18n.py::test_i18n_invalid_lang[package2] +test/test_i18n.py::test_i18n_valid_lang[package2] +[gw36] [ 8%] FAILED test/test_files.py::test_pyc_magic_from_chunk[37-3393] +test/test_files.py::test_pyc_mtime_from_chunk[36-1513659236] +[gw41] [ 8%] PASSED test/test_files.py::test_lib_regex test/test_files.py::test_rust_files[binary/rust] -[gw18] [ 10%] FAILED test/test_files.py::test_pyc_magic_from_chunk[37-3393] -[gw10] [ 10%] FAILED test/test_files.py::test_shlib1[binary/shlib1] -[gw0] [ 11%] FAILED test/test_alternatives.py::test_libalternative_ok[binary/libalternatives-ok] -[gw13] [ 11%] PASSED test/test_config_files.py::test_config_files_correct1[package1] +[gw38] [ 9%] FAILED test/test_files.py::test_pyc_mtime_from_chunk[37-1519778958] +test/test_files.py::test_devel_files[binary/netmask-debugsource] +[gw33] [ 9%] PASSED test/test_i18n.py::test_i18n_valid_lang[package0] +test/test_i18n.py::test_i18n_valid_lang[package1] +[gw34] [ 9%] FAILED test/test_files.py::test_unexpanded_macros[binary/unexpanded-macro-files] +[gw10] [ 10%] FAILED test/test_binaries.py::test_shlib_with_no_exec_glibc[binary/glibc] +[gw17] [ 10%] FAILED test/test_binaries.py::test_multiple_errors[binary/multiple_errors] +test/test_binaries.py::test_patchable_function_entry_archive[binary/libtest] +test/test_files.py::test_python_bytecode_magic[binary/python3-power] +test/test_binaries.py::test_position_independent_executable[binary/bcc-lua] +[gw39] [ 10%] PASSED test/test_files.py::test_scm_regex +test/test_i18n.py::test_i18n_valid_lang[package4] +[gw18] [ 10%] FAILED test/test_build_date.py::test_build_date_time[binary/builddate] +[gw19] [ 11%] FAILED test/test_build_date.py::test_build_date_time_correct[binary/bashisms] test/test_filter.py::test_data_storing -[gw4] [ 11%] FAILED test/test_binaries.py::test_libtool_wrapper[binary/libtool-wrapper] -test/test_binaries.py::test_no_arch_issues[binary/noarch] -test/test_files.py::test_shlib2_devel[binary/shlib2-devel] -test/test_files.py::test_pyc_mtime_from_chunk[36-1513659236] -[gw15] [ 11%] FAILED test/test_doc.py::test_install_file_in_docs[binary/install-file-in-docs] -test/test_duplicates.py::test_duplicates1[package0] -[gw19] [ 12%] FAILED test/test_files.py::test_sphinx_inv_files[binary/python3-greenlet] -test/test_files.py::test_invalid_package[binary/filechecks] -[gw6] [ 12%] FAILED test/test_binaries.py::test_position_independent_executable[binary/bcc-lua] -test/test_binaries.py::test_only_non_binary_in_usr_lib[binary/only-non-binary-in-usr-lib] +[gw33] [ 11%] PASSED test/test_i18n.py::test_i18n_valid_lang[package1] +[gw31] [ 11%] PASSED test/test_i18n.py::test_i18n_valid_lang[package2] test/test_build_root.py::test_build_root[binary/buildroot] -test/test_alternatives.py::test_libalternative_borked[binary/libalternatives-borked] -[gw12] [ 12%] FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/.nosearch-False-binary/file-zero-length] -test/test_files.py::test_zero_length_ignore[/usr/lib/python/__init__.py-False-binary/file-zero-length] -[gw9] [ 12%] FAILED test/test_binaries.py::test_invalid_ldconfig_symlink[binary/libtest3] +[gw4] [ 11%] FAILED test/test_appdata.py::test_appdata_fail_no_checker[binary/appdata] +test/test_files.py::test_zero_length_ignore[/etc/security/console.apps-False-binary/file-zero-length] +test/test_ldd_parser.py::test_opt_dependency +test/test_i18n.py::test_i18n_valid_lang[package3] +[gw24] [ 12%] FAILED test/test_files.py::test_shlib1[binary/shlib1] +[gw37] [ 12%] FAILED test/test_files.py::test_makefile_junk[binary/makefile-junk] +[gw5] [ 12%] FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/emptyfile-True-binary/file-zero-length] +[gw27] [ 12%] PASSED test/test_filter.py::test_description_from_conf +[gw16] [ 13%] FAILED test/test_binaries.py::test_invalid_ldconfig_symlink[binary/libtest3] +[gw20] [ 13%] FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/python/__init__.py-False-binary/file-zero-length] +[gw26] [ 13%] FAILED test/test_filter.py::test_description_storing +[gw6] [ 13%] FAILED test/test_binaries.py::test_forbidden_c_calls[binary/crypto-policy] +test/test_files.py::test_zero_length_ignore[/usr/lib/nonemptyfile-False-binary/file-zero-length] +[gw36] [ 14%] FAILED test/test_files.py::test_pyc_mtime_from_chunk[36-1513659236] +test/test_ldd_parser.py::test_unused_dependency +test/test_files.py::test_shlib2_devel[binary/shlib2-devel] +test/test_files.py::test_sphinx_inv_files[binary/python3-greenlet] +[gw31] [ 14%] PASSED test/test_i18n.py::test_i18n_valid_lang[package3] +test/test_filter.py::test_output +[gw17] [ 14%] FAILED test/test_binaries.py::test_patchable_function_entry_archive[binary/libtest] +test/test_lib_dependency.py::test_shlib2_devel[binary/shlib2-devel] +test/test_lint.py::test_explain_known_warn_on_function[configs1] test/test_binaries.py::test_not_valid_ldconfig_symlink[binary/libtest4] -[gw1] [ 13%] FAILED test/test_alternatives.py::test_update_alternative_borked[binary/alternatives-borked] -test/test_files.py::test_zero_length_ignore[/usr/lib/ruby/gem.build_complete-False-binary/file-zero-length] -[gw16] [ 13%] PASSED test/test_files.py::test_pep3147 -test/test_files.py::test_py2 -[gw17] [ 13%] FAILED test/test_files.py::test_unexpanded_macros[binary/unexpanded-macro-files] -test/test_files.py::test_python_bytecode_magic[binary/python3-power] -[gw10] [ 13%] FAILED test/test_files.py::test_shlib2_devel[binary/shlib2-devel] -[gw15] [ 14%] PASSED test/test_duplicates.py::test_duplicates1[package0] -test/test_files.py::test_zero_length_ignore[/usr/lib/emptyfile-True-binary/file-zero-length] -test/test_duplicates.py::test_duplicates_correct[package0] -[gw3] [ 14%] FAILED test/test_binaries.py::test_waived_forbidden_c_calls[binary/ngircd] -test/test_binaries.py::test_lto_bytecode[binary/libreiserfscore-devel] -[gw4] [ 14%] FAILED test/test_binaries.py::test_no_arch_issues[binary/noarch] -[gw14] [ 14%] FAILED test/test_diff.py::test_distribution_tags -test/test_diff.py::test_exclude -test/test_binaries.py::test_shlib_with_no_exec[binary/libnoexec] -[gw12] [ 15%] FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/python/__init__.py-False-binary/file-zero-length] test/test_files.py::test_zero_length_ignore[/usr/lib/python/py.typed-False-binary/file-zero-length] -[gw2] [ 15%] FAILED test/test_filter.py::test_filtered_output -test/test_filter.py::test_blocked_filters -[gw15] [ 15%] PASSED test/test_duplicates.py::test_duplicates_correct[package0] -test/test_lint.py::test_cases_loading -[gw7] [ 15%] FAILED test/test_binaries.py::test_non_position_independent[binary/non-position-independent-exec] -[gw10] [ 16%] FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/emptyfile-True-binary/file-zero-length] -test/test_files.py::test_zero_length_ignore[/usr/lib/nonemptyfile-False-binary/file-zero-length] -[gw5] [ 16%] FAILED test/test_binaries.py::test_invalid_la_file[binary/invalid-la-file] -[gw13] [ 16%] FAILED test/test_filter.py::test_data_storing -test/test_filter.py::test_data_storing_backward_compat -test/test_binaries.py::test_binary_in_etc[binary/binary-in-etc] -[gw13] [ 16%] PASSED test/test_filter.py::test_data_storing_backward_compat -test/test_filter.py::test_description_storing -[gw16] [ 17%] PASSED test/test_files.py::test_py2 -test/test_binaries.py::test_library[binary/libtest] -[gw18] [ 17%] FAILED test/test_files.py::test_pyc_mtime_from_chunk[36-1513659236] -[gw11] [ 17%] FAILED test/test_files.py::test_rust_files[binary/rust] -test/test_files.py::test_distribution_tags[binary/ngircd] -[gw8] [ 17%] FAILED test/test_build_root.py::test_build_root[binary/buildroot] -test/test_i18n.py::test_i18n_invalid_lang[package1] -[gw1] [ 18%] FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/ruby/gem.build_complete-False-binary/file-zero-length] -test/test_files.py::test_manual_pages[binary/manual-pages] -[gw9] [ 18%] FAILED test/test_binaries.py::test_not_valid_ldconfig_symlink[binary/libtest4] -test/test_binaries.py::test_multiple_errors[binary/multiple_errors] -test/test_files.py::test_pep0488 -[gw14] [ 18%] FAILED test/test_diff.py::test_exclude -test/test_files.py::test_pyc_mtime_from_chunk[37-1519778958] -[gw19] [ 19%] FAILED test/test_files.py::test_invalid_package[binary/filechecks] -[gw12] [ 19%] FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/python/py.typed-False-binary/file-zero-length] -[gw17] [ 19%] FAILED test/test_files.py::test_python_bytecode_magic[binary/python3-power] -[gw6] [ 19%] FAILED test/test_binaries.py::test_only_non_binary_in_usr_lib[binary/only-non-binary-in-usr-lib] -[gw10] [ 20%] FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/nonemptyfile-False-binary/file-zero-length] -test/test_ldd_parser.py::test_opt_dependency -test/test_files.py::test_file_not_utf8_for_compression_algorithms[binary/testdocumentation] -test/test_files.py::test_tcl_package[binary/tclpackage] -[gw13] [ 20%] FAILED test/test_filter.py::test_description_storing +[gw39] [ 14%] PASSED test/test_i18n.py::test_i18n_valid_lang[package4] test/test_filter.py::test_description_from_toml -[gw0] [ 20%] FAILED test/test_alternatives.py::test_libalternative_borked[binary/libalternatives-borked] -test/test_ldd_parser.py::test_undefined_symbol -[gw15] [ 20%] PASSED test/test_lint.py::test_cases_loading -test/test_lint.py::test_configoutput -test/test_doc.py::test_doccheck[binary/mydoc] -[gw3] [ 21%] FAILED test/test_binaries.py::test_lto_bytecode[binary/libreiserfscore-devel] -[gw4] [ 21%] FAILED test/test_binaries.py::test_shlib_with_no_exec[binary/libnoexec] -test/test_lint.py::test_explain_known_warn_on_function[configs0] -[gw1] [ 21%] FAILED test/test_files.py::test_manual_pages[binary/manual-pages] +test/test_binaries.py::test_waived_forbidden_c_calls[binary/ngircd] +[gw32] [ 15%] FAILED test/test_erlang.py::test_erlang[binary/erlang-test] +test/test_icon_sizes.py::test_icon_sizes[binary/tasque] +test/test_files.py::test_pep3147 +[gw34] [ 15%] FAILED test/test_files.py::test_python_bytecode_magic[binary/python3-power] +[gw38] [ 15%] FAILED test/test_files.py::test_devel_files[binary/netmask-debugsource] +test/test_ldd_parser.py::test_unused_dependency_in_package +test/test_lint.py::test_cases_loading +[gw0] [ 15%] FAILED test/test_FHS.py::test_FHS_compliance[binary/non-fhs] +[gw28] [ 16%] FAILED test/test_dbus_policy.py::test_dbus_policy[binary/dbusrule] +test/test_LSB.py::test_LSB_compliance[binary/fPing] +[gw2] [ 16%] FAILED test/test_alternatives.py::test_non_update_alternative_pkg[binary/self] +[gw1] [ 16%] FAILED test/test_alternatives.py::test_update_alternative_ok[binary/alternatives-ok] +[gw10] [ 16%] FAILED test/test_binaries.py::test_position_independent_executable[binary/bcc-lua] +[gw21] [ 17%] FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED-False-binary/file-zero-length] +test/test_alternatives.py::test_update_alternative_borked[binary/alternatives-borked] +test/test_lint.py::test_time_report +[gw9] [ 17%] FAILED test/test_binaries.py::test_no_arch_issues[binary/noarch] +[gw23] [ 17%] FAILED test/test_files.py::test_manual_pages[binary/manual-pages] +[gw19] [ 17%] FAILED test/test_build_root.py::test_build_root[binary/buildroot] +test/test_lint.py::test_explain_known +test/test_diff.py::test_distribution_tags +test/test_alternatives.py::test_update_alternatives_correctness[binary/python39-evtx] +test/test_binaries.py::test_shlib_with_no_exec[binary/libnoexec] +[gw12] [ 18%] FAILED test/test_binaries.py::test_no_binary[binary/no-binary] +[gw8] [ 18%] FAILED test/test_binaries.py::test_lto_ghc_archive[binary/ghc] +[gw40] [ 18%] FAILED test/test_files.py::test_invalid_package[binary/filechecks] +[gw13] [ 19%] FAILED test/test_binaries.py::test_binary_in_etc[binary/binary-in-etc] +[gw35] [ 19%] FAILED test/test_files.py::test_file_not_utf8_for_compression_algorithms[binary/testdocumentation] +[gw41] [ 19%] FAILED test/test_files.py::test_rust_files[binary/rust] +test/test_ldd_parser.py::test_ldd_parser_failure +[gw15] [ 19%] FAILED test/test_binaries.py::test_shared_library1[binary/libtest1] +[gw7] [ 20%] FAILED test/test_binaries.py::test_lto_bytecode[binary/libreiserfscore-devel] +[gw22] [ 20%] FAILED test/test_files.py::test_distribution_tags[binary/ngircd] +test/test_files.py::test_zero_length_ignore[/usr/lib/ruby/gem.build_complete-False-binary/file-zero-length] +test/test_binaries.py::test_invalid_la_file[binary/invalid-la-file] +[gw17] [ 20%] FAILED test/test_lib_dependency.py::test_shlib2_devel[binary/shlib2-devel] test/test_files.py::test_shebang[package0] -[gw2] [ 21%] FAILED test/test_filter.py::test_blocked_filters -test/test_helpers.py::test_warnprint -[gw2] [ 22%] PASSED test/test_helpers.py::test_warnprint -test/test_helpers.py::test_bytetostr -[gw11] [ 22%] FAILED test/test_files.py::test_distribution_tags[binary/ngircd] -test/test_i18n.py::test_i18n_valid_lang[package3] -[gw2] [ 22%] PASSED test/test_helpers.py::test_bytetostr -test/test_helpers.py::test_centering -[gw9] [ 22%] FAILED test/test_binaries.py::test_multiple_errors[binary/multiple_errors] -[gw8] [ 23%] PASSED test/test_i18n.py::test_i18n_invalid_lang[package1] -[gw13] [ 23%] PASSED test/test_filter.py::test_description_from_toml -test/test_filter.py::test_description_from_conf -test/test_binaries.py::test_only_non_binary_in_usr_lib_exception[binary/only-non-binary-in-usr-lib_exception] -[gw2] [ 23%] PASSED test/test_helpers.py::test_centering -[gw7] [ 23%] FAILED test/test_binaries.py::test_library[binary/libtest] -test/test_binaries.py::test_shared_library1[binary/libtest1] -[gw16] [ 24%] PASSED test/test_files.py::test_pep0488 -test/test_lint.py::test_descriptions_from_config[packages0] -[gw5] [ 24%] FAILED test/test_binaries.py::test_binary_in_etc[binary/binary-in-etc] -[gw14] [ 24%] FAILED test/test_doc.py::test_doccheck[binary/mydoc] -test/test_lint.py::test_run_installed_and_no_files -[gw14] [ 24%] SKIPPED test/test_lint.py::test_run_installed_and_no_files -test/test_lint.py::test_header_information -[gw14] [ 25%] SKIPPED test/test_lint.py::test_header_information +test/test_binaries.py::test_libtool_wrapper[binary/libtool-wrapper] +[gw26] [ 20%] PASSED test/test_filter.py::test_description_from_toml +test/test_binaries.py::test_shared_library2[binary/libtest2] test/test_binaries.py::test_lto_archive_text[binary/lto-text] -test/test_i18n.py::test_i18n_invalid_lang[package2] -[gw18] [ 25%] FAILED test/test_files.py::test_pyc_mtime_from_chunk[37-1519778958] +test/test_files.py::test_pyc_magic_from_chunk[36-3379] +test/test_files.py::test_provides_devel[binary/development] +test/test_files.py::test_tcl_package[binary/tclpackage] +[gw4] [ 21%] FAILED test/test_files.py::test_zero_length_ignore[/etc/security/console.apps-False-binary/file-zero-length] +test/test_binaries.py::test_non_position_independent_sugg[binary/non-position-independent-exec] +test/test_lib_dependency.py::test_missing_depency_on[binary/xrootd-devel] +[gw32] [ 21%] PASSED test/test_files.py::test_pep3147 +[gw11] [ 21%] FAILED test/test_binaries.py::test_only_non_binary_in_usr_lib[binary/only-non-binary-in-usr-lib] +test/test_lint.py::test_run_installed_not_present +[gw26] [ 21%] SKIPPED test/test_lint.py::test_run_installed_not_present +test/test_files.py::test_zero_length_ignore[/usr/lib/.nosearch-False-binary/file-zero-length] test/test_lint.py::test_run_full_rpm[configs0-packages0] -[gw15] [ 25%] PASSED test/test_lint.py::test_configoutput -test/test_lint.py::test_time_report -[gw14] [ 25%] SKIPPED test/test_lint.py::test_run_full_rpm[configs0-packages0] -test/test_lint.py::test_run_full_specs[configs0-packages0] -[gw10] [ 26%] FAILED test/test_ldd_parser.py::test_opt_dependency -[gw1] [ 26%] PASSED test/test_files.py::test_shebang[package0] -test/test_files.py::test_shebang_ok[package0] -[gw14] [ 26%] SKIPPED test/test_lint.py::test_run_full_specs[configs0-packages0] +[gw37] [ 22%] FAILED test/test_files.py::test_sphinx_inv_files[binary/python3-greenlet] +test/test_binaries.py::test_only_non_binary_in_usr_lib_exception[binary/only-non-binary-in-usr-lib_exception] +[gw32] [ 22%] SKIPPED test/test_lint.py::test_run_full_rpm[configs0-packages0] +test/test_objdump_parser.py::test_executable_stack_package +test/test_lint.py::test_run_installed[packages0] +[gw37] [ 22%] SKIPPED test/test_lint.py::test_run_installed[packages0] +[gw5] [ 22%] FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/nonemptyfile-False-binary/file-zero-length] +test/test_pkgconfig.py::test_pkg_config_correct[binary/libreiserfscore-devel] +test/test_pkg.py::test_parse_deps +[gw1] [ 23%] FAILED test/test_alternatives.py::test_update_alternative_borked[binary/alternatives-borked] +[gw32] [ 23%] PASSED test/test_pkg.py::test_parse_deps +test/test_lint.py::test_explain_no_binary_from_cfg +[gw33] [ 23%] FAILED test/test_ldd_parser.py::test_opt_dependency +test/test_lint.py::test_run_empty +[gw1] [ 23%] SKIPPED test/test_lint.py::test_run_empty +[gw20] [ 24%] FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/python/py.typed-False-binary/file-zero-length] +[gw16] [ 24%] FAILED test/test_binaries.py::test_not_valid_ldconfig_symlink[binary/libtest4] +test/test_python.py::test_python_doc_in_package[package0] +[gw0] [ 24%] FAILED test/test_LSB.py::test_LSB_compliance[binary/fPing] test/test_ldd_parser.py::test_usr_dependency -[gw11] [ 26%] PASSED test/test_i18n.py::test_i18n_valid_lang[package3] -[gw0] [ 27%] FAILED test/test_ldd_parser.py::test_undefined_symbol -test/test_ldd_parser.py::test_ldd_parser_failure -test/test_files.py::test_zero_length_ignore[/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED-False-binary/file-zero-length] -[gw13] [ 27%] PASSED test/test_filter.py::test_description_from_conf -test/test_i18n.py::test_i18n_valid_lang[package4] -[gw4] [ 27%] FAILED test/test_lint.py::test_explain_known_warn_on_function[configs0] -[gw17] [ 28%] FAILED test/test_files.py::test_file_not_utf8_for_compression_algorithms[binary/testdocumentation] -test/test_i18n.py::test_i18n_invalid_lang[package0] -test/test_binaries.py::test_patchable_function_entry_archive[binary/libtest] -[gw7] [ 28%] FAILED test/test_binaries.py::test_shared_library1[binary/libtest1] -[gw15] [ 28%] PASSED test/test_lint.py::test_time_report -test/test_binaries.py::test_non_position_independent_sugg[binary/non-position-independent-exec] -test/test_lint.py::test_explain_unknown -[gw1] [ 28%] PASSED test/test_files.py::test_shebang_ok[package0] -test/test_files.py::test_devel_files[binary/netmask-debugsource] -test/test_lint.py::test_explain_known_warn_on_function[configs1] -test/test_lint.py::test_run_full_directory[packages0] -[gw14] [ 29%] SKIPPED test/test_lint.py::test_run_full_directory[packages0] -test/test_filter.py::test_output +[gw25] [ 24%] FAILED test/test_filter.py::test_filtered_output +test/test_lint.py::test_run_strict[packages0] +test/test_python.py::test_python_doc_in_site_packages[package0] +test/test_lint.py::test_run_single[packages0] +[gw14] [ 25%] FAILED test/test_binaries.py::test_non_position_independent[binary/non-position-independent-exec] +test/test_filter.py::test_blocked_filters +test/test_lint.py::test_run_full_specs[configs0-packages0] +[gw6] [ 25%] FAILED test/test_binaries.py::test_waived_forbidden_c_calls[binary/ngircd] +[gw24] [ 25%] FAILED test/test_files.py::test_shlib2_devel[binary/shlib2-devel] +[gw0] [ 25%] SKIPPED test/test_lint.py::test_run_full_specs[configs0-packages0] +[gw36] [ 26%] FAILED test/test_ldd_parser.py::test_unused_dependency +test/test_binaries.py::test_library[binary/libtest] +[gw2] [ 26%] FAILED test/test_alternatives.py::test_update_alternatives_correctness[binary/python39-evtx] +test/test_lint.py::test_run_installed_and_no_files +[gw39] [ 26%] FAILED test/test_icon_sizes.py::test_icon_sizes[binary/tasque] +[gw34] [ 26%] PASSED test/test_lint.py::test_cases_loading +[gw27] [ 27%] FAILED test/test_filter.py::test_output +test/test_ldd_parser.py::test_undefined_symbol +[gw23] [ 27%] PASSED test/test_files.py::test_shebang[package0] +test/test_lint.py::test_run_rpmlintrc_single_dir[packages0] +test/test_python.py::test_python_dependencies_metadata[package3] +[gw6] [ 27%] SKIPPED test/test_lint.py::test_run_installed_and_no_files +[gw2] [ 28%] SKIPPED test/test_lint.py::test_run_rpmlintrc_single_dir[packages0] +[gw38] [ 28%] FAILED test/test_ldd_parser.py::test_unused_dependency_in_package +test/test_lint.py::test_descriptions_from_config[packages0] +[gw17] [ 28%] FAILED test/test_lib_dependency.py::test_missing_depency_on[binary/xrootd-devel] +test/test_menuxdg.py::test_raises_parse_error[binary/menuxdg1] +[gw41] [ 28%] PASSED test/test_ldd_parser.py::test_ldd_parser_failure +test/test_lint.py::test_header_information +[gw19] [ 29%] PASSED test/test_lint.py::test_explain_known +test/test_python.py::test_python_pyc_single_version[package0] test/test_python.py::test_python_dependencies_missing_metadata[package0] -[gw8] [ 29%] PASSED test/test_i18n.py::test_i18n_invalid_lang[package2] -[gw3] [ 29%] FAILED test/test_binaries.py::test_lto_archive_text[binary/lto-text] -test/test_menuxdg.py::test_duplicate[binary/desktopfile-bad-duplicate] -[gw3] [ 29%] SKIPPED test/test_menuxdg.py::test_duplicate[binary/desktopfile-bad-duplicate] -test/test_files.py::test_pyc_magic_from_chunk[36-3379] -test/test_filter.py::test_filters_regexp -[gw1] [ 30%] PASSED test/test_filter.py::test_filters_regexp -test/test_readelf_parser.py::test_rpath -[gw0] [ 30%] PASSED test/test_ldd_parser.py::test_ldd_parser_failure -test/test_menuxdg.py::test_missing_header[binary/desktopfile-bad-section] -[gw3] [ 30%] SKIPPED test/test_menuxdg.py::test_missing_header[binary/desktopfile-bad-section] -test/test_menuxdg.py::test_bad_unicode[binary/desktopfile-bad-unicode] -[gw3] [ 30%] SKIPPED test/test_menuxdg.py::test_bad_unicode[binary/desktopfile-bad-unicode] -test/test_i18n.py::test_i18n_valid_lang[package0] -test/test_binaries.py::test_shared_library2[binary/libtest2] +[gw23] [ 29%] SKIPPED test/test_menuxdg.py::test_raises_parse_error[binary/menuxdg1] +test/test_lint.py::test_configoutput +[gw31] [ 29%] FAILED test/test_lint.py::test_explain_known_warn_on_function[configs1] +[gw9] [ 29%] FAILED test/test_binaries.py::test_shlib_with_no_exec[binary/libnoexec] +test/test_lint.py::test_explain_non_standard_dir_from_cfg +test/test_ldd_parser.py::test_unused_dependency_in_package_for_executable +[gw39] [ 30%] SKIPPED test/test_lint.py::test_header_information +test/test_objdump_parser.py::test_basic +[gw30] [ 30%] FAILED test/test_doc.py::test_doc_file_dep[binary/doc-file-dependency] +[gw10] [ 30%] PASSED test/test_lint.py::test_time_report +[gw3] [ 30%] FAILED test/test_alternatives.py::test_libalternative_ok[binary/libalternatives-ok] test/test_ldd_parser.py::test_dependencies -[gw19] [ 31%] FAILED test/test_files.py::test_tcl_package[binary/tclpackage] -test/test_lint.py::test_run_empty -[gw19] [ 31%] SKIPPED test/test_lint.py::test_run_empty -test/test_lint.py::test_run_rpmlintrc_single_dir[packages0] -[gw19] [ 31%] SKIPPED test/test_lint.py::test_run_rpmlintrc_single_dir[packages0] +[gw21] [ 31%] FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/ruby/gem.build_complete-False-binary/file-zero-length] +test/test_lint.py::test_explain_known_warn_on_function[configs0] +test/test_lint.py::test_explain_with_unknown +[gw22] [ 31%] FAILED test/test_files.py::test_provides_devel[binary/development] +[gw37] [ 31%] FAILED test/test_pkgconfig.py::test_pkg_config_correct[binary/libreiserfscore-devel] +[gw12] [ 31%] FAILED test/test_binaries.py::test_invalid_la_file[binary/invalid-la-file] +[gw8] [ 32%] FAILED test/test_binaries.py::test_libtool_wrapper[binary/libtool-wrapper] +test/test_python.py::test_python_sphinx_doctrees_leftover_nowarn[package1] +test/test_python.py::test_python_sphinx_doctrees_leftover_warn[package1] +[gw15] [ 32%] FAILED test/test_binaries.py::test_shared_library2[binary/libtest2] test/test_lint.py::test_run_rpmlintrc_multiple[packages0] -[gw19] [ 31%] SKIPPED test/test_lint.py::test_run_rpmlintrc_multiple[packages0] -[gw2] [ 32%] PASSED test/test_i18n.py::test_i18n_invalid_lang[package0] -[gw15] [ 32%] PASSED test/test_lint.py::test_explain_unknown -test/test_menuxdg.py::test_good[binary/desktopfile-good] -[gw3] [ 32%] SKIPPED test/test_menuxdg.py::test_good[binary/desktopfile-good] -test/test_python.py::test_python_doc_in_package[package0] +[gw9] [ 32%] SKIPPED test/test_lint.py::test_run_rpmlintrc_multiple[packages0] +[gw40] [ 32%] FAILED test/test_files.py::test_tcl_package[binary/tclpackage] +[gw7] [ 33%] FAILED test/test_binaries.py::test_lto_archive_text[binary/lto-text] +[gw35] [ 33%] FAILED test/test_files.py::test_pyc_magic_from_chunk[36-3379] +[gw1] [ 33%] PASSED test/test_python.py::test_python_doc_in_site_packages[package0] +[gw32] [ 33%] PASSED test/test_python.py::test_python_doc_in_package[package0] +test/test_doc.py::test_install_file_in_docs[binary/install-file-in-docs] +[gw26] [ 34%] FAILED test/test_objdump_parser.py::test_executable_stack_package +test/test_lint.py::test_explain_unknown +[gw4] [ 34%] FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/.nosearch-False-binary/file-zero-length] +test/test_alternatives.py::test_libalternative_borked[binary/libalternatives-borked] test/test_lint.py::test_run_rpmlintrc_single_file[packages0] -[gw19] [ 32%] SKIPPED test/test_lint.py::test_run_rpmlintrc_single_file[packages0] -test/test_readelf_parser.py::test_stripped_archive -[gw11] [ 33%] PASSED test/test_i18n.py::test_i18n_valid_lang[package4] -test/test_icon_sizes.py::test_icon_sizes[binary/tasque] -test/test_readelf_parser.py::test_lto_archive_preinit_array -[gw9] [ 33%] FAILED test/test_binaries.py::test_patchable_function_entry_archive[binary/libtest] -test/test_pkg.py::test_parse_deps -test/test_lint.py::test_explain_known -[gw9] [ 33%] PASSED test/test_pkg.py::test_parse_deps -test/test_pkg.py::test_range_compare -[gw16] [ 33%] FAILED test/test_lint.py::test_descriptions_from_config[packages0] -test/test_lint.py::test_run_single[packages0] -[gw10] [ 34%] FAILED test/test_ldd_parser.py::test_usr_dependency -test/test_lib_dependency.py::test_shlib2_devel[binary/shlib2-devel] -[gw9] [ 34%] PASSED test/test_pkg.py::test_range_compare -test/test_pkgconfig.py::test_pkg_config[binary/pc] -[gw18] [ 34%] FAILED test/test_files.py::test_devel_files[binary/netmask-debugsource] -test/test_python.py::test_python_dependencies_metadata[package2] -[gw13] [ 34%] FAILED test/test_filter.py::test_output -test/test_python.py::test_python_pyc_single_version[package0] -[gw2] [ 35%] PASSED test/test_python.py::test_python_doc_in_package[package0] test/test_python.py::test_python_doc_module_in_package[package0] -[gw4] [ 35%] FAILED test/test_lint.py::test_explain_known_warn_on_function[configs1] -test/test_lint.py::test_explain_with_unknown -[gw0] [ 35%] FAILED test/test_ldd_parser.py::test_dependencies -test/test_ldd_parser.py::test_unused_dependency_in_package -[gw7] [ 35%] FAILED test/test_binaries.py::test_shared_library2[binary/libtest2] -test/test_readelf_parser.py::test_simple_archive -[gw12] [ 36%] FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED-False-binary/file-zero-length] test/test_mixed_ownership.py::test_mixed_ownership[binary/mixed-ownership] -[gw8] [ 36%] PASSED test/test_i18n.py::test_i18n_valid_lang[package0] -test/test_i18n.py::test_i18n_valid_lang[package1] -[gw15] [ 36%] PASSED test/test_lint.py::test_explain_known -[gw13] [ 37%] PASSED test/test_python.py::test_python_pyc_single_version[package0] -test/test_python.py::test_python_sphinx_doctrees_leftover_warn[package0] -[gw6] [ 37%] FAILED test/test_binaries.py::test_only_non_binary_in_usr_lib_exception[binary/only-non-binary-in-usr-lib_exception] +[gw21] [ 34%] SKIPPED test/test_lint.py::test_run_rpmlintrc_single_file[packages0] test/test_lint.py::test_installed_package -[gw6] [ 37%] SKIPPED test/test_lint.py::test_installed_package test/test_logrotate.py::test_logrotate[binary/logrotate] -[gw2] [ 37%] PASSED test/test_python.py::test_python_doc_module_in_package[package0] +[gw12] [ 34%] SKIPPED test/test_lint.py::test_installed_package +[gw5] [ 35%] PASSED test/test_lint.py::test_explain_no_binary_from_cfg +test/test_menuxdg.py::test_duplicate[binary/desktopfile-bad-duplicate] +test/test_menuxdg.py::test_without_binary[binary/desktopfile-bad-binary] +[gw36] [ 35%] FAILED test/test_ldd_parser.py::test_undefined_symbol +test/test_readelf_parser.py::test_lto_archive_text_function_sections +[gw35] [ 35%] SKIPPED test/test_menuxdg.py::test_without_binary[binary/desktopfile-bad-binary] +[gw15] [ 35%] SKIPPED test/test_menuxdg.py::test_duplicate[binary/desktopfile-bad-duplicate] +test/test_python.py::test_python_dependencies_metadata[package0] +[gw33] [ 36%] FAILED test/test_ldd_parser.py::test_usr_dependency +test/test_menuxdg.py::test_good[binary/desktopfile-good] +test/test_menuxdg.py::test_bad_unicode[binary/desktopfile-bad-unicode] +test/test_pkgconfig.py::test_pkg_config[binary/pc] test/test_python.py::test_python_distutils_egg_info[package0] -[gw1] [ 38%] FAILED test/test_readelf_parser.py::test_rpath -test/test_readelf_parser.py::test_lto_bytecode -[gw9] [ 38%] FAILED test/test_pkgconfig.py::test_pkg_config[binary/pc] -[gw11] [ 38%] FAILED test/test_icon_sizes.py::test_icon_sizes[binary/tasque] -[gw18] [ 38%] PASSED test/test_python.py::test_python_dependencies_metadata[package2] -test/test_python.py::test_python_dependencies_metadata[package3] -[gw4] [ 39%] PASSED test/test_lint.py::test_explain_with_unknown -test/test_lint.py::test_explain_no_binary_from_cfg -test/test_readelf_parser.py::test_executable_stack -[gw10] [ 39%] FAILED test/test_lib_dependency.py::test_shlib2_devel[binary/shlib2-devel] -test/test_pkgconfig.py::test_pkg_config_correct[binary/libreiserfscore-devel] -[gw13] [ 39%] PASSED test/test_python.py::test_python_sphinx_doctrees_leftover_warn[package0] -test/test_python.py::test_python_sphinx_doctrees_leftover_warn[package1] -test/test_ldd_parser.py::test_unused_dependency -test/test_lib_dependency.py::test_missing_depency_on[binary/xrootd-devel] -[gw2] [ 39%] PASSED test/test_python.py::test_python_distutils_egg_info[package0] -[gw7] [ 40%] FAILED test/test_readelf_parser.py::test_simple_archive -test/test_readelf_parser.py::test_program_header_parsing -test/test_python.py::test_python_doc_in_site_packages[package0] -[gw14] [ 40%] PASSED test/test_python.py::test_python_dependencies_missing_metadata[package0] -[gw19] [ 40%] PASSED test/test_readelf_parser.py::test_lto_archive_preinit_array -test/test_readelf_parser.py::test_lto_archive_with_only_data -test/test_python.py::test_python_dependencies_leftover[package0] -[gw0] [ 40%] FAILED test/test_ldd_parser.py::test_unused_dependency_in_package -[gw5] [ 41%] FAILED test/test_binaries.py::test_non_position_independent_sugg[binary/non-position-independent-exec] +[gw7] [ 36%] SKIPPED test/test_menuxdg.py::test_bad_unicode[binary/desktopfile-bad-unicode] test/test_python.py::test_python_src_in_site_packages[package0] -[gw13] [ 41%] PASSED test/test_python.py::test_python_sphinx_doctrees_leftover_warn[package1] -test/test_ldd_parser.py::test_unused_dependency_in_package_for_executable -[gw4] [ 41%] PASSED test/test_lint.py::test_explain_no_binary_from_cfg -test/test_python.py::test_python_sphinx_doctrees_leftover_nowarn[package0] -[gw8] [ 41%] PASSED test/test_i18n.py::test_i18n_valid_lang[package1] -[gw18] [ 42%] PASSED test/test_python.py::test_python_dependencies_metadata[package3] -test/test_lint.py::test_explain_non_standard_dir_from_cfg -test/test_python.py::test_python_dependencies_requires[package0] -[gw1] [ 42%] FAILED test/test_readelf_parser.py::test_lto_bytecode -[gw16] [ 42%] PASSED test/test_lint.py::test_run_single[packages0] -[gw2] [ 42%] PASSED test/test_python.py::test_python_doc_in_site_packages[package0] -test/test_readelf_parser.py::test_shlib_policy_name_error -test/test_readelf_parser.py::test_lto_archive_text -test/test_lint.py::test_run_installed[packages0] -[gw15] [ 43%] FAILED test/test_readelf_parser.py::test_executable_stack -[gw9] [ 43%] FAILED test/test_pkgconfig.py::test_pkg_config_correct[binary/libreiserfscore-devel] -test/test_readelf_parser.py::test_readelf_single_error_message -[gw5] [ 43%] PASSED test/test_python.py::test_python_src_in_site_packages[package0] test/test_python.py::test_python_tests_in_site_packages[package0] -[gw17] [ 43%] FAILED test/test_files.py::test_pyc_magic_from_chunk[36-3379] -test/test_python.py::test_python_sphinx_doctrees_leftover_nowarn[package1] -[gw3] [ 44%] FAILED test/test_readelf_parser.py::test_stripped_archive -[gw18] [ 44%] PASSED test/test_python.py::test_python_dependencies_requires[package0] -[gw16] [ 44%] SKIPPED test/test_lint.py::test_run_installed[packages0] -[gw13] [ 44%] PASSED test/test_python.py::test_python_sphinx_doctrees_leftover_nowarn[package0] -[gw10] [ 45%] FAILED test/test_lib_dependency.py::test_missing_depency_on[binary/xrootd-devel] -[gw4] [ 45%] PASSED test/test_lint.py::test_explain_non_standard_dir_from_cfg -test/test_readelf_parser.py::test_call_setgroups -test/test_shlib_policy.py::test_shlib_policy_errors[binary/libslp1234] -[gw12] [ 45%] FAILED test/test_mixed_ownership.py::test_mixed_ownership[binary/mixed-ownership] -test/test_lint.py::test_run_strict[packages0] -test/test_speccheck.py::test_check_include -[gw11] [ 46%] FAILED test/test_ldd_parser.py::test_unused_dependency +[gw0] [ 36%] PASSED test/test_python.py::test_python_dependencies_metadata[package3] +[gw34] [ 37%] PASSED test/test_lint.py::test_configoutput +[gw25] [ 37%] FAILED test/test_filter.py::test_blocked_filters +[gw40] [ 37%] SKIPPED test/test_menuxdg.py::test_good[binary/desktopfile-good] +test/test_readelf_parser.py::test_no_soname +[gw2] [ 37%] PASSED test/test_python.py::test_python_pyc_single_version[package0] +test/test_python.py::test_python_pyc_multiple_versions[package0] +test/test_readelf_parser.py::test_call_mktemp +test/test_readelf_parser.py::test_readelf_failure_in_package +test/test_readelf_parser.py::test_archive_with_debuginfo +test/test_pam_modules.py::test_pam_modules[binary/pam-module] +[gw14] [ 38%] FAILED test/test_binaries.py::test_library[binary/libtest] test/test_readelf_parser.py::test_non_pic_code_library -[gw13] [ 46%] FAILED test/test_shlib_policy.py::test_shlib_policy_errors[binary/libslp1234] -[gw19] [ 46%] PASSED test/test_readelf_parser.py::test_lto_archive_with_only_data -test/test_i18n.py::test_i18n_valid_lang[package2] -[gw6] [ 46%] FAILED test/test_logrotate.py::test_logrotate[binary/logrotate] -test/test_objdump_parser.py::test_basic -[gw11] [ 47%] SKIPPED test/test_readelf_parser.py::test_non_pic_code_library -[gw7] [ 47%] FAILED test/test_readelf_parser.py::test_program_header_parsing +[gw6] [ 38%] PASSED test/test_python.py::test_python_dependencies_missing_metadata[package0] +[gw23] [ 38%] PASSED test/test_python.py::test_python_sphinx_doctrees_leftover_nowarn[package1] +[gw40] [ 38%] SKIPPED test/test_readelf_parser.py::test_non_pic_code_library +[gw31] [ 39%] PASSED test/test_lint.py::test_explain_with_unknown +test/test_python.py::test_python_sphinx_doctrees_leftover_warn[package0] test/test_readelf_parser.py::test_no_ldconfig_symlink -test/test_signature.py::test_no_signature[binary/no-signature] -test/test_menuxdg.py::test_raises_parse_error[binary/menuxdg1] -[gw6] [ 47%] SKIPPED test/test_menuxdg.py::test_raises_parse_error[binary/menuxdg1] -[gw0] [ 47%] FAILED test/test_ldd_parser.py::test_unused_dependency_in_package_for_executable -test/test_signature.py::test_invalid_signature[binary/hello] -test/test_readelf_parser.py::test_readelf_failure -[gw15] [ 48%] PASSED test/test_readelf_parser.py::test_readelf_failure -[gw1] [ 48%] FAILED test/test_readelf_parser.py::test_lto_archive_text -test/test_readelf_parser.py::test_lto_archive_text_function_sections -[gw3] [ 48%] PASSED test/test_readelf_parser.py::test_lto_archive_text_function_sections -test/test_speccheck.py::test_patch_not_applied[spec/SpecCheckPatch] -[gw13] [ 48%] FAILED test/test_signature.py::test_no_signature[binary/no-signature] -test/test_readelf_parser.py::test_archive_with_debuginfo -test/test_menuxdg.py::test_without_binary[binary/desktopfile-bad-binary] -[gw6] [ 49%] SKIPPED test/test_menuxdg.py::test_without_binary[binary/desktopfile-bad-binary] -test/test_speccheck.py::test_check_non_break_space_not_applied[spec/SpecCheck2] -test/test_signature.py::test_unknown_key[binary/unknown-key] -[gw17] [ 49%] PASSED test/test_python.py::test_python_sphinx_doctrees_leftover_nowarn[package1] -test/test_python.py::test_python_sphinx_doctrees_leftover_nowarn[package2] -test/test_readelf_parser.py::test_lto_archive_init_array -[gw5] [ 49%] PASSED test/test_python.py::test_python_tests_in_site_packages[package0] -test/test_readelf_parser.py::test_dynamic_section_parsing -test/test_readelf_parser.py::test_readelf_failure_in_package -[gw14] [ 49%] PASSED test/test_python.py::test_python_dependencies_leftover[package0] +test/test_python.py::test_python_dependencies_requires[package0] +[gw13] [ 39%] FAILED test/test_binaries.py::test_non_position_independent_sugg[binary/non-position-independent-exec] test/test_python.py::test_python_dependencies_leftover[package1] +test/test_readelf_parser.py::test_empty_archive +[gw16] [ 39%] PASSED test/test_lint.py::test_run_single[packages0] test/test_python.py::test_python_dependencies_missing_requires[package0] -test/test_python.py::test_python_dependencies_metadata[package0] -[gw9] [ 50%] FAILED test/test_readelf_parser.py::test_readelf_single_error_message -[gw10] [ 50%] FAILED test/test_readelf_parser.py::test_call_setgroups +test/test_python.py::test_python_sphinx_doctrees_leftover_nowarn[package2] +[gw17] [ 39%] FAILED test/test_objdump_parser.py::test_basic +test/test_readelf_parser.py::test_lto_bytecode +test/test_readelf_parser.py::test_lto_archive_text +[gw20] [ 40%] FAILED test/test_lint.py::test_run_strict[packages0] +test/test_python.py::test_python_dependencies_metadata[package1] +[gw39] [ 40%] PASSED test/test_python.py::test_python_sphinx_doctrees_leftover_warn[package1] +test/test_menuxdg.py::test_missing_header[binary/desktopfile-bad-section] +[gw13] [ 40%] SKIPPED test/test_menuxdg.py::test_missing_header[binary/desktopfile-bad-section] +[gw41] [ 40%] FAILED test/test_ldd_parser.py::test_dependencies +[gw38] [ 41%] FAILED test/test_ldd_parser.py::test_unused_dependency_in_package_for_executable +[gw11] [ 41%] FAILED test/test_binaries.py::test_only_non_binary_in_usr_lib_exception[binary/only-non-binary-in-usr-lib_exception] +[gw30] [ 41%] FAILED test/test_doc.py::test_install_file_in_docs[binary/install-file-in-docs] +test/test_readelf_parser.py::test_program_header_parsing +test/test_readelf_parser.py::test_stripped_archive +test/test_python.py::test_python_dependencies_metadata[package2] +[gw29] [ 41%] FAILED test/test_diff.py::test_exclude +[gw37] [ 42%] PASSED test/test_python.py::test_python_doc_module_in_package[package0] +[gw27] [ 42%] PASSED test/test_lint.py::test_explain_non_standard_dir_from_cfg +[gw10] [ 42%] PASSED test/test_lint.py::test_explain_unknown +[gw3] [ 42%] FAILED test/test_alternatives.py::test_libalternative_borked[binary/libalternatives-borked] +test/test_readelf_parser.py::test_dynamic_section_parsing +[gw18] [ 43%] FAILED test/test_filter.py::test_data_storing +test/test_speccheck.py::test_check_non_utf8_spec_file[spec/non-utf8-spec-file] +[gw24] [ 43%] FAILED test/test_lint.py::test_descriptions_from_config[packages0] +[gw32] [ 43%] PASSED test/test_python.py::test_python_tests_in_site_packages[package0] +test/test_speccheck.py::test_patch_not_applied[spec/SpecCheck3] +[gw8] [ 43%] FAILED test/test_logrotate.py::test_logrotate[binary/logrotate] +test/test_readelf_parser.py::test_simple_archive +[gw5] [ 44%] PASSED test/test_python.py::test_python_distutils_egg_info[package0] +[gw33] [ 44%] PASSED test/test_python.py::test_python_src_in_site_packages[package0] +[gw22] [ 44%] FAILED test/test_mixed_ownership.py::test_mixed_ownership[binary/mixed-ownership] +test/test_pkg.py::test_range_compare +[gw11] [ 44%] PASSED test/test_pkg.py::test_range_compare +[gw28] [ 45%] FAILED test/test_diff.py::test_distribution_tags +[gw1] [ 45%] PASSED test/test_python.py::test_python_dependencies_metadata[package0] +[gw19] [ 45%] FAILED test/test_lint.py::test_explain_known_warn_on_function[configs0] +test/test_readelf_parser.py::test_lto_archive_init_array +[gw36] [ 46%] PASSED test/test_python.py::test_python_pyc_multiple_versions[package0] +[gw9] [ 46%] PASSED test/test_readelf_parser.py::test_lto_archive_text_function_sections +test/test_readelf_parser.py::test_executable_stack +[gw34] [ 46%] PASSED test/test_python.py::test_python_sphinx_doctrees_leftover_warn[package0] +[gw21] [ 46%] PASSED test/test_readelf_parser.py::test_archive_with_debuginfo +test/test_doc.py::test_doccheck[binary/mydoc] +[gw26] [ 47%] FAILED test/test_pkgconfig.py::test_pkg_config[binary/pc] +[gw4] [ 47%] FAILED test/test_pam_modules.py::test_pam_modules[binary/pam-module] +test/test_python.py::test_python_sphinx_doctrees_leftover_nowarn[package0] +test/test_readelf_parser.py::test_lto_archive_preinit_array +[gw0] [ 47%] PASSED test/test_python.py::test_python_dependencies_leftover[package1] +[gw12] [ 47%] PASSED test/test_readelf_parser.py::test_readelf_failure_in_package +[gw25] [ 48%] PASSED test/test_python.py::test_python_dependencies_requires[package0] +test/test_filter.py::test_data_storing_backward_compat +test/test_python.py::test_python_dependencies_leftover[package0] +test/test_readelf_parser.py::test_lto_archive_with_only_data +[gw14] [ 48%] PASSED test/test_python.py::test_python_dependencies_missing_requires[package0] test/test_readelf_parser.py::test_call_gethostbyname -[gw8] [ 50%] PASSED test/test_i18n.py::test_i18n_valid_lang[package2] -test/test_readelf_parser.py::test_no_soname -[gw2] [ 50%] FAILED test/test_readelf_parser.py::test_shlib_policy_name_error +test/test_readelf_parser.py::test_readelf_single_error_message +[gw6] [ 48%] PASSED test/test_python.py::test_python_sphinx_doctrees_leftover_nowarn[package2] +test/test_shlib_policy.py::test_shlib_policy_errors[binary/libslp1234] +test/test_readelf_parser.py::test_readelf_failure +[gw18] [ 48%] PASSED test/test_filter.py::test_data_storing_backward_compat +test/test_speccheck.py::test_check_rpm_buildroot_usage_shell_var[spec/rpm-buildroot-usage-shell-var] +test/test_signature.py::test_invalid_signature[binary/hello] +test/test_lint.py::test_run_full_directory[packages0] +test/test_readelf_parser.py::test_call_setgroups +test/test_readelf_parser.py::test_rpath +[gw28] [ 49%] SKIPPED test/test_lint.py::test_run_full_directory[packages0] +test/test_signature.py::test_no_signature[binary/no-signature] +test/test_readelf_parser.py::test_invalid_soname +[gw2] [ 49%] PASSED test/test_readelf_parser.py::test_empty_archive test/test_shlib_policy.py::test_shlib_policy_wrong_name[binary/libtest1] -[gw4] [ 51%] PASSED test/test_speccheck.py::test_check_include +test/test_readelf_parser.py::test_bca_files +[gw16] [ 49%] PASSED test/test_python.py::test_python_dependencies_metadata[package1] +test/test_readelf_parser.py::test_shlib_policy_name_error +[gw23] [ 49%] FAILED test/test_readelf_parser.py::test_lto_archive_text +test/test_speccheck.py::test_patch_not_applied[spec/SpecCheckPatch] +test/test_shlib_policy.py::test_shlib_policy_missing_suffix[binary/libslp-missing-suffix] +test/test_speccheck.py::test_check_include +[gw13] [ 50%] PASSED test/test_speccheck.py::test_check_non_utf8_spec_file[spec/non-utf8-spec-file] test/test_speccheck.py::test_patch_not_applied[spec/SpecCheck2] +[gw35] [ 50%] FAILED test/test_readelf_parser.py::test_call_mktemp +test/test_speccheck.py::test_distribution_tags[spec/SpecCheck] test/test_speccheck.py::test_forbidden_controlchars_found[spec/SpecCheck4] -[gw16] [ 51%] FAILED test/test_lint.py::test_run_strict[packages0] -[gw13] [ 51%] FAILED test/test_signature.py::test_unknown_key[binary/unknown-key] -test/test_speccheck.py::test_check_make_check_inside_check_section[spec/SpecCheckTemp] -test/test_lint.py::test_run_installed_not_present -[gw16] [ 51%] SKIPPED test/test_lint.py::test_run_installed_not_present -test/test_speccheck.py::test_check_setup_not_quiet[spec/setup-not-quiet] -[gw19] [ 52%] PASSED test/test_readelf_parser.py::test_archive_with_debuginfo -test/test_speccheck.py::test_check_non_utf8_spec_file_not_applied[spec/SpecCheckTemp] -[gw1] [ 52%] PASSED test/test_speccheck.py::test_patch_not_applied[spec/SpecCheckPatch] -[gw12] [ 52%] FAILED test/test_objdump_parser.py::test_basic +[gw15] [ 50%] FAILED test/test_readelf_parser.py::test_no_soname +[gw31] [ 50%] FAILED test/test_readelf_parser.py::test_lto_bytecode +[gw30] [ 51%] PASSED test/test_readelf_parser.py::test_lto_archive_init_array +[gw20] [ 51%] PASSED test/test_python.py::test_python_dependencies_metadata[package2] +[gw39] [ 51%] FAILED test/test_readelf_parser.py::test_stripped_archive +test/test_speccheck.py::test_check_setup_not_in_prep[spec/setup-not-in-prep] +[gw40] [ 51%] PASSED test/test_speccheck.py::test_patch_not_applied[spec/SpecCheck3] test/test_speccheck.py::test_patch_not_applied[spec/intltool] -[gw15] [ 52%] PASSED test/test_readelf_parser.py::test_readelf_failure_in_package -test/test_speccheck.py::test_check_rpm_buildroot_usage_under_build[spec/SpecCheckTemp] -test/test_objdump_parser.py::test_executable_stack_package -[gw14] [ 53%] PASSED test/test_python.py::test_python_dependencies_leftover[package1] -[gw0] [ 53%] FAILED test/test_signature.py::test_invalid_signature[binary/hello] -[gw17] [ 53%] PASSED test/test_python.py::test_python_sphinx_doctrees_leftover_nowarn[package2] +[gw38] [ 52%] FAILED test/test_readelf_parser.py::test_simple_archive +test/test_speccheck.py::test_check_autosetup_not_in_prep_not_applied[spec/SpecCheck2] +[gw27] [ 52%] PASSED test/test_python.py::test_python_sphinx_doctrees_leftover_nowarn[package0] +test/test_speccheck.py::test_check_non_utf8_spec_file_not_applied[spec/SpecCheckTemp] +[gw33] [ 52%] FAILED test/test_signature.py::test_invalid_signature[binary/hello] test/test_sources.py::test_extension_and_permissions[source/wrongsrc] -test/test_python.py::test_python_pyc_multiple_versions[package0] -[gw10] [ 53%] FAILED test/test_readelf_parser.py::test_call_gethostbyname -[gw18] [ 54%] PASSED test/test_python.py::test_python_dependencies_missing_requires[package0] +test/test_speccheck.py::test_check_no_spec_file[source/no-spec-file] +[gw17] [ 52%] FAILED test/test_readelf_parser.py::test_program_header_parsing test/test_speccheck.py::test_check_no_spec_file_not_applied[source/CheckInclude] -test/test_readelf_parser.py::test_bca_files -[gw7] [ 54%] FAILED test/test_readelf_parser.py::test_dynamic_section_parsing +[gw29] [ 53%] FAILED test/test_doc.py::test_doccheck[binary/mydoc] +test/test_signature.py::test_unknown_key[binary/unknown-key] +test/test_speccheck.py::test_check_make_check_outside_check_section[spec/make-check-outside-check-section] +test/test_speccheck.py::test_check_rpm_buildroot_usage_under_build[spec/SpecCheckTemp] test/test_speccheck.py::test_check_invalid_spec_name_not_applied[source/CheckInclude] -[gw3] [ 54%] PASSED test/test_readelf_parser.py::test_lto_archive_init_array -test/test_speccheck.py::test_check_rpm_buildroot_usage_shell_var[spec/rpm-buildroot-usage-shell-var] -test/test_readelf_parser.py::test_empty_archive -[gw11] [ 55%] FAILED test/test_readelf_parser.py::test_no_ldconfig_symlink -[gw13] [ 55%] PASSED test/test_speccheck.py::test_check_make_check_inside_check_section[spec/SpecCheckTemp] -[gw5] [ 55%] PASSED test/test_python.py::test_python_dependencies_metadata[package0] -test/test_speccheck.py::test_check_make_check_outside_not_applied[spec/SpecCheck2] -test/test_readelf_parser.py::test_call_mktemp -[gw2] [ 55%] FAILED test/test_shlib_policy.py::test_shlib_policy_wrong_name[binary/libtest1] -[gw9] [ 56%] FAILED test/test_readelf_parser.py::test_no_soname -[gw15] [ 56%] PASSED test/test_speccheck.py::test_check_rpm_buildroot_usage_under_build[spec/SpecCheckTemp] -[gw19] [ 56%] PASSED test/test_speccheck.py::test_check_non_utf8_spec_file_not_applied[spec/SpecCheckTemp] +[gw36] [ 53%] FAILED test/test_signature.py::test_no_signature[binary/no-signature] +[gw7] [ 53%] FAILED test/test_readelf_parser.py::test_no_ldconfig_symlink +test/test_speccheck.py::test_check_non_break_space_not_applied[spec/SpecCheck2] +[gw10] [ 53%] PASSED test/test_readelf_parser.py::test_lto_archive_preinit_array +[gw41] [ 54%] FAILED test/test_readelf_parser.py::test_dynamic_section_parsing +test/test_speccheck.py::test_check_autosetup_not_in_prep[spec/%autosetup-not-in-prep] test/test_speccheck.py::test_check_rpm_buildroot_usage_not_applied[spec/SpecCheck2] -test/test_python.py::test_python_dependencies_metadata[package1] +test/test_speccheck.py::test_check_non_break_space[spec/non-break-space] +test/test_speccheck.py::test_check_setup_not_quiet[spec/setup-not-quiet] +[gw3] [ 54%] PASSED test/test_readelf_parser.py::test_lto_archive_with_only_data test/test_speccheck.py::test_check_invalid_spec_name[source/invalid-spec-name] -test/test_shlib_policy.py::test_shlib_policy_missing_suffix[binary/libslp-missing-suffix] -test/test_readelf_parser.py::test_invalid_soname -[gw14] [ 56%] PASSED test/test_python.py::test_python_pyc_multiple_versions[package0] +[gw24] [ 54%] PASSED test/test_python.py::test_python_dependencies_leftover[package0] +test/test_speccheck.py::test_check_make_check_outside_not_applied[spec/SpecCheck2] +test/test_sources.py::test_compression_and_multispec[source/not-compressed-multi-spec] +[gw5] [ 55%] FAILED test/test_shlib_policy.py::test_shlib_policy_errors[binary/libslp1234] +test/test_speccheck.py::test_check_rpm_buildroot_usage_under_prep[spec/rpm-buildroot-usage] +test/test_speccheck.py::test_check_configure_without_libdir_spec[spec/configure-without-libdir-spec] +[gw21] [ 55%] FAILED test/test_shlib_policy.py::test_shlib_policy_wrong_name[binary/libtest1] test/test_speccheck.py::test_check_setup_not_quiet_not_applied[spec/SpecCheck2] -[gw8] [ 57%] PASSED test/test_speccheck.py::test_forbidden_controlchars_found[spec/SpecCheck4] -test/test_speccheck.py::test_check_no_spec_file[source/no-spec-file] -[gw4] [ 57%] PASSED test/test_speccheck.py::test_patch_not_applied[spec/SpecCheck2] -test/test_speccheck.py::test_patch_not_applied[spec/SpecCheck3] -[gw3] [ 57%] PASSED test/test_speccheck.py::test_check_rpm_buildroot_usage_shell_var[spec/rpm-buildroot-usage-shell-var] -[gw16] [ 57%] PASSED test/test_speccheck.py::test_check_setup_not_quiet[spec/setup-not-quiet] -test/test_speccheck.py::test_check_setup_is_quiet[spec/SpecCheckTemp] -[gw12] [ 58%] FAILED test/test_objdump_parser.py::test_executable_stack_package -[gw5] [ 58%] PASSED test/test_python.py::test_python_dependencies_metadata[package1] -[gw6] [ 58%] PASSED test/test_speccheck.py::test_check_non_break_space_not_applied[spec/SpecCheck2] -test/test_pam_modules.py::test_pam_modules[binary/pam-module] -test/test_speccheck.py::test_check_make_check_outside_check_section[spec/make-check-outside-check-section] -[gw17] [ 58%] PASSED test/test_readelf_parser.py::test_empty_archive test/test_speccheck.py::test_check_setup_inside_prep[spec/SpecCheckTemp] -[gw0] [ 59%] PASSED test/test_sources.py::test_extension_and_permissions[source/wrongsrc] -test/test_speccheck.py::test_check_rpm_buildroot_usage_under_prep[spec/rpm-buildroot-usage] -test/test_speccheck.py::test_check_use_of_rpm_source_dir[spec/use-of-RPM-SOURCE-DIR] -test/test_sources.py::test_compression_and_multispec[source/not-compressed-multi-spec] -[gw7] [ 59%] PASSED test/test_speccheck.py::test_check_invalid_spec_name_not_applied[source/CheckInclude] -test/test_speccheck.py::test_check_non_break_space[spec/non-break-space] -[gw10] [ 59%] FAILED test/test_readelf_parser.py::test_bca_files -test/test_speccheck.py::test_check_autopatch_not_in_prep[spec/%autopatch-not-in-prep] -[gw9] [ 59%] FAILED test/test_readelf_parser.py::test_invalid_soname +test/test_speccheck.py::test_check_setup_is_quiet[spec/SpecCheckTemp] +[gw12] [ 55%] FAILED test/test_shlib_policy.py::test_shlib_policy_missing_suffix[binary/libslp-missing-suffix] +[gw22] [ 55%] PASSED test/test_readelf_parser.py::test_readelf_failure +[gw8] [ 56%] FAILED test/test_readelf_parser.py::test_readelf_single_error_message test/test_speccheck.py::test_check_hardcoded_library_path[spec/hardcoded-library-path] -[gw3] [ 60%] PASSED test/test_speccheck.py::test_check_make_check_outside_check_section[spec/make-check-outside-check-section] -[gw2] [ 60%] FAILED test/test_shlib_policy.py::test_shlib_policy_missing_suffix[binary/libslp-missing-suffix] -test/test_speccheck.py::test_check_configure_without_libdir_spec[spec/configure-without-libdir-spec] -[gw18] [ 60%] PASSED test/test_speccheck.py::test_check_no_spec_file_not_applied[source/CheckInclude] -[gw8] [ 60%] PASSED test/test_speccheck.py::test_check_no_spec_file[source/no-spec-file] +test/test_speccheck.py::test_check_autopatch_in_prep[spec/SpecCheckTemp] +[gw37] [ 56%] FAILED test/test_readelf_parser.py::test_executable_stack +[gw11] [ 56%] PASSED test/test_speccheck.py::test_check_rpm_buildroot_usage_shell_var[spec/rpm-buildroot-usage-shell-var] +test/test_speccheck.py::test_check_hpbt_not_applied[spec/SpecCheck2] +test/test_speccheck.py::test_check_autopatch_not_in_prep_not_applied[spec/SpecCheck2] +[gw0] [ 56%] PASSED test/test_speccheck.py::test_patch_not_applied[spec/SpecCheckPatch] +test/test_speccheck.py::test_check_autopatch_not_in_prep[spec/%autopatch-not-in-prep] +test/test_speccheck.py::test_check_autosetup_inside_prep[spec/SpecCheckTemp] +[gw1] [ 57%] FAILED test/test_readelf_parser.py::test_call_setgroups +test/test_speccheck.py::test_check_hardcoded_path_in_buildroot_tag[spec/hardcoded-path-in-buildroot-tag] +test/test_speccheck.py::test_check_make_check_inside_check_section[spec/SpecCheckTemp] +[gw6] [ 57%] PASSED test/test_speccheck.py::test_forbidden_controlchars_found[spec/SpecCheck4] +test/test_speccheck.py::test_check_use_of_rpm_source_dir[spec/use-of-RPM-SOURCE-DIR] +[gw32] [ 57%] FAILED test/test_readelf_parser.py::test_call_gethostbyname test/test_speccheck.py::test_check_hardcoded_packager_tag[spec/hardcoded-packager-tag] -test/test_speccheck.py::test_check_buildarch_instead_of_exclusivearch_tag[spec/buildarch-instead-of-exclusivearch-tag] -[gw15] [ 61%] PASSED test/test_speccheck.py::test_check_rpm_buildroot_usage_not_applied[spec/SpecCheck2] +[gw19] [ 57%] FAILED test/test_readelf_parser.py::test_rpath +[gw9] [ 58%] FAILED test/test_readelf_parser.py::test_invalid_soname +[gw26] [ 58%] FAILED test/test_readelf_parser.py::test_bca_files +[gw14] [ 58%] PASSED test/test_speccheck.py::test_distribution_tags[spec/SpecCheck] +test/test_speccheck.py::test_check_setup_not_in_prep_not_applied[spec/SpecCheck2] +test/test_speccheck.py::test_check_use_of_rsd_not_applied[spec/SpecCheck2] +test/test_speccheck.py::test_check_cwls_not_applied[spec/SpecCheck2] +[gw34] [ 58%] PASSED test/test_speccheck.py::test_check_include test/test_speccheck.py::test_check_obsolete_tag[spec/obsolete-tag] -test/test_speccheck.py::test_check_non_utf8_spec_file[spec/non-utf8-spec-file] -[gw4] [ 61%] PASSED test/test_speccheck.py::test_patch_not_applied[spec/SpecCheck3] -[gw12] [ 61%] FAILED test/test_pam_modules.py::test_pam_modules[binary/pam-module] -test/test_speccheck.py::test_check_hardcoded_prefix_tag[spec/hardcoded-prefix-tag] test/test_speccheck.py::test_check_biet_not_applied[spec/SpecCheck2] -[gw1] [ 61%] PASSED test/test_speccheck.py::test_patch_not_applied[spec/intltool] -[gw13] [ 62%] PASSED test/test_speccheck.py::test_check_make_check_outside_not_applied[spec/SpecCheck2] -test/test_speccheck.py::test_check_autosetup_inside_prep[spec/SpecCheckTemp] -[gw7] [ 62%] PASSED test/test_speccheck.py::test_check_non_break_space[spec/non-break-space] -[gw0] [ 62%] PASSED test/test_sources.py::test_compression_and_multispec[source/not-compressed-multi-spec] -[gw19] [ 62%] PASSED test/test_speccheck.py::test_check_invalid_spec_name[source/invalid-spec-name] -test/test_speccheck.py::test_check_hardcoded_path_in_buildroot_tag[spec/hardcoded-path-in-buildroot-tag] -test/test_speccheck.py::test_distribution_tags[spec/SpecCheck] -test/test_speccheck.py::test_check_prereq_use_not_found[spec/patch-not-applied] -test/test_speccheck.py::test_check_prereq_use[spec/prereq_use] -[gw16] [ 63%] PASSED test/test_speccheck.py::test_check_setup_is_quiet[spec/SpecCheckTemp] -[gw14] [ 63%] PASSED test/test_speccheck.py::test_check_setup_not_quiet_not_applied[spec/SpecCheck2] -[gw6] [ 63%] PASSED test/test_speccheck.py::test_check_rpm_buildroot_usage_under_prep[spec/rpm-buildroot-usage] -[gw5] [ 64%] PASSED test/test_speccheck.py::test_check_use_of_rpm_source_dir[spec/use-of-RPM-SOURCE-DIR] -test/test_speccheck.py::test_check_setup_not_in_prep[spec/setup-not-in-prep] -test/test_speccheck.py::test_check_hardcoded_prefix_tag_not_applied[spec/SpecCheck2] +[gw35] [ 59%] FAILED test/test_signature.py::test_unknown_key[binary/unknown-key] +[gw18] [ 59%] PASSED test/test_speccheck.py::test_check_setup_not_in_prep[spec/setup-not-in-prep] +[gw15] [ 59%] PASSED test/test_sources.py::test_extension_and_permissions[source/wrongsrc] +[gw4] [ 59%] FAILED test/test_readelf_parser.py::test_shlib_policy_name_error +[gw25] [ 60%] PASSED test/test_speccheck.py::test_patch_not_applied[spec/SpecCheck2] +[gw13] [ 60%] PASSED test/test_speccheck.py::test_check_rpm_buildroot_usage_under_build[spec/SpecCheckTemp] +[gw30] [ 60%] PASSED test/test_speccheck.py::test_check_make_check_outside_check_section[spec/make-check-outside-check-section] test/test_speccheck.py::test_check_hardcoded_packager_tag_not_applied[spec/SpecCheck2] -[gw9] [ 64%] PASSED test/test_speccheck.py::test_check_hardcoded_library_path[spec/hardcoded-library-path] -[gw8] [ 64%] PASSED test/test_speccheck.py::test_check_buildarch_instead_of_exclusivearch_tag[spec/buildarch-instead-of-exclusivearch-tag] -test/test_speccheck.py::test_check_hclp_not_applied[spec/SpecCheck2] -[gw3] [ 64%] PASSED test/test_speccheck.py::test_check_hardcoded_packager_tag[spec/hardcoded-packager-tag] -test/test_speccheck.py::test_check_use_of_rsd_not_applied[spec/SpecCheck2] -[gw2] [ 65%] PASSED test/test_speccheck.py::test_check_configure_without_libdir_spec[spec/configure-without-libdir-spec] -[gw17] [ 65%] PASSED test/test_speccheck.py::test_check_setup_inside_prep[spec/SpecCheckTemp] +[gw23] [ 60%] PASSED test/test_speccheck.py::test_check_no_spec_file[source/no-spec-file] +[gw27] [ 61%] PASSED test/test_speccheck.py::test_check_setup_not_quiet[spec/setup-not-quiet] +test/test_speccheck.py::test_check_forbidden_controlchar_found[spec/forbidden-controlchar-found] test/test_speccheck.py::test_check_buildprereq_use[spec/buildprereq-use] -[gw10] [ 65%] PASSED test/test_speccheck.py::test_check_autopatch_not_in_prep[spec/%autopatch-not-in-prep] -test/test_speccheck.py::test_check_cwls_not_applied[spec/SpecCheck2] -test/test_speccheck.py::test_check_prereq_use_not_applied[spec/mixed-use-of-spaces-and-tabs] -test/test_speccheck.py::test_check_autopatch_in_prep[spec/SpecCheckTemp] -[gw11] [ 65%] FAILED test/test_readelf_parser.py::test_call_mktemp -test/test_speccheck.py::test_check_autopatch_not_in_prep_not_applied[spec/SpecCheck2] -test/test_speccheck.py::test_check_setup_not_in_prep_not_applied[spec/SpecCheck2] -[gw18] [ 66%] PASSED test/test_speccheck.py::test_check_non_utf8_spec_file[spec/non-utf8-spec-file] -[gw13] [ 66%] PASSED test/test_speccheck.py::test_check_autosetup_inside_prep[spec/SpecCheckTemp] -test/test_speccheck.py::test_check_buildprereq_use_not_applied[spec/SpecCheck2] -test/test_speccheck.py::test_check_autosetup_not_in_prep_not_applied[spec/SpecCheck2] -[gw12] [ 66%] PASSED test/test_speccheck.py::test_check_hardcoded_prefix_tag[spec/hardcoded-prefix-tag] -[gw15] [ 66%] PASSED test/test_speccheck.py::test_check_obsolete_tag[spec/obsolete-tag] -[gw19] [ 67%] PASSED test/test_speccheck.py::test_check_hardcoded_path_in_buildroot_tag[spec/hardcoded-path-in-buildroot-tag] +[gw16] [ 61%] PASSED test/test_speccheck.py::test_check_non_utf8_spec_file_not_applied[spec/SpecCheckTemp] +[gw33] [ 61%] PASSED test/test_speccheck.py::test_check_autosetup_not_in_prep[spec/%autosetup-not-in-prep] test/test_speccheck.py::test_check_obsolete_tag_not_applied[spec/SpecCheck2] +[gw39] [ 61%] PASSED test/test_speccheck.py::test_check_non_break_space[spec/non-break-space] +test/test_speccheck.py::test_check_buildarch_instead_of_exclusivearch_tag[spec/buildarch-instead-of-exclusivearch-tag] +test/test_speccheck.py::test_check_hclp_not_applied[spec/SpecCheck2] +[gw7] [ 62%] PASSED test/test_sources.py::test_compression_and_multispec[source/not-compressed-multi-spec] +test/test_speccheck.py::test_check_prereq_use_not_found[spec/patch-not-applied] +[gw28] [ 62%] PASSED test/test_speccheck.py::test_check_autosetup_not_in_prep_not_applied[spec/SpecCheck2] +[gw36] [ 62%] PASSED test/test_speccheck.py::test_check_configure_without_libdir_spec[spec/configure-without-libdir-spec] test/test_speccheck.py::test_check_forbidden_controlchar_not_found[spec/SpecCheckTemp] -[gw8] [ 67%] PASSED test/test_speccheck.py::test_check_buildprereq_use[spec/buildprereq-use] -[gw0] [ 67%] PASSED test/test_speccheck.py::test_check_prereq_use[spec/prereq_use] -[gw4] [ 67%] PASSED test/test_speccheck.py::test_check_biet_not_applied[spec/SpecCheck2] -test/test_speccheck.py::test_check_hpbt_not_applied[spec/SpecCheck2] -test/test_speccheck.py::test_check_forbidden_controlchar_found[spec/forbidden-controlchar-found] -[gw3] [ 68%] PASSED test/test_speccheck.py::test_check_prereq_use_not_applied[spec/mixed-use-of-spaces-and-tabs] -test/test_speccheck.py::test_check_unversioned_explicit_obsoletes_not_found[spec/%autopatch-not-in-prep] -[gw14] [ 68%] PASSED test/test_speccheck.py::test_check_setup_not_in_prep[spec/setup-not-in-prep] -[gw6] [ 68%] PASSED test/test_speccheck.py::test_check_hardcoded_prefix_tag_not_applied[spec/SpecCheck2] -test/test_speccheck.py::test_check_unversioned_explicit_version[spec/unversioned-explicit-version] -[gw7] [ 68%] PASSED test/test_speccheck.py::test_check_prereq_use_not_found[spec/patch-not-applied] +test/test_speccheck.py::test_check_prereq_use_not_applied[spec/mixed-use-of-spaces-and-tabs] test/test_speccheck.py::test_check_coid_is_found_with_double_space[spec/%autosetup-not-in-prep] -test/test_speccheck.py::test_check_coid_is_found[spec/SpecCheck2] test/test_speccheck.py::test_check_coid_found[spec/SpecCheckTemp] -[gw1] [ 69%] PASSED test/test_speccheck.py::test_distribution_tags[spec/SpecCheck] +test/test_speccheck.py::test_check_prereq_use[spec/prereq_use] +test/test_speccheck.py::test_check_unversioned_explicit_version[spec/unversioned-explicit-version] +[gw31] [ 62%] PASSED test/test_speccheck.py::test_check_no_spec_file_not_applied[source/CheckInclude] +test/test_speccheck.py::test_check_hardcoded_prefix_tag[spec/hardcoded-prefix-tag] test/test_speccheck.py::test_check_unversioned_explicit_obsoletes[spec/unversioned-explicit-obsoletes] -[gw9] [ 69%] PASSED test/test_speccheck.py::test_check_hclp_not_applied[spec/SpecCheck2] -[gw18] [ 69%] PASSED test/test_speccheck.py::test_check_buildprereq_use_not_applied[spec/SpecCheck2] -test/test_speccheck.py::test_check_macro_in_changelog_not_found[spec/SpecCheck2] -[gw2] [ 69%] PASSED test/test_speccheck.py::test_check_cwls_not_applied[spec/SpecCheck2] -[gw13] [ 70%] PASSED test/test_speccheck.py::test_check_autosetup_not_in_prep_not_applied[spec/SpecCheck2] -test/test_speccheck.py::test_check_uev_not_applied[spec/SpecCheck2] -[gw11] [ 70%] PASSED test/test_speccheck.py::test_check_autopatch_not_in_prep_not_applied[spec/SpecCheck2] -[gw16] [ 70%] PASSED test/test_speccheck.py::test_check_hardcoded_packager_tag_not_applied[spec/SpecCheck2] -[gw17] [ 70%] PASSED test/test_speccheck.py::test_check_setup_not_in_prep_not_applied[spec/SpecCheck2] -[gw5] [ 71%] PASSED test/test_speccheck.py::test_check_use_of_rsd_not_applied[spec/SpecCheck2] -test/test_speccheck.py::test_check_macro_in_changelog_not_applied[spec/SpecCheckTemp] -test/test_speccheck.py::test_check_coid[spec/comparison-operator-in-deptoken] -[gw10] [ 71%] PASSED test/test_speccheck.py::test_check_autopatch_in_prep[spec/SpecCheckTemp] -test/test_speccheck.py::test_check_autosetup_not_in_prep[spec/%autosetup-not-in-prep] +[gw3] [ 63%] PASSED test/test_speccheck.py::test_check_setup_inside_prep[spec/SpecCheckTemp] +[gw41] [ 63%] PASSED test/test_speccheck.py::test_check_rpm_buildroot_usage_under_prep[spec/rpm-buildroot-usage] +[gw40] [ 63%] PASSED test/test_speccheck.py::test_check_non_break_space_not_applied[spec/SpecCheck2] +test/test_speccheck.py::test_check_buildprereq_use_not_applied[spec/SpecCheck2] +test/test_speccheck.py::test_check_unversioned_explicit_obsoletes_not_found[spec/%autopatch-not-in-prep] +[gw20] [ 64%] PASSED test/test_speccheck.py::test_check_invalid_spec_name_not_applied[source/CheckInclude] +[gw5] [ 64%] PASSED test/test_speccheck.py::test_check_autopatch_in_prep[spec/SpecCheckTemp] +test/test_speccheck.py::test_check_macro_in_changelog[spec/macro-in-changelog] +[gw10] [ 64%] PASSED test/test_speccheck.py::test_check_setup_is_quiet[spec/SpecCheckTemp] test/test_speccheck.py::test_check_autochangelog[spec/macro-in-changelog-autochangelog] -test/test_speccheck.py::test_check_coid_is_found_with_single_space[spec/%autopatch-not-in-prep] +test/test_speccheck.py::test_check_coid[spec/comparison-operator-in-deptoken] +test/test_speccheck.py::test_check_coid_is_found[spec/SpecCheck2] +test/test_speccheck.py::test_check_macro_in_changelog_not_applied[spec/SpecCheckTemp] +[gw38] [ 64%] PASSED test/test_speccheck.py::test_check_rpm_buildroot_usage_not_applied[spec/SpecCheck2] +[gw21] [ 65%] PASSED test/test_speccheck.py::test_check_hardcoded_library_path[spec/hardcoded-library-path] test/test_speccheck.py::test_check_ueo_not_found[spec/SpecCheckTemp] -test/test_speccheck.py::test_check_unversioned_explicit_version_not_found[spec/%autosetup-not-in-prep] -[gw3] [ 71%] PASSED test/test_speccheck.py::test_check_unversioned_explicit_obsoletes_not_found[spec/%autopatch-not-in-prep] -[gw4] [ 71%] PASSED test/test_speccheck.py::test_check_forbidden_controlchar_found[spec/forbidden-controlchar-found] -[gw8] [ 72%] PASSED test/test_speccheck.py::test_check_unversioned_explicit_obsoletes[spec/unversioned-explicit-obsoletes] -[gw7] [ 72%] PASSED test/test_speccheck.py::test_check_coid_found[spec/SpecCheckTemp] -[gw12] [ 72%] PASSED test/test_speccheck.py::test_check_forbidden_controlchar_not_found[spec/SpecCheckTemp] -[gw0] [ 73%] PASSED test/test_speccheck.py::test_check_coid_is_found[spec/SpecCheck2] -test/test_speccheck.py::test_check_deprecated_grep_not_applied[spec/SpecCheck2] +[gw29] [ 65%] PASSED test/test_speccheck.py::test_check_make_check_outside_not_applied[spec/SpecCheck2] +[gw24] [ 65%] PASSED test/test_speccheck.py::test_check_setup_not_quiet_not_applied[spec/SpecCheck2] +test/test_speccheck.py::test_check_coid_is_found_with_single_space[spec/%autopatch-not-in-prep] +[gw8] [ 65%] PASSED test/test_speccheck.py::test_check_autopatch_not_in_prep[spec/%autopatch-not-in-prep] +test/test_speccheck.py::test_check_libdir_macro_in_noarch_package[spec/libdir-macro-in-noarch-package] +[gw0] [ 66%] PASSED test/test_speccheck.py::test_check_hardcoded_path_in_buildroot_tag[spec/hardcoded-path-in-buildroot-tag] +test/test_speccheck.py::test_check_macro_in_changelog_not_found[spec/SpecCheck2] +[gw17] [ 66%] PASSED test/test_speccheck.py::test_check_invalid_spec_name[source/invalid-spec-name] test/test_speccheck.py::test_check_deprecated_grep_not_found[spec/SpecCheckTemp] -test/test_speccheck.py::test_check_no_build_root_tag_not_applied[spec/SpecCheck2] -[gw6] [ 73%] PASSED test/test_speccheck.py::test_check_unversioned_explicit_version[spec/unversioned-explicit-version] -[gw15] [ 73%] PASSED test/test_speccheck.py::test_check_obsolete_tag_not_applied[spec/SpecCheck2] +test/test_speccheck.py::test_check_uev_not_applied[spec/SpecCheck2] +[gw1] [ 66%] PASSED test/test_speccheck.py::test_check_use_of_rpm_source_dir[spec/use-of-RPM-SOURCE-DIR] +test/test_speccheck.py::test_check_unversioned_explicit_version_not_found[spec/%autosetup-not-in-prep] +[gw11] [ 66%] PASSED test/test_speccheck.py::test_check_autosetup_inside_prep[spec/SpecCheckTemp] +test/test_speccheck.py::test_check_macro_in_comment_not_found[spec/%autosetup-not-in-prep] test/test_speccheck.py::test_check_macro_in_comment_not_applied[spec/SpecCheck2] +test/test_speccheck.py::test_check_macro_in_comment[spec/macro-in-comment] +[gw6] [ 67%] PASSED test/test_speccheck.py::test_check_hardcoded_packager_tag[spec/hardcoded-packager-tag] +[gw12] [ 67%] PASSED test/test_speccheck.py::test_check_hpbt_not_applied[spec/SpecCheck2] +[gw37] [ 67%] PASSED test/test_speccheck.py::test_check_make_check_inside_check_section[spec/SpecCheckTemp] test/test_speccheck.py::test_check_no_build_root_tag[spec/no-buildroot-tag] -[gw19] [ 73%] PASSED test/test_speccheck.py::test_check_hpbt_not_applied[spec/SpecCheck2] -test/test_speccheck.py::test_check_libdir_macro_in_noarch_package[spec/libdir-macro-in-noarch-package] +[gw26] [ 67%] PASSED test/test_speccheck.py::test_check_obsolete_tag[spec/obsolete-tag] test/test_speccheck.py::test_check_lmnp_not_applied[spec/mixed-use-of-spaces-and-tabs] -test/test_speccheck.py::test_check_macro_in_comment[spec/macro-in-comment] -[gw14] [ 74%] PASSED test/test_speccheck.py::test_check_coid_is_found_with_double_space[spec/%autosetup-not-in-prep] -test/test_speccheck.py::test_check_macro_in_changelog[spec/macro-in-changelog] +test/test_speccheck.py::test_check_deprecated_grep_not_applied[spec/SpecCheck2] +[gw22] [ 68%] PASSED test/test_speccheck.py::test_check_autopatch_not_in_prep_not_applied[spec/SpecCheck2] +test/test_speccheck.py::test_check_more_than_one_changelog_section[spec/more-than-one-%changelog] test/test_speccheck.py::test_check_deprecated_grep[spec/deprecated-grep] -test/test_speccheck.py::test_check_macro_in_comment_not_found[spec/%autosetup-not-in-prep] -[gw16] [ 74%] PASSED test/test_speccheck.py::test_check_coid_is_found_with_single_space[spec/%autopatch-not-in-prep] -[gw1] [ 74%] PASSED test/test_speccheck.py::test_check_coid[spec/comparison-operator-in-deptoken] -[gw2] [ 74%] PASSED test/test_speccheck.py::test_check_ueo_not_found[spec/SpecCheckTemp] -[gw5] [ 75%] PASSED test/test_speccheck.py::test_check_unversioned_explicit_version_not_found[spec/%autosetup-not-in-prep] -[gw13] [ 75%] PASSED test/test_speccheck.py::test_check_macro_in_changelog_not_applied[spec/SpecCheckTemp] -[gw11] [ 75%] PASSED test/test_speccheck.py::test_check_autosetup_not_in_prep[spec/%autosetup-not-in-prep] -[gw18] [ 75%] PASSED test/test_speccheck.py::test_check_macro_in_changelog_not_found[spec/SpecCheck2] -test/test_speccheck.py::test_check_depscript_without_disabling_depgen[spec/depscript-without-disabling-depgen] -test/test_speccheck.py::test_check_no_essential_section[spec/no-%%%s-section] +[gw2] [ 68%] PASSED test/test_speccheck.py::test_patch_not_applied[spec/intltool] +[gw15] [ 68%] PASSED test/test_speccheck.py::test_check_forbidden_controlchar_found[spec/forbidden-controlchar-found] +[gw19] [ 68%] PASSED test/test_speccheck.py::test_check_use_of_rsd_not_applied[spec/SpecCheck2] +test/test_speccheck.py::test_check_hardcoded_prefix_tag_not_applied[spec/SpecCheck2] +[gw25] [ 69%] PASSED test/test_speccheck.py::test_check_buildarch_instead_of_exclusivearch_tag[spec/buildarch-instead-of-exclusivearch-tag] +[gw35] [ 69%] PASSED test/test_speccheck.py::test_check_buildprereq_use[spec/buildprereq-use] test/test_speccheck.py::test_check_dwdd_not_applied[spec/SpecCheck2] -test/test_speccheck.py::test_check_more_than_one_changelog_section[spec/more-than-one-%changelog] -test/test_speccheck.py::test_check_lpwm_not_applied[spec/SpecCheck2] +[gw27] [ 69%] PASSED test/test_speccheck.py::test_check_coid_is_found_with_double_space[spec/%autosetup-not-in-prep] test/test_speccheck.py::test_check_lib_package_without_mklibname[spec/lib-package-without-%mklibname] +test/test_speccheck.py::test_check_no_essential_section[spec/no-%%%s-section] +[gw23] [ 69%] PASSED test/test_speccheck.py::test_check_prereq_use_not_applied[spec/mixed-use-of-spaces-and-tabs] +[gw14] [ 70%] PASSED test/test_speccheck.py::test_check_biet_not_applied[spec/SpecCheck2] +test/test_speccheck.py::test_check_depscript_without_disabling_depgen[spec/depscript-without-disabling-depgen] +[gw16] [ 70%] PASSED test/test_speccheck.py::test_check_prereq_use[spec/prereq_use] +[gw13] [ 70%] PASSED test/test_speccheck.py::test_check_prereq_use_not_found[spec/patch-not-applied] +[gw9] [ 70%] PASSED test/test_speccheck.py::test_check_cwls_not_applied[spec/SpecCheck2] +[gw30] [ 71%] PASSED test/test_speccheck.py::test_check_forbidden_controlchar_not_found[spec/SpecCheckTemp] +[gw36] [ 71%] PASSED test/test_speccheck.py::test_check_unversioned_explicit_obsoletes[spec/unversioned-explicit-obsoletes] +[gw7] [ 71%] PASSED test/test_speccheck.py::test_check_unversioned_explicit_obsoletes_not_found[spec/%autopatch-not-in-prep] +[gw39] [ 71%] PASSED test/test_speccheck.py::test_check_coid_found[spec/SpecCheckTemp] +test/test_speccheck.py::test_check_mixed_use_of_spaces_and_tabs[spec/mixed-use-of-spaces-and-tabs] +[gw28] [ 72%] PASSED test/test_speccheck.py::test_check_hardcoded_prefix_tag[spec/hardcoded-prefix-tag] test/test_speccheck.py::test_check_mtocs_not_applied[spec/SpecCheck2] -[gw10] [ 76%] PASSED test/test_speccheck.py::test_check_macro_in_changelog[spec/macro-in-changelog] -[gw14] [ 76%] PASSED test/test_speccheck.py::test_check_macro_in_comment_not_found[spec/%autosetup-not-in-prep] -[gw6] [ 76%] PASSED test/test_speccheck.py::test_check_macro_in_comment[spec/macro-in-comment] -[gw7] [ 76%] PASSED test/test_speccheck.py::test_check_no_build_root_tag[spec/no-buildroot-tag] -[gw12] [ 77%] PASSED test/test_speccheck.py::test_check_libdir_macro_in_noarch_package[spec/libdir-macro-in-noarch-package] -[gw9] [ 77%] PASSED test/test_speccheck.py::test_check_uev_not_applied[spec/SpecCheck2] -[gw3] [ 77%] PASSED test/test_speccheck.py::test_check_deprecated_grep_not_applied[spec/SpecCheck2] -[gw19] [ 77%] PASSED test/test_speccheck.py::test_check_deprecated_grep[spec/deprecated-grep] -[gw17] [ 78%] PASSED test/test_speccheck.py::test_check_autochangelog[spec/macro-in-changelog-autochangelog] -test/test_speccheck.py::test_check_invalid_url[spec/SpecCheck2] -[gw15] [ 78%] PASSED test/test_speccheck.py::test_check_lmnp_not_applied[spec/mixed-use-of-spaces-and-tabs] -[gw0] [ 78%] PASSED test/test_speccheck.py::test_check_macro_in_comment_not_applied[spec/SpecCheck2] +[gw41] [ 72%] PASSED test/test_speccheck.py::test_check_macro_in_changelog[spec/macro-in-changelog] test/test_speccheck.py::test_check_ifarch_applied_not_enforced[spec/mixed-use-of-spaces-and-tabs] -[gw8] [ 78%] PASSED test/test_speccheck.py::test_check_no_build_root_tag_not_applied[spec/SpecCheck2] -test/test_speccheck.py::test_check_mixed_use_of_spaces_and_tabs[spec/mixed-use-of-spaces-and-tabs] +[gw33] [ 72%] PASSED test/test_speccheck.py::test_check_unversioned_explicit_version[spec/unversioned-explicit-version] +[gw32] [ 73%] PASSED test/test_speccheck.py::test_check_setup_not_in_prep_not_applied[spec/SpecCheck2] +test/test_speccheck.py::test_check_patch_fuzz_is_changed[spec/patch-fuzz-is-changed] +[gw18] [ 73%] PASSED test/test_speccheck.py::test_check_hardcoded_packager_tag_not_applied[spec/SpecCheck2] +[gw4] [ 73%] PASSED test/test_speccheck.py::test_check_obsolete_tag_not_applied[spec/SpecCheck2] +[gw34] [ 73%] PASSED test/test_speccheck.py::test_check_hclp_not_applied[spec/SpecCheck2] +[gw5] [ 74%] PASSED test/test_speccheck.py::test_check_macro_in_changelog_not_applied[spec/SpecCheckTemp] +[gw3] [ 74%] PASSED test/test_speccheck.py::test_check_autochangelog[spec/macro-in-changelog-autochangelog] test/test_speccheck.py::test_check_no_essential_section_not_applied[spec/SpecCheck2] -[gw16] [ 79%] PASSED test/test_speccheck.py::test_check_depscript_without_disabling_depgen[spec/depscript-without-disabling-depgen] -[gw4] [ 79%] PASSED test/test_speccheck.py::test_check_deprecated_grep_not_found[spec/SpecCheckTemp] -[gw13] [ 79%] PASSED test/test_speccheck.py::test_check_lib_package_without_mklibname[spec/lib-package-without-%mklibname] test/test_speccheck.py::test_check_mixed_use_of_spaces_and_tabs_not_applied[spec/SpecCheck2] -test/test_speccheck.py::test_check_depscript_without_disabling_depgen_not_found[spec/SpecCheckTemp] -[gw1] [ 79%] PASSED test/test_speccheck.py::test_check_no_essential_section[spec/no-%%%s-section] -[gw18] [ 80%] PASSED test/test_speccheck.py::test_check_more_than_one_changelog_section[spec/more-than-one-%changelog] -test/test_speccheck.py::test_check_patch_not_found[spec/mixed-use-of-spaces-and-tabs] -test/test_speccheck.py::test_check_ifarch_applied_patch[spec/%ifarch-applied-patch] +[gw38] [ 74%] PASSED test/test_speccheck.py::test_check_coid_is_found_with_single_space[spec/%autopatch-not-in-prep] test/test_speccheck.py::test_check_patch_not_applied_not_enforced[spec/mixed-use-of-spaces-and-tabs] -test/test_speccheck.py::test_python_module_definition_not_present[spec/SpecCheck4] -test/test_speccheck.py::test_check_invalid_url_not_applied[spec/mixed-use-of-spaces-and-tabs] +[gw21] [ 74%] PASSED test/test_speccheck.py::test_check_libdir_macro_in_noarch_package[spec/libdir-macro-in-noarch-package] test/test_speccheck.py::test_check_patch_fuzz_is_changed_not_applied[spec/macro-in-comment] -test/test_speccheck.py::test_check_patch_fuzz_is_changed_not_found[spec/SpecCheckTemp] -test/test_speccheck.py::test_check_patch_not_applied[spec/patch-not-applied] +[gw20] [ 75%] PASSED test/test_speccheck.py::test_check_coid[spec/comparison-operator-in-deptoken] +test/test_speccheck.py::test_check_invalid_url[spec/SpecCheck2] test/test_speccheck.py::test_python_setup_test[spec/python-setup-test] -test/test_speccheck.py::test_check_patch_fuzz_is_changed[spec/patch-fuzz-is-changed] -[gw5] [ 80%] PASSED test/test_speccheck.py::test_check_dwdd_not_applied[spec/SpecCheck2] -[gw2] [ 80%] PASSED test/test_speccheck.py::test_check_mtocs_not_applied[spec/SpecCheck2] -test/test_speccheck.py::test_python_module_definition[spec/python-module-def] -test/test_speccheck.py::test_python_module_definition_not_present[spec/SpecCheck3] -test/test_speccheck.py::test_python_module_definition_not_present[spec/SpecCheck] -[gw11] [ 80%] PASSED test/test_speccheck.py::test_check_lpwm_not_applied[spec/SpecCheck2] -[gw10] [ 81%] PASSED test/test_speccheck.py::test_check_patch_not_applied_not_enforced[spec/mixed-use-of-spaces-and-tabs] -[gw6] [ 81%] PASSED test/test_speccheck.py::test_check_ifarch_applied_not_enforced[spec/mixed-use-of-spaces-and-tabs] -test/test_spellchecking.py::test_ignorelist_spellchecking -[gw0] [ 81%] PASSED test/test_speccheck.py::test_check_ifarch_applied_patch[spec/%ifarch-applied-patch] +[gw17] [ 75%] PASSED test/test_speccheck.py::test_check_unversioned_explicit_version_not_found[spec/%autosetup-not-in-prep] +test/test_speccheck.py::test_check_patch_not_found[spec/mixed-use-of-spaces-and-tabs] +[gw10] [ 75%] PASSED test/test_speccheck.py::test_check_ueo_not_found[spec/SpecCheckTemp] +test/test_speccheck.py::test_check_no_build_root_tag_not_applied[spec/SpecCheck2] +[gw31] [ 75%] PASSED test/test_speccheck.py::test_check_buildprereq_use_not_applied[spec/SpecCheck2] +test/test_speccheck.py::test_check_patch_not_applied[spec/patch-not-applied] +test/test_speccheck.py::test_check_ifarch_applied_patch[spec/%ifarch-applied-patch] +test/test_speccheck.py::test_check_lpwm_not_applied[spec/SpecCheck2] +[gw0] [ 76%] PASSED test/test_speccheck.py::test_check_macro_in_comment_not_found[spec/%autosetup-not-in-prep] +[gw8] [ 76%] PASSED test/test_speccheck.py::test_check_deprecated_grep_not_found[spec/SpecCheckTemp] +test/test_speccheck.py::test_check_depscript_without_disabling_depgen_not_found[spec/SpecCheckTemp] test/test_speccheck.py::test_python_sitelib_glob[spec/python-sitearch-glob] +[gw11] [ 76%] PASSED test/test_speccheck.py::test_check_macro_in_comment[spec/macro-in-comment] +[gw40] [ 76%] PASSED test/test_speccheck.py::test_check_coid_is_found[spec/SpecCheck2] +test/test_speccheck.py::test_python_module_definition_not_present[spec/SpecCheck] +test/test_speccheck.py::test_check_patch_fuzz_is_changed_not_found[spec/SpecCheckTemp] +[gw12] [ 77%] PASSED test/test_speccheck.py::test_check_lmnp_not_applied[spec/mixed-use-of-spaces-and-tabs] +test/test_speccheck.py::test_python_module_definition_not_present[spec/SpecCheck3] +test/test_speccheck.py::test_python_sitelib_glob[spec/python-sitelib-glob] +[gw15] [ 77%] PASSED test/test_speccheck.py::test_check_depscript_without_disabling_depgen[spec/depscript-without-disabling-depgen] +test/test_speccheck.py::test_python_module_definition_not_present[spec/SpecCheck4] +[gw29] [ 77%] PASSED test/test_speccheck.py::test_check_uev_not_applied[spec/SpecCheck2] +test/test_spellchecking.py::test_spelldict +[gw17] [ 77%] PASSED test/test_spellchecking.py::test_spelldict +test/test_speccheck.py::test_python_module_definition[spec/python-module-def] +[gw26] [ 78%] PASSED test/test_speccheck.py::test_check_more_than_one_changelog_section[spec/more-than-one-%changelog] +[gw24] [ 78%] PASSED test/test_speccheck.py::test_check_macro_in_changelog_not_found[spec/SpecCheck2] +[gw1] [ 78%] PASSED test/test_speccheck.py::test_check_macro_in_comment_not_applied[spec/SpecCheck2] +[gw6] [ 78%] PASSED test/test_speccheck.py::test_check_no_build_root_tag[spec/no-buildroot-tag] +[gw19] [ 79%] PASSED test/test_speccheck.py::test_check_no_essential_section[spec/no-%%%s-section] +[gw22] [ 79%] PASSED test/test_speccheck.py::test_check_deprecated_grep[spec/deprecated-grep] +test/test_speccheck.py::test_check_invalid_url_not_applied[spec/mixed-use-of-spaces-and-tabs] +test/test_speccheck.py::test_special_comments[package0] test/test_speccheck.py::test_python_module_definition_not_present[spec/SpecCheck2] +test/test_speccheck.py::test_null_char[spec/null-char-last] test/test_spellchecking.py::test_pkgname_spellchecking -[gw10] [ 82%] PASSED test/test_spellchecking.py::test_ignorelist_spellchecking -[gw0] [ 82%] PASSED test/test_spellchecking.py::test_pkgname_spellchecking -[gw7] [ 82%] PASSED test/test_speccheck.py::test_check_mixed_use_of_spaces_and_tabs[spec/mixed-use-of-spaces-and-tabs] -test/test_tags.py::test_valid_license_exception_begin_grouping[source/valid-exception-begin-grouping] -[gw15] [ 82%] PASSED test/test_speccheck.py::test_check_patch_not_applied[spec/patch-not-applied] -[gw8] [ 83%] PASSED test/test_speccheck.py::test_check_patch_fuzz_is_changed_not_applied[spec/macro-in-comment] -[gw1] [ 83%] PASSED test/test_speccheck.py::test_check_invalid_url_not_applied[spec/mixed-use-of-spaces-and-tabs] -[gw19] [ 83%] PASSED test/test_speccheck.py::test_check_patch_not_found[spec/mixed-use-of-spaces-and-tabs] -[gw18] [ 83%] PASSED test/test_speccheck.py::test_python_module_definition_not_present[spec/SpecCheck4] -test/test_speccheck.py::test_special_comments[package0] -[gw3] [ 84%] PASSED test/test_speccheck.py::test_check_patch_fuzz_is_changed[spec/patch-fuzz-is-changed] -test/test_tags.py::test_useless_provides_only_versions[binary/fuse-common] +test/test_tags.py::test_development_package[binary/foo-devel] test/test_sysvinitonsystemd.py::test_sysv_init_on_systemd_check[binary/init] +test/test_tags.py::test_description_spelling_error[binary/spellingerrors-lang] +[gw17] [ 79%] SKIPPED test/test_tags.py::test_description_spelling_error[binary/spellingerrors-lang] +[gw37] [ 79%] PASSED test/test_speccheck.py::test_check_deprecated_grep_not_applied[spec/SpecCheck2] +test/test_tags.py::test_unexpanded_macros[binary/unexpanded1] +[gw11] [ 80%] PASSED test/test_spellchecking.py::test_pkgname_spellchecking test/test_spellchecking.py::test_spellchecking -[gw15] [ 84%] SKIPPED test/test_spellchecking.py::test_spellchecking -[gw9] [ 84%] PASSED test/test_speccheck.py::test_check_no_essential_section_not_applied[spec/SpecCheck2] -test/test_tags.py::test_development_package[binary/foo-devel] -test/test_tags.py::test_check_warning[binary/no-url-tag] +test/test_speccheck.py::test_null_char[spec/null-char-first] test/test_speccheck.py::test_python_sitelib[spec/python-sitelib] -[gw17] [ 84%] PASSED test/test_speccheck.py::test_check_depscript_without_disabling_depgen_not_found[spec/SpecCheckTemp] -test/test_tags.py::test_forbidden_controlchar_found_changelog[binary/ruby2.6-rubygem-fast_gettext] +test/test_spellchecking.py::test_ignorelist_spellchecking +test/test_tags.py::test_missing_provides[binary/missingprovides] +[gw35] [ 80%] PASSED test/test_speccheck.py::test_check_lib_package_without_mklibname[spec/lib-package-without-%mklibname] +[gw1] [ 80%] SKIPPED test/test_spellchecking.py::test_spellchecking test/test_tags.py::test_self_provides[binary/self] -[gw14] [ 85%] PASSED test/test_speccheck.py::test_check_invalid_url[spec/SpecCheck2] -[gw4] [ 85%] PASSED test/test_speccheck.py::test_check_patch_fuzz_is_changed_not_found[spec/SpecCheckTemp] -test/test_speccheck.py::test_python_sitelib_glob[spec/python-sitelib-glob] -[gw12] [ 85%] PASSED test/test_speccheck.py::test_check_mixed_use_of_spaces_and_tabs_not_applied[spec/SpecCheck2] -test/test_spellchecking.py::test_spelldict -test/test_speccheck.py::test_null_char[spec/null-char-first] -test/test_tags.py::test_unexpanded_macros[binary/unexpanded1] -[gw16] [ 85%] PASSED test/test_speccheck.py::test_python_setup_test[spec/python-setup-test] +[gw23] [ 80%] PASSED test/test_speccheck.py::test_check_mixed_use_of_spaces_and_tabs[spec/mixed-use-of-spaces-and-tabs] +[gw6] [ 81%] PASSED test/test_spellchecking.py::test_ignorelist_spellchecking +[gw30] [ 81%] PASSED test/test_speccheck.py::test_check_patch_fuzz_is_changed_not_applied[spec/macro-in-comment] +[gw2] [ 81%] PASSED test/test_speccheck.py::test_check_hardcoded_prefix_tag_not_applied[spec/SpecCheck2] +test/test_zip.py::test_zip1[binary/ruby2.5-rubygem-rubyzip-testsuite] test/test_sysvinitonsystemd.py::test_overshadowing_of_initscript[binary/rc-links] -[gw5] [ 86%] PASSED test/test_speccheck.py::test_python_module_definition[spec/python-module-def] -[gw17] [ 86%] PASSED test/test_spellchecking.py::test_spelldict -[gw11] [ 86%] PASSED test/test_speccheck.py::test_python_module_definition_not_present[spec/SpecCheck2] -[gw2] [ 86%] PASSED test/test_speccheck.py::test_python_module_definition_not_present[spec/SpecCheck3] -[gw8] [ 87%] FAILED test/test_sysvinitonsystemd.py::test_sysv_init_on_systemd_check[binary/init] -[gw7] [ 87%] PASSED test/test_speccheck.py::test_python_sitelib[spec/python-sitelib] -test/test_tags.py::test_invalid_license_exception[binary/invalid-exception] -[gw18] [ 87%] FAILED test/test_tags.py::test_useless_provides_only_versions[binary/fuse-common] -[gw14] [ 87%] PASSED test/test_speccheck.py::test_python_sitelib_glob[spec/python-sitelib-glob] -test/test_tags.py::test_package_random_exp[binary/random-devel] -[gw3] [ 88%] FAILED test/test_tags.py::test_development_package[binary/foo-devel] -[gw19] [ 88%] PASSED test/test_speccheck.py::test_special_comments[package0] -test/test_tags.py::test_check_misc_warning[binary/misc-warnings] -[gw0] [ 88%] FAILED test/test_tags.py::test_forbidden_controlchar_found_changelog[binary/ruby2.6-rubygem-fast_gettext] -test/test_tags.py::test_valid_license_exception_in_grouping[source/valid-exception-in-grouping] -test/test_tags.py::test_check_summary_warning[binary/summary-warning] -test/test_speccheck.py::test_null_char[spec/null-char-last] -test/test_tags.py::test_check_unexpanded_macro[binary/unexpanded-macro-exp] -test/test_tags.py::test_check_invalid_license[binary/invalid-license] -[gw13] [ 88%] PASSED test/test_speccheck.py::test_python_module_definition_not_present[spec/SpecCheck] -[gw4] [ 89%] FAILED test/test_tags.py::test_unexpanded_macros[binary/unexpanded1] -test/test_tags.py::test_check_errors_not_found[binary/invalid-la-file] -[gw9] [ 89%] PASSED test/test_speccheck.py::test_null_char[spec/null-char-first] -test/test_tags.py::test_check_misc_warning_not_found[binary/misc-no-warnings] -test/test_tags.py::test_check_errors[binary/invalid-version] -[gw6] [ 89%] PASSED test/test_speccheck.py::test_python_sitelib_glob[spec/python-sitearch-glob] -[gw15] [ 89%] FAILED test/test_tags.py::test_check_warning[binary/no-url-tag] -[gw1] [ 90%] FAILED test/test_tags.py::test_self_provides[binary/self] -test/test_tags.py::test_missing_provides[binary/missingprovides] -[gw16] [ 90%] FAILED test/test_sysvinitonsystemd.py::test_overshadowing_of_initscript[binary/rc-links] +[gw16] [ 82%] PASSED test/test_speccheck.py::test_check_ifarch_applied_not_enforced[spec/mixed-use-of-spaces-and-tabs] test/test_tags.py::test_valid_license_exception[binary/valid-exception] +test/test_tmp_files.py::test_tmpfiles2[binary/systemd-tmpfiles] +test/test_tags.py::test_useless_provides_only_versions[binary/fuse-common] +test/test_tags.py::test_check_errors[binary/invalid-version] test/test_tags.py::test_forbidden_controlchar_found_requires[binary/xtables-addons-kmp-default] -[gw7] [ 90%] FAILED test/test_tags.py::test_check_unexpanded_macro[binary/unexpanded-macro-exp] -[gw18] [ 91%] FAILED test/test_tags.py::test_check_misc_warning[binary/misc-warnings] -[gw10] [ 91%] PASSED test/test_tags.py::test_valid_license_exception_begin_grouping[source/valid-exception-begin-grouping] -[gw11] [ 91%] PASSED test/test_tags.py::test_valid_license_exception_in_grouping[source/valid-exception-in-grouping] +test/test_zypp_syntax.py::test_packageand_ok[package0] +[gw25] [ 82%] PASSED test/test_speccheck.py::test_check_dwdd_not_applied[spec/SpecCheck2] +test/test_tags.py::test_valid_license_exception_in_grouping[source/valid-exception-in-grouping] +[gw28] [ 82%] PASSED test/test_speccheck.py::test_check_patch_not_found[spec/mixed-use-of-spaces-and-tabs] +test/test_tags.py::test_invalid_license_exception[binary/invalid-exception] +[gw36] [ 82%] PASSED test/test_speccheck.py::test_check_patch_not_applied_not_enforced[spec/mixed-use-of-spaces-and-tabs] +test/test_tags.py::test_check_errors_not_found[binary/invalid-la-file] +[gw39] [ 83%] PASSED test/test_speccheck.py::test_check_patch_not_applied[spec/patch-not-applied] +[gw33] [ 83%] PASSED test/test_speccheck.py::test_check_ifarch_applied_patch[spec/%ifarch-applied-patch] +[gw38] [ 83%] PASSED test/test_speccheck.py::test_python_sitelib_glob[spec/python-sitearch-glob] +test/test_tags.py::test_check_summary_warning[binary/summary-warning] +[gw13] [ 83%] PASSED test/test_speccheck.py::test_check_patch_fuzz_is_changed[spec/patch-fuzz-is-changed] +[gw14] [ 84%] PASSED test/test_speccheck.py::test_check_mtocs_not_applied[spec/SpecCheck2] +[gw4] [ 84%] PASSED test/test_speccheck.py::test_check_depscript_without_disabling_depgen_not_found[spec/SpecCheckTemp] test/test_tags.py::test_package_random_warnings[binary/random-exp] -test/test_tags.py::test_check_invalid_dependency[binary/invalid-dependency] +test/test_tags.py::test_check_misc_warning_not_found[binary/misc-no-warnings] +[gw10] [ 84%] PASSED test/test_speccheck.py::test_python_module_definition_not_present[spec/SpecCheck4] +test/test_tags.py::test_forbidden_controlchar_found_changelog[binary/ruby2.6-rubygem-fast_gettext] +test/test_tags.py::test_valid_license_exception_begin_grouping[source/valid-exception-begin-grouping] +[gw41] [ 84%] PASSED test/test_speccheck.py::test_python_setup_test[spec/python-setup-test] test/test_tags.py::test_check_requires_on_release[binary/requires-on-release] -test/test_tags.py::test_package_not_std_release_extension[binary/not-standard-release-extension] -[gw5] [ 91%] FAILED test/test_tags.py::test_invalid_license_exception[binary/invalid-exception] -[gw3] [ 92%] FAILED test/test_tags.py::test_check_misc_warning_not_found[binary/misc-no-warnings] -[gw8] [ 92%] FAILED test/test_tags.py::test_check_summary_warning[binary/summary-warning] -test/test_tags.py::test_description_spelling_error[binary/spellingerrors-default] -[gw11] [ 92%] SKIPPED test/test_tags.py::test_description_spelling_error[binary/spellingerrors-default] -[gw2] [ 92%] FAILED test/test_tags.py::test_valid_license_exception[binary/valid-exception] -test/test_tmp_files.py::test_tmpfiles2[binary/systemd-tmpfiles] -test/test_tags.py::test_description_spelling_error[binary/spellingerrors-lang3] -[gw7] [ 93%] SKIPPED test/test_tags.py::test_description_spelling_error[binary/spellingerrors-lang3] -[gw19] [ 93%] FAILED test/test_tags.py::test_check_errors_not_found[binary/invalid-la-file] +test/test_tags.py::test_check_invalid_license[binary/invalid-license] +test/test_tags.py::test_check_misc_warning[binary/misc-warnings] +[gw32] [ 85%] PASSED test/test_speccheck.py::test_check_no_build_root_tag_not_applied[spec/SpecCheck2] test/test_tags.py::test_description_spelling_error[binary/spellingerrors-lang2] -[gw14] [ 93%] FAILED test/test_tags.py::test_check_invalid_license[binary/invalid-license] -[gw12] [ 93%] PASSED test/test_speccheck.py::test_null_char[spec/null-char-last] -test/test_xinetd.py::test_xinetd[binary/needxinetd] -[gw15] [ 94%] FAILED test/test_tags.py::test_package_random_warnings[binary/random-exp] -test/test_tags.py::test_forbidden_controlchar_found[binary/SpecCheck4] -[gw6] [ 94%] FAILED test/test_tags.py::test_forbidden_controlchar_found_requires[binary/xtables-addons-kmp-default] -[gw17] [ 94%] FAILED test/test_tags.py::test_package_random_exp[binary/random-devel] +[gw34] [ 85%] PASSED test/test_speccheck.py::test_check_patch_fuzz_is_changed_not_found[spec/SpecCheckTemp] +[gw7] [ 85%] PASSED test/test_speccheck.py::test_check_invalid_url[spec/SpecCheck2] +[gw21] [ 85%] PASSED test/test_speccheck.py::test_python_sitelib_glob[spec/python-sitelib-glob] +[gw27] [ 86%] PASSED test/test_speccheck.py::test_check_mixed_use_of_spaces_and_tabs_not_applied[spec/SpecCheck2] +test/test_tags.py::test_check_invalid_dependency[binary/invalid-dependency] +[gw10] [ 86%] SKIPPED test/test_tags.py::test_description_spelling_error[binary/spellingerrors-lang2] +[gw9] [ 86%] PASSED test/test_speccheck.py::test_check_no_essential_section_not_applied[spec/SpecCheck2] +test/test_tags.py::test_check_warning[binary/no-url-tag] test/test_tags.py::test_check_non_standard_group[binary/non-standard-group] -[gw8] [ 94%] SKIPPED test/test_tags.py::test_description_spelling_error[binary/spellingerrors-lang2] -[gw0] [ 95%] FAILED test/test_tags.py::test_check_errors[binary/invalid-version] -test/test_tags.py::test_description_spelling_error[binary/spellingerrors-lang] -[gw9] [ 95%] FAILED test/test_tags.py::test_check_requires_on_release[binary/requires-on-release] +[gw5] [ 86%] PASSED test/test_speccheck.py::test_python_module_definition_not_present[spec/SpecCheck] +test/test_tags.py::test_check_unexpanded_macro[binary/unexpanded-macro-exp] +[gw12] [ 87%] FAILED test/test_sysvinitonsystemd.py::test_sysv_init_on_systemd_check[binary/init] +[gw18] [ 87%] PASSED test/test_speccheck.py::test_check_lpwm_not_applied[spec/SpecCheck2] +[gw20] [ 87%] PASSED test/test_speccheck.py::test_python_module_definition_not_present[spec/SpecCheck3] +test/test_tags.py::test_description_spelling_error[binary/spellingerrors-default] +[gw1] [ 87%] PASSED test/test_zypp_syntax.py::test_packageand_ok[package0] +[gw21] [ 88%] SKIPPED test/test_tags.py::test_description_spelling_error[binary/spellingerrors-default] +test/test_tags.py::test_forbidden_controlchar_found[binary/SpecCheck4] +[gw31] [ 88%] PASSED test/test_speccheck.py::test_check_invalid_url_not_applied[spec/mixed-use-of-spaces-and-tabs] +test/test_tags.py::test_summary_on_multiple_lines[binary/summary-on-multiple-lines] +test/test_tags.py::test_package_random_exp[binary/random-devel] test/test_tags.py::test_package_dev_dependency[binary/dev-dependency] +[gw0] [ 88%] PASSED test/test_speccheck.py::test_special_comments[package0] +[gw37] [ 88%] FAILED test/test_sysvinitonsystemd.py::test_overshadowing_of_initscript[binary/rc-links] +test/test_zip.py::test_bad_crc_and_compression[binary/bad-crc-uncompressed] +[gw24] [ 89%] PASSED test/test_speccheck.py::test_python_sitelib[spec/python-sitelib] +[gw26] [ 89%] FAILED test/test_tags.py::test_unexpanded_macros[binary/unexpanded1] +[gw3] [ 89%] PASSED test/test_speccheck.py::test_python_module_definition[spec/python-module-def] +[gw22] [ 89%] FAILED test/test_tags.py::test_self_provides[binary/self] +[gw8] [ 90%] PASSED test/test_speccheck.py::test_null_char[spec/null-char-last] +[gw15] [ 90%] FAILED test/test_tags.py::test_development_package[binary/foo-devel] +[gw17] [ 90%] FAILED test/test_zip.py::test_zip1[binary/ruby2.5-rubygem-rubyzip-testsuite] +test/test_tags.py::test_description_spelling_error[binary/spellingerrors-lang3] +[gw31] [ 91%] SKIPPED test/test_tags.py::test_description_spelling_error[binary/spellingerrors-lang3] +[gw29] [ 91%] PASSED test/test_speccheck.py::test_null_char[spec/null-char-first] +[gw19] [ 91%] FAILED test/test_tags.py::test_missing_provides[binary/missingprovides] +[gw11] [ 91%] FAILED test/test_tmp_files.py::test_tmpfiles2[binary/systemd-tmpfiles] test/test_tmp_files.py::test_tmpfiles[binary/tempfiled] -test/test_tags.py::test_summary_on_multiple_lines[binary/summary-on-multiple-lines] -test/test_zip.py::test_classpath_and_index[binary/asm] +test/test_zip.py::test_zip2[binary/texlive-codepage-doc] test/test_zypp_syntax.py::test_packageand[package0] -[gw13] [ 95%] FAILED test/test_tags.py::test_missing_provides[binary/missingprovides] -test/test_zip.py::test_bad_crc_and_compression[binary/bad-crc-uncompressed] -[gw1] [ 95%] FAILED test/test_tags.py::test_check_invalid_dependency[binary/invalid-dependency] -[gw16] [ 96%] FAILED test/test_tags.py::test_check_non_standard_group[binary/non-standard-group] +[gw40] [ 92%] PASSED test/test_speccheck.py::test_python_module_definition_not_present[spec/SpecCheck2] +test/test_zip.py::test_classpath_and_index[binary/asm] +test/test_xinetd.py::test_xinetd[binary/needxinetd] +test/test_tags.py::test_package_not_std_release_extension[binary/not-standard-release-extension] +[gw16] [ 92%] FAILED test/test_tags.py::test_forbidden_controlchar_found_requires[binary/xtables-addons-kmp-default] test/test_tmp_files.py::test_tmpfiles_correct[binary/systemd-tmpfiles_correct] -test/test_zip.py::test_zip2[binary/texlive-codepage-doc] -test/test_zip.py::test_zip1[binary/ruby2.5-rubygem-rubyzip-testsuite] -[gw2] [ 96%] SKIPPED test/test_tags.py::test_description_spelling_error[binary/spellingerrors-lang] -[gw15] [ 96%] PASSED test/test_zypp_syntax.py::test_packageand[package0] -test/test_zypp_syntax.py::test_packageand_ok[package0] -[gw12] [ 96%] FAILED test/test_tmp_files.py::test_tmpfiles[binary/tempfiled] -[gw17] [ 97%] FAILED test/test_tags.py::test_summary_on_multiple_lines[binary/summary-on-multiple-lines] -[gw0] [ 97%] FAILED test/test_zip.py::test_classpath_and_index[binary/asm] -[gw19] [ 97%] FAILED test/test_zip.py::test_bad_crc_and_compression[binary/bad-crc-uncompressed] -[gw3] [ 97%] FAILED test/test_xinetd.py::test_xinetd[binary/needxinetd] -[gw9] [ 98%] FAILED test/test_zip.py::test_zip2[binary/texlive-codepage-doc] -[gw18] [ 98%] FAILED test/test_tmp_files.py::test_tmpfiles2[binary/systemd-tmpfiles] -[gw10] [ 98%] FAILED test/test_tags.py::test_forbidden_controlchar_found[binary/SpecCheck4] -[gw1] [ 98%] PASSED test/test_zypp_syntax.py::test_packageand_ok[package0] +[gw25] [ 92%] FAILED test/test_tags.py::test_invalid_license_exception[binary/invalid-exception] +[gw30] [ 92%] FAILED test/test_tags.py::test_check_errors[binary/invalid-version] +[gw2] [ 93%] FAILED test/test_tags.py::test_useless_provides_only_versions[binary/fuse-common] +[gw28] [ 93%] FAILED test/test_tags.py::test_check_errors_not_found[binary/invalid-la-file] +[gw36] [ 93%] FAILED test/test_tags.py::test_check_summary_warning[binary/summary-warning] +[gw9] [ 93%] FAILED test/test_tags.py::test_forbidden_controlchar_found[binary/SpecCheck4] +[gw20] [ 94%] FAILED test/test_tags.py::test_summary_on_multiple_lines[binary/summary-on-multiple-lines] +[gw33] [ 94%] FAILED test/test_tags.py::test_check_misc_warning_not_found[binary/misc-no-warnings] +[gw13] [ 94%] FAILED test/test_tags.py::test_forbidden_controlchar_found_changelog[binary/ruby2.6-rubygem-fast_gettext] +[gw32] [ 94%] FAILED test/test_tags.py::test_check_invalid_dependency[binary/invalid-dependency] +[gw4] [ 95%] FAILED test/test_tags.py::test_check_requires_on_release[binary/requires-on-release] +[gw41] [ 95%] FAILED test/test_tags.py::test_check_misc_warning[binary/misc-warnings] +[gw39] [ 95%] FAILED test/test_tags.py::test_package_random_warnings[binary/random-exp] +[gw18] [ 95%] FAILED test/test_tags.py::test_package_random_exp[binary/random-devel] +[gw26] [ 96%] FAILED test/test_zip.py::test_zip2[binary/texlive-codepage-doc] +[gw12] [ 96%] FAILED test/test_zip.py::test_bad_crc_and_compression[binary/bad-crc-uncompressed] +[gw7] [ 96%] FAILED test/test_tags.py::test_check_warning[binary/no-url-tag] +[gw24] [ 96%] PASSED test/test_zypp_syntax.py::test_packageand[package0] +[gw35] [ 97%] FAILED test/test_tags.py::test_valid_license_exception[binary/valid-exception] +[gw23] [ 97%] PASSED test/test_tags.py::test_valid_license_exception_in_grouping[source/valid-exception-in-grouping] +[gw27] [ 97%] FAILED test/test_tags.py::test_check_unexpanded_macro[binary/unexpanded-macro-exp] +[gw15] [ 97%] FAILED test/test_zip.py::test_classpath_and_index[binary/asm] +[gw0] [ 98%] FAILED test/test_tmp_files.py::test_tmpfiles[binary/tempfiled] +[gw14] [ 98%] PASSED test/test_tags.py::test_valid_license_exception_begin_grouping[source/valid-exception-begin-grouping] +[gw40] [ 98%] FAILED test/test_tmp_files.py::test_tmpfiles_correct[binary/systemd-tmpfiles_correct] +[gw8] [ 98%] FAILED test/test_xinetd.py::test_xinetd[binary/needxinetd] [gw5] [ 99%] FAILED test/test_tags.py::test_package_dev_dependency[binary/dev-dependency] -[gw13] [ 99%] FAILED test/test_zip.py::test_zip1[binary/ruby2.5-rubygem-rubyzip-testsuite] -[gw14] [ 99%] FAILED test/test_tmp_files.py::test_tmpfiles_correct[binary/systemd-tmpfiles_correct] -[gw4] [100%] FAILED test/test_tags.py::test_package_not_std_release_extension[binary/not-standard-release-extension] +[gw3] [ 99%] FAILED test/test_tags.py::test_package_not_std_release_extension[binary/not-standard-release-extension] +[gw38] [ 99%] FAILED test/test_tags.py::test_check_invalid_license[binary/invalid-license] +[gw34] [100%] FAILED test/test_tags.py::test_check_non_standard_group[binary/non-standard-group] =================================== FAILURES =================================== -_____________________ test_FHS_compliance[binary/non-fhs] ______________________ -[gw1] linux -- Python 3.11.9 /usr/bin/python3.11 +______________________ test_pyc_magic_from_chunk[37-3393] ______________________ +[gw36] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_FHS_compliance_binary_non0') -package = 'binary/non-fhs' -fhscheck = (, ) +version = 37, magic = 3393 - @pytest.mark.parametrize('package', ['binary/non-fhs']) - def test_FHS_compliance(tmp_path, package, fhscheck): - """ - Check that the directories are not FHS compliant. - """ - output, test = fhscheck -> test.check(get_tested_package(package, tmp_path)) + @pytest.mark.parametrize('version, magic', ((36, 3379), (37, 3393))) + def test_pyc_magic_from_chunk(version, magic): +> chunk = chunk_from_pyc(version) -test/test_FHS.py:22: +test/test_files.py:85: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/non-fhs' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_FHS_compliance_binary_non0') +version = 37, size = 16 - def get_tested_package(name, testdir): - filename = Path(name).name + '-*.rpm' - candidates = list(get_tested_path(name).parent.glob(filename)) -> assert len(candidates) == 1 -E AssertionError + def chunk_from_pyc(version, size=16): + """Helper to get start of an example pyc file as bytes""" + path = get_tested_path(f'pyc/__future__.cpython-{version}.pyc') +> with open(path, 'rb') as f: +E FileNotFoundError: [Errno 2] No such file or directory: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/pyc/__future__.cpython-37.pyc' -test/Testing.py:54: AssertionError -_________________ test_non_update_alternative_pkg[binary/self] _________________ -[gw0] linux -- Python 3.11.9 /usr/bin/python3.11 +test/test_files.py:52: FileNotFoundError +___________________ test_pyc_mtime_from_chunk[37-1519778958] ___________________ +[gw38] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_non_update_alternative_pk0') -package = 'binary/self' -alternativescheck = (, ) +version = 37, mtime = 1519778958 - @pytest.mark.parametrize('package', ['binary/self']) - def test_non_update_alternative_pkg(tmp_path, package, alternativescheck): - output, test = alternativescheck + @pytest.mark.parametrize('version, mtime', ((36, 1513659236), (37, 1519778958))) + def test_pyc_mtime_from_chunk(version, mtime): +> chunk = chunk_from_pyc(version) + +test/test_files.py:91: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +version = 37, size = 16 + + def chunk_from_pyc(version, size=16): + """Helper to get start of an example pyc file as bytes""" + path = get_tested_path(f'pyc/__future__.cpython-{version}.pyc') +> with open(path, 'rb') as f: +E FileNotFoundError: [Errno 2] No such file or directory: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/pyc/__future__.cpython-37.pyc' + +test/test_files.py:52: FileNotFoundError +____________ test_unexpanded_macros[binary/unexpanded-macro-files] _____________ +[gw34] linux -- Python 3.11.9 /usr/bin/python3.11 + +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw34/test_unexpanded_macros_binary_0') +package = 'binary/unexpanded-macro-files' +filescheck = (, ) + + @pytest.mark.parametrize('package', ['binary/unexpanded-macro-files']) + def test_unexpanded_macros(tmp_path, package, filescheck): + output, test = filescheck > test.check(get_tested_package(package, tmp_path)) -test/test_alternatives.py:45: +test/test_files.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/self' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_non_update_alternative_pk0') +name = 'binary/unexpanded-macro-files' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw34/test_unexpanded_macros_binary_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -1969,11 +2019,11 @@ test/Testing.py:54: AssertionError _________________ test_shlib_with_no_exec_glibc[binary/glibc] __________________ -[gw6] linux -- Python 3.11.9 /usr/bin/python3.11 +[gw10] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw6/test_shlib_with_no_exec_glibc_0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw10/test_shlib_with_no_exec_glibc_0') package = 'binary/glibc' -binariescheck = (, ) +binariescheck = (, ) @pytest.mark.parametrize('package', ['binary/glibc']) @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') @@ -1985,7 +2035,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'binary/glibc' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw6/test_shlib_with_no_exec_glibc_0') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw10/test_shlib_with_no_exec_glibc_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -1994,26 +2044,24 @@ E AssertionError test/Testing.py:54: AssertionError -______________________ test_LSB_compliance[binary/fPing] _______________________ -[gw1] linux -- Python 3.11.9 /usr/bin/python3.11 +_________________ test_multiple_errors[binary/multiple_errors] _________________ +[gw17] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_LSB_compliance_binary_fPi0') -package = 'binary/fPing' -lsbcheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw17/test_multiple_errors_binary_mu0') +package = 'binary/multiple_errors' +binariescheck = (, ) - @pytest.mark.parametrize('package', ['binary/fPing']) - def test_LSB_compliance(tmp_path, package, lsbcheck): - """ - Check that the package name, version and release number are LSB compliant. - """ - output, test = lsbcheck + @pytest.mark.parametrize('package', ['binary/multiple_errors']) + @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') + def test_multiple_errors(tmp_path, package, binariescheck): + output, test = binariescheck > test.check(get_tested_package(package, tmp_path)) -test/test_LSB.py:22: +test/test_binaries.py:267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/fPing' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_LSB_compliance_binary_fPi0') +name = 'binary/multiple_errors' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw17/test_multiple_errors_binary_mu0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2022,23 +2070,24 @@ E AssertionError test/Testing.py:54: AssertionError -_______________________ test_lto_ghc_archive[binary/ghc] _______________________ -[gw4] linux -- Python 3.11.9 /usr/bin/python3.11 +____________________ test_build_date_time[binary/builddate] ____________________ +[gw18] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw4/test_lto_ghc_archive_binary_gh0') -package = 'binary/ghc' -binariescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw18/test_build_date_time_binary_bu0') +package = 'binary/builddate' +builddatecheck = (, ) - @pytest.mark.parametrize('package', ['binary/ghc']) - def test_lto_ghc_archive(tmp_path, package, binariescheck): - output, test = binariescheck + @pytest.mark.parametrize('package', ['binary/builddate']) + def test_build_date_time(tmp_path, package, builddatecheck): + output, test = builddatecheck + test.istoday = re.compile('Jan 1 2019') > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:54: +test/test_build_date.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/ghc' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw4/test_lto_ghc_archive_binary_gh0') +name = 'binary/builddate' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw18/test_build_date_time_binary_bu0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2047,24 +2096,24 @@ E AssertionError test/Testing.py:54: AssertionError -____________________ test_build_date_time[binary/builddate] ____________________ -[gw8] linux -- Python 3.11.9 /usr/bin/python3.11 +________________ test_build_date_time_correct[binary/bashisms] _________________ +[gw19] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw8/test_build_date_time_binary_bu0') -package = 'binary/builddate' -builddatecheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw19/test_build_date_time_correct_b0') +package = 'binary/bashisms' +builddatecheck = (, ) - @pytest.mark.parametrize('package', ['binary/builddate']) - def test_build_date_time(tmp_path, package, builddatecheck): + @pytest.mark.parametrize('package', ['binary/bashisms']) + def test_build_date_time_correct(tmp_path, package, builddatecheck): output, test = builddatecheck test.istoday = re.compile('Jan 1 2019') > test.check(get_tested_package(package, tmp_path)) -test/test_build_date.py:22: +test/test_build_date.py:32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/builddate' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw8/test_build_date_time_binary_bu0') +name = 'binary/bashisms' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw19/test_build_date_time_correct_b0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2073,23 +2122,24 @@ E AssertionError test/Testing.py:54: AssertionError -__________ test_update_alternatives_correctness[binary/python39-evtx] __________ -[gw0] linux -- Python 3.11.9 /usr/bin/python3.11 +_________________ test_appdata_fail_no_checker[binary/appdata] _________________ +[gw4] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_update_alternatives_corre0') -package = 'binary/python39-evtx' -alternativescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw4/test_appdata_fail_no_checker_b0') +package = 'binary/appdata' +appdatacheck = (, ) - @pytest.mark.parametrize('package', ['binary/python39-evtx']) - def test_update_alternatives_correctness(tmp_path, package, alternativescheck): - output, test = alternativescheck + @pytest.mark.parametrize('package', ['binary/appdata']) + @patch('rpmlint.checks.AppDataCheck.AppDataCheck.cmd', 'command-really-not-found') + def test_appdata_fail_no_checker(tmp_path, package, appdatacheck): + output, test = appdatacheck > test.check(get_tested_package(package, tmp_path)) -test/test_alternatives.py:56: +test/test_appdata.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/python39-evtx' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_update_alternatives_corre0') +name = 'binary/appdata' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw4/test_appdata_fail_no_checker_b0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2098,23 +2148,23 @@ E AssertionError test/Testing.py:54: AssertionError -___________________ test_makefile_junk[binary/makefile-junk] ___________________ -[gw19] linux -- Python 3.11.9 /usr/bin/python3.11 +__________________________ test_shlib1[binary/shlib1] __________________________ +[gw24] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw19/test_makefile_junk_binary_make0') -package = 'binary/makefile-junk' -filescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw24/test_shlib1_binary_shlib1_0') +package = 'binary/shlib1' +filescheck = (, ) - @pytest.mark.parametrize('package', ['binary/makefile-junk']) - def test_makefile_junk(tmp_path, package, filescheck): + @pytest.mark.parametrize('package', ['binary/shlib1']) + def test_shlib1(tmp_path, package, filescheck): output, test = filescheck > test.check(get_tested_package(package, tmp_path)) -test/test_files.py:109: +test/test_files.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/makefile-junk' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw19/test_makefile_junk_binary_make0') +name = 'binary/shlib1' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw24/test_shlib1_binary_shlib1_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2123,23 +2173,23 @@ E AssertionError test/Testing.py:54: AssertionError -______________________ test_dbus_policy[binary/dbusrule] _______________________ -[gw14] linux -- Python 3.11.9 /usr/bin/python3.11 +___________________ test_makefile_junk[binary/makefile-junk] ___________________ +[gw37] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw14/test_dbus_policy_binary_dbusru0') -package = 'binary/dbusrule' -dbuspolicycheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw37/test_makefile_junk_binary_make0') +package = 'binary/makefile-junk' +filescheck = (, ) - @pytest.mark.parametrize('package', ['binary/dbusrule']) - def test_dbus_policy(tmp_path, package, dbuspolicycheck): - output, test = dbuspolicycheck + @pytest.mark.parametrize('package', ['binary/makefile-junk']) + def test_makefile_junk(tmp_path, package, filescheck): + output, test = filescheck > test.check(get_tested_package(package, tmp_path)) -test/test_dbus_policy.py:19: +test/test_files.py:109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/dbusrule' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw14/test_dbus_policy_binary_dbusru0') +name = 'binary/makefile-junk' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw37/test_makefile_junk_binary_make0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2148,13 +2198,13 @@ E AssertionError test/Testing.py:54: AssertionError -_ test_zero_length_ignore[/etc/security/console.apps-False-binary/file-zero-length] _ -[gw12] linux -- Python 3.11.9 /usr/bin/python3.11 +___ test_zero_length_ignore[/usr/lib/emptyfile-True-binary/file-zero-length] ___ +[gw5] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw12/test_zero_length_ignore__etc_s0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw5/test_zero_length_ignore__usr_l0') package = 'binary/file-zero-length' -filescheck = (, ) -filename = '/etc/security/console.apps', show = False +filescheck = (, ) +filename = '/usr/lib/emptyfile', show = True @pytest.mark.parametrize('package', ['binary/file-zero-length']) @pytest.mark.parametrize( @@ -2175,32 +2225,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'binary/file-zero-length' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw12/test_zero_length_ignore__etc_s0') - - def get_tested_package(name, testdir): - filename = Path(name).name + '-*.rpm' - candidates = list(get_tested_path(name).parent.glob(filename)) -> assert len(candidates) == 1 -E AssertionError - -test/Testing.py:54: AssertionError -________________ test_doc_file_dep[binary/doc-file-dependency] _________________ -[gw15] linux -- Python 3.11.9 /usr/bin/python3.11 - -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw15/test_doc_file_dep_binary_doc_f0') -package = 'binary/doc-file-dependency' -doccheck = (, ) - - @pytest.mark.parametrize('package', ['binary/doc-file-dependency']) - def test_doc_file_dep(tmp_path, package, doccheck): - output, test = doccheck -> test.check(get_tested_package(package, tmp_path)) - -test/test_doc.py:29: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -name = 'binary/doc-file-dependency' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw15/test_doc_file_dep_binary_doc_f0') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw5/test_zero_length_ignore__usr_l0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2209,24 +2234,24 @@ E AssertionError test/Testing.py:54: AssertionError -_______________________ test_erlang[binary/erlang-test] ________________________ +________________ test_invalid_ldconfig_symlink[binary/libtest3] ________________ [gw16] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw16/test_erlang_binary_erlang_test0') -package = 'binary/erlang-test' -erlangcheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw16/test_invalid_ldconfig_symlink_0') +package = 'binary/libtest3' +binariescheck = (, ) - @pytest.mark.skipif(parse(distribution('pybeam').version) < parse('0.7'), reason='pybeam >= 0.7 required') - @pytest.mark.parametrize('package', ['binary/erlang-test']) - def test_erlang(tmp_path, package, erlangcheck): - output, test = erlangcheck + @pytest.mark.parametrize('package', ['binary/libtest3']) + @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') + def test_invalid_ldconfig_symlink(tmp_path, package, binariescheck): + output, test = binariescheck > test.check(get_tested_package(package, tmp_path)) -test/test_erlang.py:23: +test/test_binaries.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/erlang-test' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw16/test_erlang_binary_erlang_test0') +name = 'binary/libtest3' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw16/test_invalid_ldconfig_symlink_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2235,23 +2260,34 @@ E AssertionError test/Testing.py:54: AssertionError -___________________ test_provides_devel[binary/development] ____________________ -[gw10] linux -- Python 3.11.9 /usr/bin/python3.11 +_ test_zero_length_ignore[/usr/lib/python/__init__.py-False-binary/file-zero-length] _ +[gw20] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw10/test_provides_devel_binary_dev0') -package = 'binary/development' -filescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw20/test_zero_length_ignore__usr_l0') +package = 'binary/file-zero-length' +filescheck = (, ) +filename = '/usr/lib/python/__init__.py', show = False - @pytest.mark.parametrize('package', ['binary/development']) - def test_provides_devel(tmp_path, package, filescheck): + @pytest.mark.parametrize('package', ['binary/file-zero-length']) + @pytest.mark.parametrize( + 'filename, show', + [('/usr/lib/emptyfile', True), + ('/usr/lib/nonemptyfile', False), + ('/etc/security/console.apps', False), + ('/usr/lib/.nosearch', False), + ('/usr/lib/python/__init__.py', False), + ('/usr/lib/python/py.typed', False), + ('/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED', False), + ('/usr/lib/ruby/gem.build_complete', False)]) + def test_zero_length_ignore(tmp_path, package, filescheck, filename, show): output, test = filescheck -> test.check(get_tested_package(package, tmp_path)) +> pkg = get_tested_package(package, tmp_path) -test/test_files.py:207: +test/test_files.py:245: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/development' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw10/test_provides_devel_binary_dev0') +name = 'binary/file-zero-length' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw20/test_zero_length_ignore__usr_l0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2260,24 +2296,30 @@ E AssertionError test/Testing.py:54: AssertionError -_________________ test_appdata_fail_no_checker[binary/appdata] _________________ -[gw2] linux -- Python 3.11.9 /usr/bin/python3.11 +___________________________ test_description_storing ___________________________ +[gw26] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_appdata_fail_no_checker_b0') -package = 'binary/appdata' -appdatacheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw26/test_description_storing0') - @pytest.mark.parametrize('package', ['binary/appdata']) - @patch('rpmlint.checks.AppDataCheck.AppDataCheck.cmd', 'command-really-not-found') - def test_appdata_fail_no_checker(tmp_path, package, appdatacheck): - output, test = appdatacheck -> test.check(get_tested_package(package, tmp_path)) + def test_description_storing(tmp_path): + """ + Test if we can store extra destcriptions and formatting is up par + """ + lorem_formated = """Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor + incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis + nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. + Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore + eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt + in culpa qui officia deserunt mollit anim id est laborum.\n\n""" + cfg = Config(TEST_CONFIG_FILTERS) + result = Filter(cfg) +> pkg = get_tested_package(TEST_PACKAGE, tmp_path) -test/test_appdata.py:33: +test/test_filter.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/appdata' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_appdata_fail_no_checker_b0') +name = PosixPath('binary/ngircd') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw26/test_description_storing0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2287,11 +2329,11 @@ test/Testing.py:54: AssertionError _________________ test_forbidden_c_calls[binary/crypto-policy] _________________ -[gw3] linux -- Python 3.11.9 /usr/bin/python3.11 +[gw6] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw3/test_forbidden_c_calls_binary_0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw6/test_forbidden_c_calls_binary_0') package = 'binary/crypto-policy' -binariescheck = (, ) +binariescheck = (, ) @pytest.mark.parametrize('package', ['binary/crypto-policy']) @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') @@ -2303,7 +2345,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'binary/crypto-policy' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw3/test_forbidden_c_calls_binary_0') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw6/test_forbidden_c_calls_binary_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2312,48 +2354,44 @@ E AssertionError test/Testing.py:54: AssertionError -______________ test_update_alternative_ok[binary/alternatives-ok] ______________ -[gw1] linux -- Python 3.11.9 /usr/bin/python3.11 +___________________ test_pyc_mtime_from_chunk[36-1513659236] ___________________ +[gw36] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_update_alternative_ok_bin0') -package = 'binary/alternatives-ok' -alternativescheck = (, ) +version = 36, mtime = 1513659236 - @pytest.mark.parametrize('package', ['binary/alternatives-ok']) - def test_update_alternative_ok(tmp_path, package, alternativescheck): - output, test = alternativescheck -> test.check(get_tested_package(package, tmp_path)) + @pytest.mark.parametrize('version, mtime', ((36, 1513659236), (37, 1519778958))) + def test_pyc_mtime_from_chunk(version, mtime): +> chunk = chunk_from_pyc(version) -test/test_alternatives.py:24: +test/test_files.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/alternatives-ok' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_update_alternative_ok_bin0') +version = 36, size = 16 - def get_tested_package(name, testdir): - filename = Path(name).name + '-*.rpm' - candidates = list(get_tested_path(name).parent.glob(filename)) -> assert len(candidates) == 1 -E AssertionError + def chunk_from_pyc(version, size=16): + """Helper to get start of an example pyc file as bytes""" + path = get_tested_path(f'pyc/__future__.cpython-{version}.pyc') +> with open(path, 'rb') as f: +E FileNotFoundError: [Errno 2] No such file or directory: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/pyc/__future__.cpython-36.pyc' -test/Testing.py:54: AssertionError -_______________________ test_no_binary[binary/no-binary] _______________________ -[gw5] linux -- Python 3.11.9 /usr/bin/python3.11 +test/test_files.py:52: FileNotFoundError +____________ test_patchable_function_entry_archive[binary/libtest] _____________ +[gw17] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw5/test_no_binary_binary_no_binar0') -package = 'binary/no-binary' -binariescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw17/test_patchable_function_entry_0') +package = 'binary/libtest' +binariescheck = (, ) - @pytest.mark.parametrize('package', ['binary/no-binary']) - def test_no_binary(tmp_path, package, binariescheck): + @pytest.mark.parametrize('package', ['binary/libtest']) + def test_patchable_function_entry_archive(tmp_path, package, binariescheck): output, test = binariescheck > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:142: +test/test_binaries.py:277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/no-binary' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw5/test_no_binary_binary_no_binar0') +name = 'binary/libtest' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw17/test_patchable_function_entry_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2362,24 +2400,24 @@ E AssertionError test/Testing.py:54: AssertionError -________________ test_build_date_time_correct[binary/bashisms] _________________ -[gw8] linux -- Python 3.11.9 /usr/bin/python3.11 +_______________________ test_erlang[binary/erlang-test] ________________________ +[gw32] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw8/test_build_date_time_correct_b0') -package = 'binary/bashisms' -builddatecheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw32/test_erlang_binary_erlang_test0') +package = 'binary/erlang-test' +erlangcheck = (, ) - @pytest.mark.parametrize('package', ['binary/bashisms']) - def test_build_date_time_correct(tmp_path, package, builddatecheck): - output, test = builddatecheck - test.istoday = re.compile('Jan 1 2019') + @pytest.mark.skipif(parse(distribution('pybeam').version) < parse('0.7'), reason='pybeam >= 0.7 required') + @pytest.mark.parametrize('package', ['binary/erlang-test']) + def test_erlang(tmp_path, package, erlangcheck): + output, test = erlangcheck > test.check(get_tested_package(package, tmp_path)) -test/test_build_date.py:32: +test/test_erlang.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/bashisms' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw8/test_build_date_time_correct_b0') +name = 'binary/erlang-test' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw32/test_erlang_binary_erlang_test0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2388,44 +2426,48 @@ E AssertionError test/Testing.py:54: AssertionError -______________________ test_pyc_magic_from_chunk[37-3393] ______________________ -[gw18] linux -- Python 3.11.9 /usr/bin/python3.11 +_______________ test_python_bytecode_magic[binary/python3-power] _______________ +[gw34] linux -- Python 3.11.9 /usr/bin/python3.11 -version = 37, magic = 3393 +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw34/test_python_bytecode_magic_bin0') +package = 'binary/python3-power' +filescheck = (, ) - @pytest.mark.parametrize('version, magic', ((36, 3379), (37, 3393))) - def test_pyc_magic_from_chunk(version, magic): -> chunk = chunk_from_pyc(version) + @pytest.mark.parametrize('package', ['binary/python3-power']) + def test_python_bytecode_magic(tmp_path, package, filescheck): + output, test = filescheck +> test.check(get_tested_package(package, tmp_path)) -test/test_files.py:85: +test/test_files.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -version = 37, size = 16 +name = 'binary/python3-power' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw34/test_python_bytecode_magic_bin0') - def chunk_from_pyc(version, size=16): - """Helper to get start of an example pyc file as bytes""" - path = get_tested_path(f'pyc/__future__.cpython-{version}.pyc') -> with open(path, 'rb') as f: -E FileNotFoundError: [Errno 2] No such file or directory: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/pyc/__future__.cpython-37.pyc' + def get_tested_package(name, testdir): + filename = Path(name).name + '-*.rpm' + candidates = list(get_tested_path(name).parent.glob(filename)) +> assert len(candidates) == 1 +E AssertionError -test/test_files.py:52: FileNotFoundError -__________________________ test_shlib1[binary/shlib1] __________________________ -[gw10] linux -- Python 3.11.9 /usr/bin/python3.11 +test/Testing.py:54: AssertionError +_________________ test_devel_files[binary/netmask-debugsource] _________________ +[gw38] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw10/test_shlib1_binary_shlib1_0') -package = 'binary/shlib1' -filescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw38/test_devel_files_binary_netmas0') +package = 'binary/netmask-debugsource' +filescheck = (, ) - @pytest.mark.parametrize('package', ['binary/shlib1']) - def test_shlib1(tmp_path, package, filescheck): + @pytest.mark.parametrize('package', ['binary/netmask-debugsource']) + def test_devel_files(tmp_path, package, filescheck): output, test = filescheck > test.check(get_tested_package(package, tmp_path)) -test/test_files.py:215: +test/test_files.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/shlib1' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw10/test_shlib1_binary_shlib1_0') +name = 'binary/netmask-debugsource' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw38/test_devel_files_binary_netmas0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2434,23 +2476,26 @@ E AssertionError test/Testing.py:54: AssertionError -______________ test_libalternative_ok[binary/libalternatives-ok] _______________ +_____________________ test_FHS_compliance[binary/non-fhs] ______________________ [gw0] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_libalternative_ok_binary_0') -package = 'binary/libalternatives-ok' -alternativescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw0/test_FHS_compliance_binary_non0') +package = 'binary/non-fhs' +fhscheck = (, ) - @pytest.mark.parametrize('package', ['binary/libalternatives-ok']) - def test_libalternative_ok(tmp_path, package, alternativescheck): - output, test = alternativescheck + @pytest.mark.parametrize('package', ['binary/non-fhs']) + def test_FHS_compliance(tmp_path, package, fhscheck): + """ + Check that the directories are not FHS compliant. + """ + output, test = fhscheck > test.check(get_tested_package(package, tmp_path)) -test/test_alternatives.py:69: +test/test_FHS.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/libalternatives-ok' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_libalternative_ok_binary_0') +name = 'binary/non-fhs' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw0/test_FHS_compliance_binary_non0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2459,23 +2504,23 @@ E AssertionError test/Testing.py:54: AssertionError -_________________ test_libtool_wrapper[binary/libtool-wrapper] _________________ -[gw4] linux -- Python 3.11.9 /usr/bin/python3.11 +______________________ test_dbus_policy[binary/dbusrule] _______________________ +[gw28] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw4/test_libtool_wrapper_binary_li0') -package = 'binary/libtool-wrapper' -binariescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw28/test_dbus_policy_binary_dbusru0') +package = 'binary/dbusrule' +dbuspolicycheck = (, ) - @pytest.mark.parametrize('package', ['binary/libtool-wrapper']) - def test_libtool_wrapper(tmp_path, package, binariescheck): - output, test = binariescheck + @pytest.mark.parametrize('package', ['binary/dbusrule']) + def test_dbus_policy(tmp_path, package, dbuspolicycheck): + output, test = dbuspolicycheck > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:62: +test/test_dbus_policy.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/libtool-wrapper' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw4/test_libtool_wrapper_binary_li0') +name = 'binary/dbusrule' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw28/test_dbus_policy_binary_dbusru0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2484,23 +2529,23 @@ E AssertionError test/Testing.py:54: AssertionError -____________ test_install_file_in_docs[binary/install-file-in-docs] ____________ -[gw15] linux -- Python 3.11.9 /usr/bin/python3.11 +_________________ test_non_update_alternative_pkg[binary/self] _________________ +[gw2] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw15/test_install_file_in_docs_bina0') -package = 'binary/install-file-in-docs' -doccheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw2/test_non_update_alternative_pk0') +package = 'binary/self' +alternativescheck = (, ) - @pytest.mark.parametrize('package', ['binary/install-file-in-docs']) - def test_install_file_in_docs(tmp_path, package, doccheck): - output, test = doccheck + @pytest.mark.parametrize('package', ['binary/self']) + def test_non_update_alternative_pkg(tmp_path, package, alternativescheck): + output, test = alternativescheck > test.check(get_tested_package(package, tmp_path)) -test/test_doc.py:38: +test/test_alternatives.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/install-file-in-docs' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw15/test_install_file_in_docs_bina0') +name = 'binary/self' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw2/test_non_update_alternative_pk0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2509,23 +2554,23 @@ E AssertionError test/Testing.py:54: AssertionError -________________ test_sphinx_inv_files[binary/python3-greenlet] ________________ -[gw19] linux -- Python 3.11.9 /usr/bin/python3.11 +______________ test_update_alternative_ok[binary/alternatives-ok] ______________ +[gw1] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw19/test_sphinx_inv_files_binary_p0') -package = 'binary/python3-greenlet' -filescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw1/test_update_alternative_ok_bin0') +package = 'binary/alternatives-ok' +alternativescheck = (, ) - @pytest.mark.parametrize('package', ['binary/python3-greenlet']) - def test_sphinx_inv_files(tmp_path, package, filescheck): - output, test = filescheck + @pytest.mark.parametrize('package', ['binary/alternatives-ok']) + def test_update_alternative_ok(tmp_path, package, alternativescheck): + output, test = alternativescheck > test.check(get_tested_package(package, tmp_path)) -test/test_files.py:118: +test/test_alternatives.py:24: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/python3-greenlet' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw19/test_sphinx_inv_files_binary_p0') +name = 'binary/alternatives-ok' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw1/test_update_alternative_ok_bin0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2535,11 +2580,11 @@ test/Testing.py:54: AssertionError _____________ test_position_independent_executable[binary/bcc-lua] _____________ -[gw6] linux -- Python 3.11.9 /usr/bin/python3.11 +[gw10] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw6/test_position_independent_exec0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw10/test_position_independent_exec0') package = 'binary/bcc-lua' -binariescheck = (, ) +binariescheck = (, ) @pytest.mark.parametrize('package', ['binary/bcc-lua']) def test_position_independent_executable(tmp_path, package, binariescheck): @@ -2552,7 +2597,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'binary/bcc-lua' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw6/test_position_independent_exec0') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw10/test_position_independent_exec0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2561,13 +2606,14 @@ E AssertionError test/Testing.py:54: AssertionError -__ test_zero_length_ignore[/usr/lib/.nosearch-False-binary/file-zero-length] ___ -[gw12] linux -- Python 3.11.9 /usr/bin/python3.11 +_ test_zero_length_ignore[/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED-False-binary/file-zero-length] _ +[gw21] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw12/test_zero_length_ignore__usr_l0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw21/test_zero_length_ignore__usr_l0') package = 'binary/file-zero-length' -filescheck = (, ) -filename = '/usr/lib/.nosearch', show = False +filescheck = (, ) +filename = '/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED' +show = False @pytest.mark.parametrize('package', ['binary/file-zero-length']) @pytest.mark.parametrize( @@ -2588,7 +2634,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'binary/file-zero-length' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw12/test_zero_length_ignore__usr_l0') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw21/test_zero_length_ignore__usr_l0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2597,24 +2643,23 @@ E AssertionError test/Testing.py:54: AssertionError -________________ test_invalid_ldconfig_symlink[binary/libtest3] ________________ +______________________ test_no_arch_issues[binary/noarch] ______________________ [gw9] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw9/test_invalid_ldconfig_symlink_0') -package = 'binary/libtest3' -binariescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw9/test_no_arch_issues_binary_noa0') +package = 'binary/noarch' +binariescheck = (, ) - @pytest.mark.parametrize('package', ['binary/libtest3']) - @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_invalid_ldconfig_symlink(tmp_path, package, binariescheck): + @pytest.mark.parametrize('package', ['binary/noarch']) + def test_no_arch_issues(tmp_path, package, binariescheck): output, test = binariescheck > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:242: +test/test_binaries.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/libtest3' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw9/test_invalid_ldconfig_symlink_0') +name = 'binary/noarch' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw9/test_no_arch_issues_binary_noa0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2623,23 +2668,23 @@ E AssertionError test/Testing.py:54: AssertionError -__________ test_update_alternative_borked[binary/alternatives-borked] __________ -[gw1] linux -- Python 3.11.9 /usr/bin/python3.11 +____________________ test_manual_pages[binary/manual-pages] ____________________ +[gw23] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_update_alternative_borked0') -package = 'binary/alternatives-borked' -alternativescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw23/test_manual_pages_binary_manua0') +package = 'binary/manual-pages' +filescheck = (, ) - @pytest.mark.parametrize('package', ['binary/alternatives-borked']) - def test_update_alternative_borked(tmp_path, package, alternativescheck): - output, test = alternativescheck + @pytest.mark.parametrize('package', ['binary/manual-pages']) + def test_manual_pages(tmp_path, package, filescheck): + output, test = filescheck > test.check(get_tested_package(package, tmp_path)) -test/test_alternatives.py:34: +test/test_files.py:255: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/alternatives-borked' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_update_alternative_borked0') +name = 'binary/manual-pages' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw23/test_manual_pages_binary_manua0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2648,23 +2693,24 @@ E AssertionError test/Testing.py:54: AssertionError -____________ test_unexpanded_macros[binary/unexpanded-macro-files] _____________ -[gw17] linux -- Python 3.11.9 /usr/bin/python3.11 +______________________ test_build_root[binary/buildroot] _______________________ +[gw19] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw17/test_unexpanded_macros_binary_0') -package = 'binary/unexpanded-macro-files' -filescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw19/test_build_root_binary_buildro0') +package = 'binary/buildroot' +buildrootcheck = (, ) - @pytest.mark.parametrize('package', ['binary/unexpanded-macro-files']) - def test_unexpanded_macros(tmp_path, package, filescheck): - output, test = filescheck + @pytest.mark.parametrize('package', ['binary/buildroot']) + def test_build_root(tmp_path, package, buildrootcheck): + output, test = buildrootcheck + test.prepare_regex('/home/marxin/rpmbuild/BUILDROOT/%{NAME}-%{VERSION}-%{RELEASE}.x86_64') > test.check(get_tested_package(package, tmp_path)) -test/test_files.py:59: +test/test_build_root.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/unexpanded-macro-files' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw17/test_unexpanded_macros_binary_0') +name = 'binary/buildroot' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw19/test_build_root_binary_buildro0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2673,23 +2719,23 @@ E AssertionError test/Testing.py:54: AssertionError -____________________ test_shlib2_devel[binary/shlib2-devel] ____________________ -[gw10] linux -- Python 3.11.9 /usr/bin/python3.11 +_______________________ test_no_binary[binary/no-binary] _______________________ +[gw12] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw10/test_shlib2_devel_binary_shlib0') -package = 'binary/shlib2-devel' -filescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw12/test_no_binary_binary_no_binar0') +package = 'binary/no-binary' +binariescheck = (, ) - @pytest.mark.parametrize('package', ['binary/shlib2-devel']) - def test_shlib2_devel(tmp_path, package, filescheck): - output, test = filescheck + @pytest.mark.parametrize('package', ['binary/no-binary']) + def test_no_binary(tmp_path, package, binariescheck): + output, test = binariescheck > test.check(get_tested_package(package, tmp_path)) -test/test_files.py:225: +test/test_binaries.py:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/shlib2-devel' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw10/test_shlib2_devel_binary_shlib0') +name = 'binary/no-binary' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw12/test_no_binary_binary_no_binar0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2698,23 +2744,23 @@ E AssertionError test/Testing.py:54: AssertionError -_________________ test_waived_forbidden_c_calls[binary/ngircd] _________________ -[gw3] linux -- Python 3.11.9 /usr/bin/python3.11 +_______________________ test_lto_ghc_archive[binary/ghc] _______________________ +[gw8] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw3/test_waived_forbidden_c_calls_0') -package = 'binary/ngircd' -binariescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw8/test_lto_ghc_archive_binary_gh0') +package = 'binary/ghc' +binariescheck = (, ) - @pytest.mark.parametrize('package', ['binary/ngircd']) - def test_waived_forbidden_c_calls(tmp_path, package, binariescheck): + @pytest.mark.parametrize('package', ['binary/ghc']) + def test_lto_ghc_archive(tmp_path, package, binariescheck): output, test = binariescheck > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:29: +test/test_binaries.py:54: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/ngircd' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw3/test_waived_forbidden_c_calls_0') +name = 'binary/ghc' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw8/test_lto_ghc_archive_binary_gh0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2723,23 +2769,23 @@ E AssertionError test/Testing.py:54: AssertionError -______________________ test_no_arch_issues[binary/noarch] ______________________ -[gw4] linux -- Python 3.11.9 /usr/bin/python3.11 +___________________ test_invalid_package[binary/filechecks] ____________________ +[gw40] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw4/test_no_arch_issues_binary_noa0') -package = 'binary/noarch' -binariescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw40/test_invalid_package_binary_fi0') +package = 'binary/filechecks' +filescheck = (, ) - @pytest.mark.parametrize('package', ['binary/noarch']) - def test_no_arch_issues(tmp_path, package, binariescheck): - output, test = binariescheck + @pytest.mark.parametrize('package', ['binary/filechecks']) + def test_invalid_package(tmp_path, package, filescheck): + output, test = filescheck > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:74: +test/test_files.py:125: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/noarch' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw4/test_no_arch_issues_binary_noa0') +name = 'binary/filechecks' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw40/test_invalid_package_binary_fi0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2748,116 +2794,73 @@ E AssertionError test/Testing.py:54: AssertionError -____________________________ test_distribution_tags ____________________________ -[gw14] linux -- Python 3.11.9 /usr/bin/python3.11 +___________________ test_binary_in_etc[binary/binary-in-etc] ___________________ +[gw13] linux -- Python 3.11.9 /usr/bin/python3.11 -self = -old = PosixPath('/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.15-10.3.1.x86_64.rpm') -new = PosixPath('/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.21-2.1.x86_64.rpm') -ignore = [], exclude = None +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw13/test_binary_in_etc_binary_bina0') +package = 'binary/binary-in-etc' +binariescheck = (, ) - def __init__(self, old, new, ignore=None, exclude=None): - self.result = [] - self.ignore = ignore or [] - self.exclude = exclude or [] - - FILEIDX = self.__FILEIDX - for tag in self.ignore: - for entry in FILEIDX: - if tag == entry[0]: - entry[1] = None - break - - try: -> old = self.__load_pkg(old).header + @pytest.mark.parametrize('package', ['binary/binary-in-etc']) + def test_binary_in_etc(tmp_path, package, binariescheck): + output, test = binariescheck +> test.check(get_tested_package(package, tmp_path)) -rpmlint/rpmdiff.py:55: +test/test_binaries.py:163: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -name = PosixPath('/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.15-10.3.1.x86_64.rpm') +name = 'binary/binary-in-etc' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw13/test_binary_in_etc_binary_bina0') - def __load_pkg(self, name): - # FIXME: redo to try file/installed and proceed based on that, or pick - # one of the selected first - tmpdir = tempfile.gettempdir() - with contextlib.suppress(TypeError): - if name.is_file(): - return Pkg(name, tmpdir) - inst = get_installed_pkgs(str(name)) - if not inst: -> raise KeyError(f'No installed packages by name {name}') -E KeyError: 'No installed packages by name /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.15-10.3.1.x86_64.rpm' + def get_tested_package(name, testdir): + filename = Path(name).name + '-*.rpm' + candidates = list(get_tested_path(name).parent.glob(filename)) +> assert len(candidates) == 1 +E AssertionError -rpmlint/rpmdiff.py:142: KeyError +test/Testing.py:54: AssertionError +___ test_file_not_utf8_for_compression_algorithms[binary/testdocumentation] ____ +[gw35] linux -- Python 3.11.9 /usr/bin/python3.11 -During handling of the above exception, another exception occurred: +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw35/test_file_not_utf8_for_compres0') +package = 'binary/testdocumentation' +filescheck = (, ) - def test_distribution_tags(): - oldpkg = get_tested_path('binary/mc-4.8.15-10.3.1.x86_64.rpm') - newpkg = get_tested_path('binary/mc-4.8.21-2.1.x86_64.rpm') - ignore = [] -> diff = Rpmdiff(oldpkg, newpkg, ignore) + @pytest.mark.parametrize('package', ['binary/testdocumentation']) + def test_file_not_utf8_for_compression_algorithms(tmp_path, package, filescheck): + output, test = filescheck +> test.check(get_tested_package(package, tmp_path)) -test/test_diff.py:10: +test/test_files.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -old = PosixPath('/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.15-10.3.1.x86_64.rpm') -new = PosixPath('/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.21-2.1.x86_64.rpm') -ignore = [], exclude = None +name = 'binary/testdocumentation' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw35/test_file_not_utf8_for_compres0') - def __init__(self, old, new, ignore=None, exclude=None): - self.result = [] - self.ignore = ignore or [] - self.exclude = exclude or [] - - FILEIDX = self.__FILEIDX - for tag in self.ignore: - for entry in FILEIDX: - if tag == entry[0]: - entry[1] = None - break - - try: - old = self.__load_pkg(old).header - new = self.__load_pkg(new).header - except KeyError as e: - print_warning(str(e)) -> sys.exit(2) -E SystemExit: 2 + def get_tested_package(name, testdir): + filename = Path(name).name + '-*.rpm' + candidates = list(get_tested_path(name).parent.glob(filename)) +> assert len(candidates) == 1 +E AssertionError -rpmlint/rpmdiff.py:59: SystemExit ------------------------------ Captured stderr call ----------------------------- -'No installed packages by name /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.15-10.3.1.x86_64.rpm' -_ test_zero_length_ignore[/usr/lib/python/__init__.py-False-binary/file-zero-length] _ -[gw12] linux -- Python 3.11.9 /usr/bin/python3.11 +test/Testing.py:54: AssertionError +_________________________ test_rust_files[binary/rust] _________________________ +[gw41] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw12/test_zero_length_ignore__usr_l1') -package = 'binary/file-zero-length' -filescheck = (, ) -filename = '/usr/lib/python/__init__.py', show = False +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw41/test_rust_files_binary_rust_0') +package = 'binary/rust' +filescheck = (, ) - @pytest.mark.parametrize('package', ['binary/file-zero-length']) - @pytest.mark.parametrize( - 'filename, show', - [('/usr/lib/emptyfile', True), - ('/usr/lib/nonemptyfile', False), - ('/etc/security/console.apps', False), - ('/usr/lib/.nosearch', False), - ('/usr/lib/python/__init__.py', False), - ('/usr/lib/python/py.typed', False), - ('/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED', False), - ('/usr/lib/ruby/gem.build_complete', False)]) - def test_zero_length_ignore(tmp_path, package, filescheck, filename, show): + @pytest.mark.parametrize('package', ['binary/rust']) + def test_rust_files(tmp_path, package, filescheck): output, test = filescheck -> pkg = get_tested_package(package, tmp_path) +> test.check(get_tested_package(package, tmp_path)) -test/test_files.py:245: +test/test_files.py:188: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/file-zero-length' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw12/test_zero_length_ignore__usr_l1') +name = 'binary/rust' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw41/test_rust_files_binary_rust_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2866,21 +2869,24 @@ E AssertionError test/Testing.py:54: AssertionError -_____________________________ test_filtered_output _____________________________ -[gw2] linux -- Python 3.11.9 /usr/bin/python3.11 +____________________ test_shared_library1[binary/libtest1] _____________________ +[gw15] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_filtered_output0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw15/test_shared_library1_binary_li0') +package = 'binary/libtest1' +binariescheck = (, ) - def test_filtered_output(tmp_path): - cfg = Config(TEST_CONFIG_FILTERS) - result = Filter(cfg) -> pkg = get_tested_package(TEST_PACKAGE, tmp_path) + @pytest.mark.parametrize('package', ['binary/libtest1']) + @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') + def test_shared_library1(tmp_path, package, binariescheck): + output, test = binariescheck +> test.check(get_tested_package(package, tmp_path)) -test/test_filter.py:160: +test/test_binaries.py:214: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = PosixPath('binary/ngircd') -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_filtered_output0') +name = 'binary/libtest1' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw15/test_shared_library1_binary_li0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2889,25 +2895,23 @@ E AssertionError test/Testing.py:54: AssertionError -_____ test_non_position_independent[binary/non-position-independent-exec] ______ +_______________ test_lto_bytecode[binary/libreiserfscore-devel] ________________ [gw7] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw7/test_non_position_independent_0') -package = 'binary/non-position-independent-exec' -binariescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw7/test_lto_bytecode_binary_libre0') +package = 'binary/libreiserfscore-devel' +binariescheck = (, ) - @pytest.mark.parametrize('package', ['binary/non-position-independent-exec']) - def test_non_position_independent(tmp_path, package, binariescheck): - CONFIG.configuration['PieExecutables'] = ['sparta', '.*hello'] - output = Filter(CONFIG) - test = BinariesCheck(CONFIG, output) + @pytest.mark.parametrize('package', ['binary/libreiserfscore-devel']) + def test_lto_bytecode(tmp_path, package, binariescheck): + output, test = binariescheck > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:189: +test/test_binaries.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/non-position-independent-exec' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw7/test_non_position_independent_0') +name = 'binary/libreiserfscore-devel' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw7/test_lto_bytecode_binary_libre0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2916,13 +2920,63 @@ E AssertionError test/Testing.py:54: AssertionError -___ test_zero_length_ignore[/usr/lib/emptyfile-True-binary/file-zero-length] ___ -[gw10] linux -- Python 3.11.9 /usr/bin/python3.11 +____________________ test_distribution_tags[binary/ngircd] _____________________ +[gw22] linux -- Python 3.11.9 /usr/bin/python3.11 + +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw22/test_distribution_tags_binary_0') +package = 'binary/ngircd' +filescheck = (, ) + + @pytest.mark.parametrize('package', ['binary/ngircd']) + def test_distribution_tags(tmp_path, package, filescheck): + output, test = filescheck +> test.check(get_tested_package(package, tmp_path)) + +test/test_files.py:197: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +name = 'binary/ngircd' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw22/test_distribution_tags_binary_0') + + def get_tested_package(name, testdir): + filename = Path(name).name + '-*.rpm' + candidates = list(get_tested_path(name).parent.glob(filename)) +> assert len(candidates) == 1 +E AssertionError + +test/Testing.py:54: AssertionError +____________________ test_shlib2_devel[binary/shlib2-devel] ____________________ +[gw17] linux -- Python 3.11.9 /usr/bin/python3.11 + +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw17/test_shlib2_devel_binary_shlib0') +package = 'binary/shlib2-devel' +libdependencycheck = (, ) + + @pytest.mark.parametrize('package', ['binary/shlib2-devel']) + def test_shlib2_devel(tmp_path, package, libdependencycheck): + output, test = libdependencycheck +> test.check(get_tested_package(package, tmp_path)) + +test/test_lib_dependency.py:19: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +name = 'binary/shlib2-devel' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw17/test_shlib2_devel_binary_shlib0') + + def get_tested_package(name, testdir): + filename = Path(name).name + '-*.rpm' + candidates = list(get_tested_path(name).parent.glob(filename)) +> assert len(candidates) == 1 +E AssertionError + +test/Testing.py:54: AssertionError +_ test_zero_length_ignore[/etc/security/console.apps-False-binary/file-zero-length] _ +[gw4] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw10/test_zero_length_ignore__usr_l0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw4/test_zero_length_ignore__etc_s0') package = 'binary/file-zero-length' -filescheck = (, ) -filename = '/usr/lib/emptyfile', show = True +filescheck = (, ) +filename = '/etc/security/console.apps', show = False @pytest.mark.parametrize('package', ['binary/file-zero-length']) @pytest.mark.parametrize( @@ -2943,7 +2997,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'binary/file-zero-length' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw10/test_zero_length_ignore__usr_l0') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw4/test_zero_length_ignore__etc_s0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2952,23 +3006,23 @@ E AssertionError test/Testing.py:54: AssertionError -_________________ test_invalid_la_file[binary/invalid-la-file] _________________ -[gw5] linux -- Python 3.11.9 /usr/bin/python3.11 +______ test_only_non_binary_in_usr_lib[binary/only-non-binary-in-usr-lib] ______ +[gw11] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw5/test_invalid_la_file_binary_in0') -package = 'binary/invalid-la-file' -binariescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw11/test_only_non_binary_in_usr_li0') +package = 'binary/only-non-binary-in-usr-lib' +binariescheck = (, ) - @pytest.mark.parametrize('package', ['binary/invalid-la-file']) - def test_invalid_la_file(tmp_path, package, binariescheck): + @pytest.mark.parametrize('package', ['binary/only-non-binary-in-usr-lib']) + def test_only_non_binary_in_usr_lib(tmp_path, package, binariescheck): output, test = binariescheck > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:153: +test/test_binaries.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/invalid-la-file' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw5/test_invalid_la_file_binary_in0') +name = 'binary/only-non-binary-in-usr-lib' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw11/test_only_non_binary_in_usr_li0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -2977,25 +3031,23 @@ E AssertionError test/Testing.py:54: AssertionError -______________________________ test_data_storing _______________________________ -[gw13] linux -- Python 3.11.9 /usr/bin/python3.11 +________________ test_sphinx_inv_files[binary/python3-greenlet] ________________ +[gw37] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw13/test_data_storing0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw37/test_sphinx_inv_files_binary_p0') +package = 'binary/python3-greenlet' +filescheck = (, ) - def test_data_storing(tmp_path): - """ - Load some filters and make sure we generate nice regexp - """ - cfg = Config(TEST_CONFIG_FILTERS) - cfg.load_rpmlintrc(TEST_RPMLINTRC) - result = Filter(cfg) -> pkg = get_tested_package(TEST_PACKAGE, tmp_path) + @pytest.mark.parametrize('package', ['binary/python3-greenlet']) + def test_sphinx_inv_files(tmp_path, package, filescheck): + output, test = filescheck +> test.check(get_tested_package(package, tmp_path)) -test/test_filter.py:32: +test/test_files.py:118: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = PosixPath('binary/ngircd') -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw13/test_data_storing0') +name = 'binary/python3-greenlet' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw37/test_sphinx_inv_files_binary_p0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3004,44 +3056,34 @@ E AssertionError test/Testing.py:54: AssertionError -___________________ test_pyc_mtime_from_chunk[36-1513659236] ___________________ -[gw18] linux -- Python 3.11.9 /usr/bin/python3.11 - -version = 36, mtime = 1513659236 - - @pytest.mark.parametrize('version, mtime', ((36, 1513659236), (37, 1519778958))) - def test_pyc_mtime_from_chunk(version, mtime): -> chunk = chunk_from_pyc(version) - -test/test_files.py:91: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -version = 36, size = 16 - - def chunk_from_pyc(version, size=16): - """Helper to get start of an example pyc file as bytes""" - path = get_tested_path(f'pyc/__future__.cpython-{version}.pyc') -> with open(path, 'rb') as f: -E FileNotFoundError: [Errno 2] No such file or directory: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/pyc/__future__.cpython-36.pyc' - -test/test_files.py:52: FileNotFoundError -_________________________ test_rust_files[binary/rust] _________________________ -[gw11] linux -- Python 3.11.9 /usr/bin/python3.11 +_ test_zero_length_ignore[/usr/lib/nonemptyfile-False-binary/file-zero-length] _ +[gw5] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw11/test_rust_files_binary_rust_0') -package = 'binary/rust' -filescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw5/test_zero_length_ignore__usr_l1') +package = 'binary/file-zero-length' +filescheck = (, ) +filename = '/usr/lib/nonemptyfile', show = False - @pytest.mark.parametrize('package', ['binary/rust']) - def test_rust_files(tmp_path, package, filescheck): + @pytest.mark.parametrize('package', ['binary/file-zero-length']) + @pytest.mark.parametrize( + 'filename, show', + [('/usr/lib/emptyfile', True), + ('/usr/lib/nonemptyfile', False), + ('/etc/security/console.apps', False), + ('/usr/lib/.nosearch', False), + ('/usr/lib/python/__init__.py', False), + ('/usr/lib/python/py.typed', False), + ('/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED', False), + ('/usr/lib/ruby/gem.build_complete', False)]) + def test_zero_length_ignore(tmp_path, package, filescheck, filename, show): output, test = filescheck -> test.check(get_tested_package(package, tmp_path)) +> pkg = get_tested_package(package, tmp_path) -test/test_files.py:188: +test/test_files.py:245: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/rust' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw11/test_rust_files_binary_rust_0') +name = 'binary/file-zero-length' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw5/test_zero_length_ignore__usr_l1') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3050,24 +3092,23 @@ E AssertionError test/Testing.py:54: AssertionError -______________________ test_build_root[binary/buildroot] _______________________ -[gw8] linux -- Python 3.11.9 /usr/bin/python3.11 +__________ test_update_alternative_borked[binary/alternatives-borked] __________ +[gw1] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw8/test_build_root_binary_buildro0') -package = 'binary/buildroot' -buildrootcheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw1/test_update_alternative_borked0') +package = 'binary/alternatives-borked' +alternativescheck = (, ) - @pytest.mark.parametrize('package', ['binary/buildroot']) - def test_build_root(tmp_path, package, buildrootcheck): - output, test = buildrootcheck - test.prepare_regex('/home/marxin/rpmbuild/BUILDROOT/%{NAME}-%{VERSION}-%{RELEASE}.x86_64') + @pytest.mark.parametrize('package', ['binary/alternatives-borked']) + def test_update_alternative_borked(tmp_path, package, alternativescheck): + output, test = alternativescheck > test.check(get_tested_package(package, tmp_path)) -test/test_build_root.py:20: +test/test_alternatives.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/buildroot' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw8/test_build_root_binary_buildro0') +name = 'binary/alternatives-borked' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw1/test_update_alternative_borked0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3076,13 +3117,31 @@ E AssertionError test/Testing.py:54: AssertionError -_ test_zero_length_ignore[/usr/lib/ruby/gem.build_complete-False-binary/file-zero-length] _ -[gw1] linux -- Python 3.11.9 /usr/bin/python3.11 +_____________________________ test_opt_dependency ______________________________ +[gw33] linux -- Python 3.11.9 /usr/bin/python3.11 + +binariescheck = (, ) + + @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') + def test_opt_dependency(binariescheck): + output, test = binariescheck + with FakePkg('fake') as pkg: + pkgfile = pkg.add_file(get_full_path('opt-dependency'), '/bin/opt-dependency') + run_elf_checks(test, pkg, pkgfile) +> assert not test.readelf_parser.parsing_failed_reason() +E assert not "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n" +E + where "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n" = >() +E + where > = .parsing_failed_reason +E + where = .readelf_parser -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_zero_length_ignore__usr_l0') +test/test_ldd_parser.py:94: AssertionError +_ test_zero_length_ignore[/usr/lib/python/py.typed-False-binary/file-zero-length] _ +[gw20] linux -- Python 3.11.9 /usr/bin/python3.11 + +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw20/test_zero_length_ignore__usr_l1') package = 'binary/file-zero-length' -filescheck = (, ) -filename = '/usr/lib/ruby/gem.build_complete', show = False +filescheck = (, ) +filename = '/usr/lib/python/py.typed', show = False @pytest.mark.parametrize('package', ['binary/file-zero-length']) @pytest.mark.parametrize( @@ -3103,7 +3162,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'binary/file-zero-length' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_zero_length_ignore__usr_l0') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw20/test_zero_length_ignore__usr_l1') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3113,11 +3172,11 @@ test/Testing.py:54: AssertionError _______________ test_not_valid_ldconfig_symlink[binary/libtest4] _______________ -[gw9] linux -- Python 3.11.9 /usr/bin/python3.11 +[gw16] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw9/test_not_valid_ldconfig_symlin0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw16/test_not_valid_ldconfig_symlin0') package = 'binary/libtest4' -binariescheck = (, ) +binariescheck = (, ) @pytest.mark.parametrize('package', ['binary/libtest4']) @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') @@ -3129,7 +3188,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'binary/libtest4' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw9/test_not_valid_ldconfig_symlin0') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw16/test_not_valid_ldconfig_symlin0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3138,109 +3197,76 @@ E AssertionError test/Testing.py:54: AssertionError -_________________________________ test_exclude _________________________________ -[gw14] linux -- Python 3.11.9 /usr/bin/python3.11 +______________________ test_LSB_compliance[binary/fPing] _______________________ +[gw0] linux -- Python 3.11.9 /usr/bin/python3.11 -self = -old = PosixPath('/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.15-10.3.1.x86_64.rpm') -new = PosixPath('/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.21-2.1.x86_64.rpm') -ignore = ['T', '5', 'S'], exclude = [] +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw0/test_LSB_compliance_binary_fPi0') +package = 'binary/fPing' +lsbcheck = (, ) - def __init__(self, old, new, ignore=None, exclude=None): - self.result = [] - self.ignore = ignore or [] - self.exclude = exclude or [] - - FILEIDX = self.__FILEIDX - for tag in self.ignore: - for entry in FILEIDX: - if tag == entry[0]: - entry[1] = None - break - - try: -> old = self.__load_pkg(old).header + @pytest.mark.parametrize('package', ['binary/fPing']) + def test_LSB_compliance(tmp_path, package, lsbcheck): + """ + Check that the package name, version and release number are LSB compliant. + """ + output, test = lsbcheck +> test.check(get_tested_package(package, tmp_path)) -rpmlint/rpmdiff.py:55: +test/test_LSB.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -name = PosixPath('/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.15-10.3.1.x86_64.rpm') +name = 'binary/fPing' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw0/test_LSB_compliance_binary_fPi0') - def __load_pkg(self, name): - # FIXME: redo to try file/installed and proceed based on that, or pick - # one of the selected first - tmpdir = tempfile.gettempdir() - with contextlib.suppress(TypeError): - if name.is_file(): - return Pkg(name, tmpdir) - inst = get_installed_pkgs(str(name)) - if not inst: -> raise KeyError(f'No installed packages by name {name}') -E KeyError: 'No installed packages by name /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.15-10.3.1.x86_64.rpm' + def get_tested_package(name, testdir): + filename = Path(name).name + '-*.rpm' + candidates = list(get_tested_path(name).parent.glob(filename)) +> assert len(candidates) == 1 +E AssertionError -rpmlint/rpmdiff.py:142: KeyError +test/Testing.py:54: AssertionError +_____________________________ test_filtered_output _____________________________ +[gw25] linux -- Python 3.11.9 /usr/bin/python3.11 -During handling of the above exception, another exception occurred: +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw25/test_filtered_output0') - def test_exclude(): - oldpkg = get_tested_path('binary/mc-4.8.15-10.3.1.x86_64.rpm') - newpkg = get_tested_path('binary/mc-4.8.21-2.1.x86_64.rpm') - ignore = list('T5S') - - # print(Rpmdiff(oldpkg, newpkg, ignore=ignore).textdiff()) - - for exclude in [], ['/usr/share/mc/ski'], ['/share/mc/skins'], ['skins']: -> diff = Rpmdiff(oldpkg, newpkg, ignore, exclude) + def test_filtered_output(tmp_path): + cfg = Config(TEST_CONFIG_FILTERS) + result = Filter(cfg) +> pkg = get_tested_package(TEST_PACKAGE, tmp_path) -test/test_diff.py:33: +test/test_filter.py:160: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -old = PosixPath('/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.15-10.3.1.x86_64.rpm') -new = PosixPath('/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.21-2.1.x86_64.rpm') -ignore = ['T', '5', 'S'], exclude = [] +name = PosixPath('binary/ngircd') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw25/test_filtered_output0') - def __init__(self, old, new, ignore=None, exclude=None): - self.result = [] - self.ignore = ignore or [] - self.exclude = exclude or [] - - FILEIDX = self.__FILEIDX - for tag in self.ignore: - for entry in FILEIDX: - if tag == entry[0]: - entry[1] = None - break - - try: - old = self.__load_pkg(old).header - new = self.__load_pkg(new).header - except KeyError as e: - print_warning(str(e)) -> sys.exit(2) -E SystemExit: 2 + def get_tested_package(name, testdir): + filename = Path(name).name + '-*.rpm' + candidates = list(get_tested_path(name).parent.glob(filename)) +> assert len(candidates) == 1 +E AssertionError -rpmlint/rpmdiff.py:59: SystemExit ------------------------------ Captured stderr call ----------------------------- -'No installed packages by name /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.15-10.3.1.x86_64.rpm' -___________________ test_invalid_package[binary/filechecks] ____________________ -[gw19] linux -- Python 3.11.9 /usr/bin/python3.11 +test/Testing.py:54: AssertionError +_____ test_non_position_independent[binary/non-position-independent-exec] ______ +[gw14] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw19/test_invalid_package_binary_fi0') -package = 'binary/filechecks' -filescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw14/test_non_position_independent_0') +package = 'binary/non-position-independent-exec' +binariescheck = (, ) - @pytest.mark.parametrize('package', ['binary/filechecks']) - def test_invalid_package(tmp_path, package, filescheck): - output, test = filescheck + @pytest.mark.parametrize('package', ['binary/non-position-independent-exec']) + def test_non_position_independent(tmp_path, package, binariescheck): + CONFIG.configuration['PieExecutables'] = ['sparta', '.*hello'] + output = Filter(CONFIG) + test = BinariesCheck(CONFIG, output) > test.check(get_tested_package(package, tmp_path)) -test/test_files.py:125: +test/test_binaries.py:189: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/filechecks' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw19/test_invalid_package_binary_fi0') +name = 'binary/non-position-independent-exec' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw14/test_non_position_independent_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3249,34 +3275,23 @@ E AssertionError test/Testing.py:54: AssertionError -_ test_zero_length_ignore[/usr/lib/python/py.typed-False-binary/file-zero-length] _ -[gw12] linux -- Python 3.11.9 /usr/bin/python3.11 +_________________ test_waived_forbidden_c_calls[binary/ngircd] _________________ +[gw6] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw12/test_zero_length_ignore__usr_l2') -package = 'binary/file-zero-length' -filescheck = (, ) -filename = '/usr/lib/python/py.typed', show = False +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw6/test_waived_forbidden_c_calls_0') +package = 'binary/ngircd' +binariescheck = (, ) - @pytest.mark.parametrize('package', ['binary/file-zero-length']) - @pytest.mark.parametrize( - 'filename, show', - [('/usr/lib/emptyfile', True), - ('/usr/lib/nonemptyfile', False), - ('/etc/security/console.apps', False), - ('/usr/lib/.nosearch', False), - ('/usr/lib/python/__init__.py', False), - ('/usr/lib/python/py.typed', False), - ('/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED', False), - ('/usr/lib/ruby/gem.build_complete', False)]) - def test_zero_length_ignore(tmp_path, package, filescheck, filename, show): - output, test = filescheck -> pkg = get_tested_package(package, tmp_path) + @pytest.mark.parametrize('package', ['binary/ngircd']) + def test_waived_forbidden_c_calls(tmp_path, package, binariescheck): + output, test = binariescheck +> test.check(get_tested_package(package, tmp_path)) -test/test_files.py:245: +test/test_binaries.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/file-zero-length' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw12/test_zero_length_ignore__usr_l2') +name = 'binary/ngircd' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw6/test_waived_forbidden_c_calls_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3285,23 +3300,23 @@ E AssertionError test/Testing.py:54: AssertionError -_______________ test_python_bytecode_magic[binary/python3-power] _______________ -[gw17] linux -- Python 3.11.9 /usr/bin/python3.11 +____________________ test_shlib2_devel[binary/shlib2-devel] ____________________ +[gw24] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw17/test_python_bytecode_magic_bin0') -package = 'binary/python3-power' -filescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw24/test_shlib2_devel_binary_shlib0') +package = 'binary/shlib2-devel' +filescheck = (, ) - @pytest.mark.parametrize('package', ['binary/python3-power']) - def test_python_bytecode_magic(tmp_path, package, filescheck): + @pytest.mark.parametrize('package', ['binary/shlib2-devel']) + def test_shlib2_devel(tmp_path, package, filescheck): output, test = filescheck > test.check(get_tested_package(package, tmp_path)) -test/test_files.py:67: +test/test_files.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/python3-power' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw17/test_python_bytecode_magic_bin0') +name = 'binary/shlib2-devel' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw24/test_shlib2_devel_binary_shlib0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3310,23 +3325,34 @@ E AssertionError test/Testing.py:54: AssertionError -______ test_only_non_binary_in_usr_lib[binary/only-non-binary-in-usr-lib] ______ -[gw6] linux -- Python 3.11.9 /usr/bin/python3.11 +____________________________ test_unused_dependency ____________________________ +[gw36] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw6/test_only_non_binary_in_usr_li0') -package = 'binary/only-non-binary-in-usr-lib' -binariescheck = (, ) + @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') + def test_unused_dependency(): + ldd = lddparser('libtirpc.so.3.0.0') +> assert not ldd.parsing_failed_reason +E AssertionError: assert not 'ldd: /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0: No such file or directory\n' +E + where 'ldd: /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0: No such file or directory\n' = .parsing_failed_reason - @pytest.mark.parametrize('package', ['binary/only-non-binary-in-usr-lib']) - def test_only_non_binary_in_usr_lib(tmp_path, package, binariescheck): - output, test = binariescheck +test/test_ldd_parser.py:38: AssertionError +__________ test_update_alternatives_correctness[binary/python39-evtx] __________ +[gw2] linux -- Python 3.11.9 /usr/bin/python3.11 + +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw2/test_update_alternatives_corre0') +package = 'binary/python39-evtx' +alternativescheck = (, ) + + @pytest.mark.parametrize('package', ['binary/python39-evtx']) + def test_update_alternatives_correctness(tmp_path, package, alternativescheck): + output, test = alternativescheck > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:112: +test/test_alternatives.py:56: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/only-non-binary-in-usr-lib' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw6/test_only_non_binary_in_usr_li0') +name = 'binary/python39-evtx' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw2/test_update_alternatives_corre0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3335,34 +3361,23 @@ E AssertionError test/Testing.py:54: AssertionError -_ test_zero_length_ignore[/usr/lib/nonemptyfile-False-binary/file-zero-length] _ -[gw10] linux -- Python 3.11.9 /usr/bin/python3.11 +________________________ test_icon_sizes[binary/tasque] ________________________ +[gw39] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw10/test_zero_length_ignore__usr_l1') -package = 'binary/file-zero-length' -filescheck = (, ) -filename = '/usr/lib/nonemptyfile', show = False +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw39/test_icon_sizes_binary_tasque_0') +package = 'binary/tasque' +iconsizescheck = (, ) - @pytest.mark.parametrize('package', ['binary/file-zero-length']) - @pytest.mark.parametrize( - 'filename, show', - [('/usr/lib/emptyfile', True), - ('/usr/lib/nonemptyfile', False), - ('/etc/security/console.apps', False), - ('/usr/lib/.nosearch', False), - ('/usr/lib/python/__init__.py', False), - ('/usr/lib/python/py.typed', False), - ('/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED', False), - ('/usr/lib/ruby/gem.build_complete', False)]) - def test_zero_length_ignore(tmp_path, package, filescheck, filename, show): - output, test = filescheck -> pkg = get_tested_package(package, tmp_path) + @pytest.mark.parametrize('package', ['binary/tasque']) + def test_icon_sizes(tmp_path, package, iconsizescheck): + output, test = iconsizescheck +> test.check(get_tested_package(package, tmp_path)) -test/test_files.py:245: +test/test_icon_sizes.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/file-zero-length' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw10/test_zero_length_ignore__usr_l1') +name = 'binary/tasque' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw39/test_icon_sizes_binary_tasque_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3371,30 +3386,35 @@ E AssertionError test/Testing.py:54: AssertionError -___________________________ test_description_storing ___________________________ -[gw13] linux -- Python 3.11.9 /usr/bin/python3.11 +_________________________________ test_output __________________________________ +[gw27] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw13/test_description_storing0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw27/test_output0') - def test_description_storing(tmp_path): + def test_output(tmp_path): """ - Test if we can store extra destcriptions and formatting is up par + Test the actual output of rpmlint on one file """ - lorem_formated = """Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor + expected_output = """ngircd.x86_64: I: suse-other-error /usr/bin/1 + ngircd.x86_64: I: suse-other-error /usr/bin/2 + tempfiled.x86_64: E: suse-other-error /usr/bin/3 + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt - in culpa qui officia deserunt mollit anim id est laborum.\n\n""" + in culpa qui officia deserunt mollit anim id est laborum. + + ngircd.x86_64: E: suse-dbus-unauthorized-service\n""" cfg = Config(TEST_CONFIG_FILTERS) result = Filter(cfg) > pkg = get_tested_package(TEST_PACKAGE, tmp_path) -test/test_filter.py:71: +test/test_filter.py:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = PosixPath('binary/ngircd') -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw13/test_description_storing0') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw27/test_output0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3403,23 +3423,41 @@ E AssertionError test/Testing.py:54: AssertionError -__________ test_libalternative_borked[binary/libalternatives-borked] ___________ -[gw0] linux -- Python 3.11.9 /usr/bin/python3.11 +______________________ test_unused_dependency_in_package _______________________ +[gw38] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_libalternative_borked_bin0') -package = 'binary/libalternatives-borked' -alternativescheck = (, ) +binariescheck = (, ) - @pytest.mark.parametrize('package', ['binary/libalternatives-borked']) - def test_libalternative_borked(tmp_path, package, alternativescheck): - output, test = alternativescheck + @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') + def test_unused_dependency_in_package(binariescheck): + output, test = binariescheck + with FakePkg('fake') as pkg: + pkgfile = pkg.add_file(get_full_path('libtirpc.so.3.0.0'), '/lib64/x.so') + run_elf_checks(test, pkg, pkgfile) +> assert not test.readelf_parser.parsing_failed_reason() +E assert not "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n" +E + where "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n" = >() +E + where > = .parsing_failed_reason +E + where = .readelf_parser + +test/test_ldd_parser.py:70: AssertionError +_________________ test_missing_depency_on[binary/xrootd-devel] _________________ +[gw17] linux -- Python 3.11.9 /usr/bin/python3.11 + +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw17/test_missing_depency_on_binary0') +package = 'binary/xrootd-devel' +libdependencycheck = (, ) + + @pytest.mark.parametrize('package', ['binary/xrootd-devel']) + def test_missing_depency_on(tmp_path, package, libdependencycheck): + output, test = libdependencycheck > test.check(get_tested_package(package, tmp_path)) -test/test_alternatives.py:79: +test/test_lib_dependency.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/libalternatives-borked' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_libalternative_borked_bin0') +name = 'binary/xrootd-devel' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw17/test_missing_depency_on_binary0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3428,23 +3466,51 @@ E AssertionError test/Testing.py:54: AssertionError -_______________ test_lto_bytecode[binary/libreiserfscore-devel] ________________ -[gw3] linux -- Python 3.11.9 /usr/bin/python3.11 +________________ test_explain_known_warn_on_function[configs1] _________________ +[gw31] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw3/test_lto_bytecode_binary_libre0') -package = 'binary/libreiserfscore-devel' -binariescheck = (, ) +capsys = <_pytest.capture.CaptureFixture object at 0x7fa3da7d4d10> +configs = (PosixPath('configs/Fedora/scoring.toml'), True) - @pytest.mark.parametrize('package', ['binary/libreiserfscore-devel']) - def test_lto_bytecode(tmp_path, package, binariescheck): + @pytest.mark.parametrize('configs', [ + # Message defined in configs/Fedora/warn-on-functions.toml + (Path('configs/Fedora/warn-on-functions.toml'), False), + (Path('configs/Fedora/scoring.toml'), True), + ]) + def test_explain_known_warn_on_function(capsys, configs): + extraconfig, unknown = configs + message = ['crypto-policy-non-compliance-openssl'] + additional_options = { + 'explain': message, + 'config': [extraconfig], + } + options = {**options_preset, **additional_options} + linter = Lint(options) + linter.run() + out, err = capsys.readouterr() + + assert ('Unknown message' in out) == unknown +> assert not err +E AssertionError: assert not '(none): W: error locating user requested configuration: configs/Fedora/scoring.toml\n' + +test/test_lint.py:146: AssertionError +__________________ test_shlib_with_no_exec[binary/libnoexec] ___________________ +[gw9] linux -- Python 3.11.9 /usr/bin/python3.11 + +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw9/test_shlib_with_no_exec_binary0') +package = 'binary/libnoexec' +binariescheck = (, ) + + @pytest.mark.parametrize('package', ['binary/libnoexec']) + def test_shlib_with_no_exec(tmp_path, package, binariescheck): output, test = binariescheck > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:37: +test/test_binaries.py:83: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/libreiserfscore-devel' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw3/test_lto_bytecode_binary_libre0') +name = 'binary/libnoexec' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw9/test_shlib_with_no_exec_binary0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3453,23 +3519,23 @@ E AssertionError test/Testing.py:54: AssertionError -__________________ test_shlib_with_no_exec[binary/libnoexec] ___________________ -[gw4] linux -- Python 3.11.9 /usr/bin/python3.11 +________________ test_doc_file_dep[binary/doc-file-dependency] _________________ +[gw30] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw4/test_shlib_with_no_exec_binary0') -package = 'binary/libnoexec' -binariescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw30/test_doc_file_dep_binary_doc_f0') +package = 'binary/doc-file-dependency' +doccheck = (, ) - @pytest.mark.parametrize('package', ['binary/libnoexec']) - def test_shlib_with_no_exec(tmp_path, package, binariescheck): - output, test = binariescheck + @pytest.mark.parametrize('package', ['binary/doc-file-dependency']) + def test_doc_file_dep(tmp_path, package, doccheck): + output, test = doccheck > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:83: +test/test_doc.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/libnoexec' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw4/test_shlib_with_no_exec_binary0') +name = 'binary/doc-file-dependency' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw30/test_doc_file_dep_binary_doc_f0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3478,23 +3544,23 @@ E AssertionError test/Testing.py:54: AssertionError -____________________ test_manual_pages[binary/manual-pages] ____________________ -[gw1] linux -- Python 3.11.9 /usr/bin/python3.11 +______________ test_libalternative_ok[binary/libalternatives-ok] _______________ +[gw3] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_manual_pages_binary_manua0') -package = 'binary/manual-pages' -filescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw3/test_libalternative_ok_binary_0') +package = 'binary/libalternatives-ok' +alternativescheck = (, ) - @pytest.mark.parametrize('package', ['binary/manual-pages']) - def test_manual_pages(tmp_path, package, filescheck): - output, test = filescheck + @pytest.mark.parametrize('package', ['binary/libalternatives-ok']) + def test_libalternative_ok(tmp_path, package, alternativescheck): + output, test = alternativescheck > test.check(get_tested_package(package, tmp_path)) -test/test_files.py:255: +test/test_alternatives.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/manual-pages' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_manual_pages_binary_manua0') +name = 'binary/libalternatives-ok' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw3/test_libalternative_ok_binary_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3503,22 +3569,34 @@ E AssertionError test/Testing.py:54: AssertionError -_____________________________ test_blocked_filters _____________________________ -[gw2] linux -- Python 3.11.9 /usr/bin/python3.11 +_ test_zero_length_ignore[/usr/lib/ruby/gem.build_complete-False-binary/file-zero-length] _ +[gw21] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_blocked_filters0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw21/test_zero_length_ignore__usr_l1') +package = 'binary/file-zero-length' +filescheck = (, ) +filename = '/usr/lib/ruby/gem.build_complete', show = False - def test_blocked_filters(tmp_path): - key = 'fatal-error' - cfg = Config(TEST_CONFIG_FILTERS) - result = Filter(cfg) -> pkg = get_tested_package(TEST_PACKAGE, tmp_path) + @pytest.mark.parametrize('package', ['binary/file-zero-length']) + @pytest.mark.parametrize( + 'filename, show', + [('/usr/lib/emptyfile', True), + ('/usr/lib/nonemptyfile', False), + ('/etc/security/console.apps', False), + ('/usr/lib/.nosearch', False), + ('/usr/lib/python/__init__.py', False), + ('/usr/lib/python/py.typed', False), + ('/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED', False), + ('/usr/lib/ruby/gem.build_complete', False)]) + def test_zero_length_ignore(tmp_path, package, filescheck, filename, show): + output, test = filescheck +> pkg = get_tested_package(package, tmp_path) -test/test_filter.py:173: +test/test_files.py:245: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = PosixPath('binary/ngircd') -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_blocked_filters0') +name = 'binary/file-zero-length' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw21/test_zero_length_ignore__usr_l1') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3527,23 +3605,23 @@ E AssertionError test/Testing.py:54: AssertionError -____________________ test_distribution_tags[binary/ngircd] _____________________ -[gw11] linux -- Python 3.11.9 /usr/bin/python3.11 +___________________ test_provides_devel[binary/development] ____________________ +[gw22] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw11/test_distribution_tags_binary_0') -package = 'binary/ngircd' -filescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw22/test_provides_devel_binary_dev0') +package = 'binary/development' +filescheck = (, ) - @pytest.mark.parametrize('package', ['binary/ngircd']) - def test_distribution_tags(tmp_path, package, filescheck): + @pytest.mark.parametrize('package', ['binary/development']) + def test_provides_devel(tmp_path, package, filescheck): output, test = filescheck > test.check(get_tested_package(package, tmp_path)) -test/test_files.py:197: +test/test_files.py:207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/ngircd' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw11/test_distribution_tags_binary_0') +name = 'binary/development' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw22/test_provides_devel_binary_dev0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3552,24 +3630,48 @@ E AssertionError test/Testing.py:54: AssertionError -_________________ test_multiple_errors[binary/multiple_errors] _________________ -[gw9] linux -- Python 3.11.9 /usr/bin/python3.11 +____________ test_pkg_config_correct[binary/libreiserfscore-devel] _____________ +[gw37] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw9/test_multiple_errors_binary_mu0') -package = 'binary/multiple_errors' -binariescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw37/test_pkg_config_correct_binary0') +package = 'binary/libreiserfscore-devel' +pkgconfigcheck = (, ) - @pytest.mark.parametrize('package', ['binary/multiple_errors']) - @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_multiple_errors(tmp_path, package, binariescheck): + @pytest.mark.parametrize('package', ['binary/libreiserfscore-devel']) + def test_pkg_config_correct(tmp_path, package, pkgconfigcheck): + output, test = pkgconfigcheck +> test.check(get_tested_package(package, tmp_path)) + +test/test_pkgconfig.py:29: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +name = 'binary/libreiserfscore-devel' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw37/test_pkg_config_correct_binary0') + + def get_tested_package(name, testdir): + filename = Path(name).name + '-*.rpm' + candidates = list(get_tested_path(name).parent.glob(filename)) +> assert len(candidates) == 1 +E AssertionError + +test/Testing.py:54: AssertionError +_________________ test_invalid_la_file[binary/invalid-la-file] _________________ +[gw12] linux -- Python 3.11.9 /usr/bin/python3.11 + +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw12/test_invalid_la_file_binary_in0') +package = 'binary/invalid-la-file' +binariescheck = (, ) + + @pytest.mark.parametrize('package', ['binary/invalid-la-file']) + def test_invalid_la_file(tmp_path, package, binariescheck): output, test = binariescheck > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:267: +test/test_binaries.py:153: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/multiple_errors' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw9/test_multiple_errors_binary_mu0') +name = 'binary/invalid-la-file' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw12/test_invalid_la_file_binary_in0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3578,24 +3680,23 @@ E AssertionError test/Testing.py:54: AssertionError -_________________________ test_library[binary/libtest] _________________________ -[gw7] linux -- Python 3.11.9 /usr/bin/python3.11 +_________________ test_libtool_wrapper[binary/libtool-wrapper] _________________ +[gw8] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw7/test_library_binary_libtest_0') -package = 'binary/libtest' -binariescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw8/test_libtool_wrapper_binary_li0') +package = 'binary/libtool-wrapper' +binariescheck = (, ) - @pytest.mark.parametrize('package', ['binary/libtest']) - @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_library(tmp_path, package, binariescheck): + @pytest.mark.parametrize('package', ['binary/libtool-wrapper']) + def test_libtool_wrapper(tmp_path, package, binariescheck): output, test = binariescheck > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:201: +test/test_binaries.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/libtest' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw7/test_library_binary_libtest_0') +name = 'binary/libtool-wrapper' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw8/test_libtool_wrapper_binary_li0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3604,23 +3705,24 @@ E AssertionError test/Testing.py:54: AssertionError -___________________ test_binary_in_etc[binary/binary-in-etc] ___________________ -[gw5] linux -- Python 3.11.9 /usr/bin/python3.11 +____________________ test_shared_library2[binary/libtest2] _____________________ +[gw15] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw5/test_binary_in_etc_binary_bina0') -package = 'binary/binary-in-etc' -binariescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw15/test_shared_library2_binary_li0') +package = 'binary/libtest2' +binariescheck = (, ) - @pytest.mark.parametrize('package', ['binary/binary-in-etc']) - def test_binary_in_etc(tmp_path, package, binariescheck): + @pytest.mark.parametrize('package', ['binary/libtest2']) + @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') + def test_shared_library2(tmp_path, package, binariescheck): output, test = binariescheck > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:163: +test/test_binaries.py:226: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/binary-in-etc' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw5/test_binary_in_etc_binary_bina0') +name = 'binary/libtest2' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw15/test_shared_library2_binary_li0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3629,23 +3731,23 @@ E AssertionError test/Testing.py:54: AssertionError -_________________________ test_doccheck[binary/mydoc] __________________________ -[gw14] linux -- Python 3.11.9 /usr/bin/python3.11 +_____________________ test_tcl_package[binary/tclpackage] ______________________ +[gw40] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw14/test_doccheck_binary_mydoc_0') -package = 'binary/mydoc' -doccheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw40/test_tcl_package_binary_tclpac0') +package = 'binary/tclpackage' +filescheck = (, ) - @pytest.mark.parametrize('package', ['binary/mydoc']) - def test_doccheck(tmp_path, package, doccheck): - output, test = doccheck + @pytest.mark.parametrize('package', ['binary/tclpackage']) + def test_tcl_package(tmp_path, package, filescheck): + output, test = filescheck > test.check(get_tested_package(package, tmp_path)) -test/test_doc.py:19: +test/test_files.py:143: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/mydoc' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw14/test_doccheck_binary_mydoc_0') +name = 'binary/tclpackage' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw40/test_tcl_package_binary_tclpac0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3654,100 +3756,154 @@ E AssertionError test/Testing.py:54: AssertionError -___________________ test_pyc_mtime_from_chunk[37-1519778958] ___________________ -[gw18] linux -- Python 3.11.9 /usr/bin/python3.11 +____________________ test_lto_archive_text[binary/lto-text] ____________________ +[gw7] linux -- Python 3.11.9 /usr/bin/python3.11 -version = 37, mtime = 1519778958 +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw7/test_lto_archive_text_binary_l0') +package = 'binary/lto-text' +binariescheck = (, ) - @pytest.mark.parametrize('version, mtime', ((36, 1513659236), (37, 1519778958))) - def test_pyc_mtime_from_chunk(version, mtime): + @pytest.mark.parametrize('package', ['binary/lto-text']) + def test_lto_archive_text(tmp_path, package, binariescheck): + output, test = binariescheck +> test.check(get_tested_package(package, tmp_path)) + +test/test_binaries.py:45: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +name = 'binary/lto-text' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw7/test_lto_archive_text_binary_l0') + + def get_tested_package(name, testdir): + filename = Path(name).name + '-*.rpm' + candidates = list(get_tested_path(name).parent.glob(filename)) +> assert len(candidates) == 1 +E AssertionError + +test/Testing.py:54: AssertionError +______________________ test_pyc_magic_from_chunk[36-3379] ______________________ +[gw35] linux -- Python 3.11.9 /usr/bin/python3.11 + +version = 36, magic = 3379 + + @pytest.mark.parametrize('version, magic', ((36, 3379), (37, 3393))) + def test_pyc_magic_from_chunk(version, magic): > chunk = chunk_from_pyc(version) -test/test_files.py:91: +test/test_files.py:85: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -version = 37, size = 16 +version = 36, size = 16 def chunk_from_pyc(version, size=16): """Helper to get start of an example pyc file as bytes""" path = get_tested_path(f'pyc/__future__.cpython-{version}.pyc') > with open(path, 'rb') as f: -E FileNotFoundError: [Errno 2] No such file or directory: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/pyc/__future__.cpython-37.pyc' +E FileNotFoundError: [Errno 2] No such file or directory: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/pyc/__future__.cpython-36.pyc' test/test_files.py:52: FileNotFoundError -_____________________________ test_opt_dependency ______________________________ -[gw10] linux -- Python 3.11.9 /usr/bin/python3.11 +________________________ test_executable_stack_package _________________________ +[gw26] linux -- Python 3.11.9 /usr/bin/python3.11 -binariescheck = (, ) +binariescheck = (, ) @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_opt_dependency(binariescheck): + def test_executable_stack_package(binariescheck): output, test = binariescheck + with FakePkg('fake') as pkg: - pkgfile = pkg.add_file(get_full_path('opt-dependency'), '/bin/opt-dependency') - run_elf_checks(test, pkg, pkgfile) -> assert not test.readelf_parser.parsing_failed_reason() -E assert not "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n" -E + where "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/opt-dependency': No such file\n" = >() -E + where > = .parsing_failed_reason -E + where = .readelf_parser + pkgfile = pkg.add_file(get_full_path('executable-stack'), 'a.out') + run_elf_checks(test, FakePkg('fake'), pkgfile) + out = output.print_results(output.results) + + if 'ldd-failed' in out: + pytest.skip("ldd failed, maybe it's a different architecture") + +> assert 'W: missing-mandatory-optflags a.out -fno-PIE -g -Ofast' in out +E assert 'W: missing-mandatory-optflags a.out -fno-PIE -g -Ofast' in "fake: E: readelf-failed a.out readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" -test/test_ldd_parser.py:94: AssertionError +test/test_objdump_parser.py:58: AssertionError +__ test_zero_length_ignore[/usr/lib/.nosearch-False-binary/file-zero-length] ___ +[gw4] linux -- Python 3.11.9 /usr/bin/python3.11 + +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw4/test_zero_length_ignore__usr_l0') +package = 'binary/file-zero-length' +filescheck = (, ) +filename = '/usr/lib/.nosearch', show = False + + @pytest.mark.parametrize('package', ['binary/file-zero-length']) + @pytest.mark.parametrize( + 'filename, show', + [('/usr/lib/emptyfile', True), + ('/usr/lib/nonemptyfile', False), + ('/etc/security/console.apps', False), + ('/usr/lib/.nosearch', False), + ('/usr/lib/python/__init__.py', False), + ('/usr/lib/python/py.typed', False), + ('/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED', False), + ('/usr/lib/ruby/gem.build_complete', False)]) + def test_zero_length_ignore(tmp_path, package, filescheck, filename, show): + output, test = filescheck +> pkg = get_tested_package(package, tmp_path) + +test/test_files.py:245: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +name = 'binary/file-zero-length' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw4/test_zero_length_ignore__usr_l0') + + def get_tested_package(name, testdir): + filename = Path(name).name + '-*.rpm' + candidates = list(get_tested_path(name).parent.glob(filename)) +> assert len(candidates) == 1 +E AssertionError + +test/Testing.py:54: AssertionError ____________________________ test_undefined_symbol _____________________________ -[gw0] linux -- Python 3.11.9 /usr/bin/python3.11 +[gw36] linux -- Python 3.11.9 /usr/bin/python3.11 @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') def test_undefined_symbol(): ldd = lddparser('libtirpc.so.3.0.0') > assert not ldd.parsing_failed_reason E AssertionError: assert not 'ldd: /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0: No such file or directory\n' -E + where 'ldd: /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0: No such file or directory\n' = .parsing_failed_reason +E + where 'ldd: /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0: No such file or directory\n' = .parsing_failed_reason test/test_ldd_parser.py:46: AssertionError -________________ test_explain_known_warn_on_function[configs0] _________________ -[gw4] linux -- Python 3.11.9 /usr/bin/python3.11 +_____________________________ test_usr_dependency ______________________________ +[gw33] linux -- Python 3.11.9 /usr/bin/python3.11 -capsys = <_pytest.capture.CaptureFixture object at 0x7fb155c15010> -configs = (PosixPath('configs/Fedora/warn-on-functions.toml'), False) +binariescheck = (, ) - @pytest.mark.parametrize('configs', [ - # Message defined in configs/Fedora/warn-on-functions.toml - (Path('configs/Fedora/warn-on-functions.toml'), False), - (Path('configs/Fedora/scoring.toml'), True), - ]) - def test_explain_known_warn_on_function(capsys, configs): - extraconfig, unknown = configs - message = ['crypto-policy-non-compliance-openssl'] - additional_options = { - 'explain': message, - 'config': [extraconfig], - } - options = {**options_preset, **additional_options} - linter = Lint(options) - linter.run() - out, err = capsys.readouterr() - -> assert ('Unknown message' in out) == unknown -E AssertionError: assert ('Unknown message' in 'crypto-policy-non-compliance-openssl:\nUnknown message, please report a bug if the description should be present.\n\n\n') == False + @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') + def test_usr_dependency(binariescheck): + output, test = binariescheck + with FakePkg('fake') as pkg: + pkgfile = pkg.add_file(get_full_path('usr-dependency'), '/bin/usr-dependency') + run_elf_checks(test, pkg, pkgfile) +> assert not test.readelf_parser.parsing_failed_reason() +E assert not "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n" +E + where "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n" = >() +E + where > = .parsing_failed_reason +E + where = .readelf_parser -test/test_lint.py:145: AssertionError -___ test_file_not_utf8_for_compression_algorithms[binary/testdocumentation] ____ -[gw17] linux -- Python 3.11.9 /usr/bin/python3.11 +test/test_ldd_parser.py:106: AssertionError +_____________________________ test_blocked_filters _____________________________ +[gw25] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw17/test_file_not_utf8_for_compres0') -package = 'binary/testdocumentation' -filescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw25/test_blocked_filters0') - @pytest.mark.parametrize('package', ['binary/testdocumentation']) - def test_file_not_utf8_for_compression_algorithms(tmp_path, package, filescheck): - output, test = filescheck -> test.check(get_tested_package(package, tmp_path)) + def test_blocked_filters(tmp_path): + key = 'fatal-error' + cfg = Config(TEST_CONFIG_FILTERS) + result = Filter(cfg) +> pkg = get_tested_package(TEST_PACKAGE, tmp_path) -test/test_files.py:76: +test/test_filter.py:173: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/testdocumentation' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw17/test_file_not_utf8_for_compres0') +name = PosixPath('binary/ngircd') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw25/test_blocked_filters0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3756,24 +3912,24 @@ E AssertionError test/Testing.py:54: AssertionError -____________________ test_shared_library1[binary/libtest1] _____________________ -[gw7] linux -- Python 3.11.9 /usr/bin/python3.11 +_________________________ test_library[binary/libtest] _________________________ +[gw14] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw7/test_shared_library1_binary_li0') -package = 'binary/libtest1' -binariescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw14/test_library_binary_libtest_0') +package = 'binary/libtest' +binariescheck = (, ) - @pytest.mark.parametrize('package', ['binary/libtest1']) + @pytest.mark.parametrize('package', ['binary/libtest']) @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_shared_library1(tmp_path, package, binariescheck): + def test_library(tmp_path, package, binariescheck): output, test = binariescheck > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:214: +test/test_binaries.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/libtest1' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw7/test_shared_library1_binary_li0') +name = 'binary/libtest' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw14/test_library_binary_libtest_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3782,23 +3938,26 @@ E AssertionError test/Testing.py:54: AssertionError -____________________ test_lto_archive_text[binary/lto-text] ____________________ -[gw3] linux -- Python 3.11.9 /usr/bin/python3.11 +___ test_non_position_independent_sugg[binary/non-position-independent-exec] ___ +[gw13] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw3/test_lto_archive_text_binary_l0') -package = 'binary/lto-text' -binariescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw13/test_non_position_independent_0') +package = 'binary/non-position-independent-exec' +binariescheck = (, ) - @pytest.mark.parametrize('package', ['binary/lto-text']) - def test_lto_archive_text(tmp_path, package, binariescheck): - output, test = binariescheck + @pytest.mark.parametrize('package', ['binary/non-position-independent-exec']) + def test_non_position_independent_sugg(tmp_path, package, binariescheck): + # reset PieExecutable option + CONFIG.configuration['PieExecutables'] = [] + output = Filter(CONFIG) + test = BinariesCheck(CONFIG, output) > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:45: +test/test_binaries.py:176: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/lto-text' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw3/test_lto_archive_text_binary_l0') +name = 'binary/non-position-independent-exec' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw13/test_non_position_independent_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3807,23 +3966,91 @@ E AssertionError test/Testing.py:54: AssertionError -_____________________ test_tcl_package[binary/tclpackage] ______________________ -[gw19] linux -- Python 3.11.9 /usr/bin/python3.11 +__________________________________ test_basic __________________________________ +[gw17] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw19/test_tcl_package_binary_tclpac0') -package = 'binary/tclpackage' -filescheck = (, ) + def test_basic(): + objdump = objdumpparser('executable-stack', '/lib64/executable-stack') +> assert not objdump.parsing_failed_reason +E assert not "objdump: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n" +E + where "objdump: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n" = .parsing_failed_reason - @pytest.mark.parametrize('package', ['binary/tclpackage']) - def test_tcl_package(tmp_path, package, filescheck): - output, test = filescheck +test/test_objdump_parser.py:37: AssertionError +__________________________ test_run_strict[packages0] __________________________ +[gw20] linux -- Python 3.11.9 /usr/bin/python3.11 + +capsys = <_pytest.capture.CaptureFixture object at 0x7f80513924d0> +packages = PosixPath('test/binary/ruby2.5-rubygem-rubyzip-testsuite-1.2.1-0.x86_64.rpm') + + @pytest.mark.parametrize('packages', [Path('test/binary/ruby2.5-rubygem-rubyzip-testsuite-1.2.1-0.x86_64.rpm')]) + def test_run_strict(capsys, packages): + """ + Test if we convert warning to error + """ + additional_options = { + 'rpmfile': [packages], + 'strict': True, + } + options = {**options_preset, **additional_options} + linter = Lint(options) + linter.checks = _remove_except_zip(linter.checks) + linter.run() + out, err = capsys.readouterr() + assert 'W: unable-to-read-zip' not in out +> assert 'E: unable-to-read-zip' in out +E AssertionError: assert 'E: unable-to-read-zip' in '============================ rpmlint session starts ============================\nrpmlint: 2.5.0\nconfiguration:\n /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/rpmlint/configdefaults.toml\n /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/configs/test.config\nchecks: 27, packages: 1\n\n 0 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 filtered, 0 badness; has taken 0.0 s \n' + +test/test_lint.py:286: AssertionError +______________________________ test_dependencies _______________________________ +[gw41] linux -- Python 3.11.9 /usr/bin/python3.11 + + @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') + def test_dependencies(): + ldd = lddparser('libtirpc.so.3.0.0') +> assert not ldd.parsing_failed_reason +E AssertionError: assert not 'ldd: /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0: No such file or directory\n' +E + where 'ldd: /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0: No such file or directory\n' = .parsing_failed_reason + +test/test_ldd_parser.py:59: AssertionError +_______________ test_unused_dependency_in_package_for_executable _______________ +[gw38] linux -- Python 3.11.9 /usr/bin/python3.11 + +binariescheck = (, ) + + @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') + def test_unused_dependency_in_package_for_executable(binariescheck): + output, test = binariescheck + with FakePkg('fake') as pkg: + pkgfile = pkg.add_file(get_full_path('appletviewer'), '/usr/bin/appletviewer') + run_elf_checks(test, pkg, pkgfile) +> assert not test.readelf_parser.parsing_failed_reason() +E assert not "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n" +E + where "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n" = >() +E + where > = .parsing_failed_reason +E + where = .readelf_parser + +test/test_ldd_parser.py:82: AssertionError +_ test_only_non_binary_in_usr_lib_exception[binary/only-non-binary-in-usr-lib_exception] _ +[gw11] linux -- Python 3.11.9 /usr/bin/python3.11 + +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw11/test_only_non_binary_in_usr_li1') +package = 'binary/only-non-binary-in-usr-lib_exception' +binariescheck = (, ) + + @pytest.mark.parametrize('package', + ['binary/only-non-binary-in-usr-lib_exception']) + def test_only_non_binary_in_usr_lib_exception(tmp_path, package, binariescheck): + config = Config(TEST_CONFIG) + config.configuration['UsrLibBinaryException'] = '^/usr/lib(64)?/python' + output = Filter(config) + test = BinariesCheck(config, output) > test.check(get_tested_package(package, tmp_path)) -test/test_files.py:143: +test/test_binaries.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/tclpackage' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw19/test_tcl_package_binary_tclpac0') +name = 'binary/only-non-binary-in-usr-lib_exception' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw11/test_only_non_binary_in_usr_li1') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3832,23 +4059,23 @@ E AssertionError test/Testing.py:54: AssertionError -____________ test_patchable_function_entry_archive[binary/libtest] _____________ -[gw9] linux -- Python 3.11.9 /usr/bin/python3.11 +____________ test_install_file_in_docs[binary/install-file-in-docs] ____________ +[gw30] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw9/test_patchable_function_entry_0') -package = 'binary/libtest' -binariescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw30/test_install_file_in_docs_bina0') +package = 'binary/install-file-in-docs' +doccheck = (, ) - @pytest.mark.parametrize('package', ['binary/libtest']) - def test_patchable_function_entry_archive(tmp_path, package, binariescheck): - output, test = binariescheck + @pytest.mark.parametrize('package', ['binary/install-file-in-docs']) + def test_install_file_in_docs(tmp_path, package, doccheck): + output, test = doccheck > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:277: +test/test_doc.py:38: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/libtest' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw9/test_patchable_function_entry_0') +name = 'binary/install-file-in-docs' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw30/test_install_file_in_docs_bina0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3857,72 +4084,109 @@ E AssertionError test/Testing.py:54: AssertionError -___________________ test_descriptions_from_config[packages0] ___________________ -[gw16] linux -- Python 3.11.9 /usr/bin/python3.11 +_________________________________ test_exclude _________________________________ +[gw29] linux -- Python 3.11.9 /usr/bin/python3.11 -capsys = <_pytest.capture.CaptureFixture object at 0x7f81e4c56450> -packages = PosixPath('test/binary/non-fhs-0-0.x86_64.rpm') +self = +old = PosixPath('/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.15-10.3.1.x86_64.rpm') +new = PosixPath('/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.21-2.1.x86_64.rpm') +ignore = ['T', '5', 'S'], exclude = [] - @pytest.mark.skipif(not ENCHANT, reason='Optional dependency pyenchant not install') - @pytest.mark.skipif(not HAS_ENGLISH_DICTIONARY, reason='Missing English dictionary') - @pytest.mark.parametrize('packages', [Path('test/binary/non-fhs-0-0.x86_64.rpm')]) - def test_descriptions_from_config(capsys, packages): - """ - Test that rpmlint updates 'parametrized' descriptions from configuration. + def __init__(self, old, new, ignore=None, exclude=None): + self.result = [] + self.ignore = ignore or [] + self.exclude = exclude or [] - We test that "parametrized" errors (non-standard-dir-in-usr - and non-standard-dir-in-var) were overridden by values from - 'descriptions.config' file. - """ - additional_options = { - 'config': [get_tested_path('configs/descriptions.config')], - 'rpmfile': [packages] - } - options_preset['verbose'] = True - options = {**options_preset, **additional_options} - linter = Lint(options) - linter.run() - out, err = capsys.readouterr() + FILEIDX = self.__FILEIDX + for tag in self.ignore: + for entry in FILEIDX: + if tag == entry[0]: + entry[1] = None + break -> assert 'A new text for non-standard-dir-in-usr error.' in out -E AssertionError: assert 'A new text for non-standard-dir-in-usr error.' in '============================ rpmlint session starts ============================\nrpmlint: 2.5.0\nconfiguration:\n /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/rpmlint/configdefaults.toml\n /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/configs/descriptions.config\nchecks: 27, packages: 1\n\n 0 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 filtered, 0 badness; has taken 0.0 s \n' + try: +> old = self.__load_pkg(old).header -test/test_lint.py:230: AssertionError -_____________________________ test_usr_dependency ______________________________ -[gw10] linux -- Python 3.11.9 /usr/bin/python3.11 +rpmlint/rpmdiff.py:55: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -binariescheck = (, ) +self = +name = PosixPath('/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.15-10.3.1.x86_64.rpm') - @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_usr_dependency(binariescheck): - output, test = binariescheck - with FakePkg('fake') as pkg: - pkgfile = pkg.add_file(get_full_path('usr-dependency'), '/bin/usr-dependency') - run_elf_checks(test, pkg, pkgfile) -> assert not test.readelf_parser.parsing_failed_reason() -E assert not "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n" -E + where "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/usr-dependency': No such file\n" = >() -E + where > = .parsing_failed_reason -E + where = .readelf_parser + def __load_pkg(self, name): + # FIXME: redo to try file/installed and proceed based on that, or pick + # one of the selected first + tmpdir = tempfile.gettempdir() + with contextlib.suppress(TypeError): + if name.is_file(): + return Pkg(name, tmpdir) + inst = get_installed_pkgs(str(name)) + if not inst: +> raise KeyError(f'No installed packages by name {name}') +E KeyError: 'No installed packages by name /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.15-10.3.1.x86_64.rpm' -test/test_ldd_parser.py:106: AssertionError -_________________ test_devel_files[binary/netmask-debugsource] _________________ -[gw18] linux -- Python 3.11.9 /usr/bin/python3.11 +rpmlint/rpmdiff.py:142: KeyError -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw18/test_devel_files_binary_netmas0') -package = 'binary/netmask-debugsource' -filescheck = (, ) +During handling of the above exception, another exception occurred: - @pytest.mark.parametrize('package', ['binary/netmask-debugsource']) - def test_devel_files(tmp_path, package, filescheck): - output, test = filescheck + def test_exclude(): + oldpkg = get_tested_path('binary/mc-4.8.15-10.3.1.x86_64.rpm') + newpkg = get_tested_path('binary/mc-4.8.21-2.1.x86_64.rpm') + ignore = list('T5S') + + # print(Rpmdiff(oldpkg, newpkg, ignore=ignore).textdiff()) + + for exclude in [], ['/usr/share/mc/ski'], ['/share/mc/skins'], ['skins']: +> diff = Rpmdiff(oldpkg, newpkg, ignore, exclude) + +test/test_diff.py:33: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +self = +old = PosixPath('/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.15-10.3.1.x86_64.rpm') +new = PosixPath('/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.21-2.1.x86_64.rpm') +ignore = ['T', '5', 'S'], exclude = [] + + def __init__(self, old, new, ignore=None, exclude=None): + self.result = [] + self.ignore = ignore or [] + self.exclude = exclude or [] + + FILEIDX = self.__FILEIDX + for tag in self.ignore: + for entry in FILEIDX: + if tag == entry[0]: + entry[1] = None + break + + try: + old = self.__load_pkg(old).header + new = self.__load_pkg(new).header + except KeyError as e: + print_warning(str(e)) +> sys.exit(2) +E SystemExit: 2 + +rpmlint/rpmdiff.py:59: SystemExit +----------------------------- Captured stderr call ----------------------------- +'No installed packages by name /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.15-10.3.1.x86_64.rpm' +__________ test_libalternative_borked[binary/libalternatives-borked] ___________ +[gw3] linux -- Python 3.11.9 /usr/bin/python3.11 + +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw3/test_libalternative_borked_bin0') +package = 'binary/libalternatives-borked' +alternativescheck = (, ) + + @pytest.mark.parametrize('package', ['binary/libalternatives-borked']) + def test_libalternative_borked(tmp_path, package, alternativescheck): + output, test = alternativescheck > test.check(get_tested_package(package, tmp_path)) -test/test_files.py:98: +test/test_alternatives.py:79: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/netmask-debugsource' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw18/test_devel_files_binary_netmas0') +name = 'binary/libalternatives-borked' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw3/test_libalternative_borked_bin0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3931,35 +4195,25 @@ E AssertionError test/Testing.py:54: AssertionError -_________________________________ test_output __________________________________ -[gw13] linux -- Python 3.11.9 /usr/bin/python3.11 +______________________________ test_data_storing _______________________________ +[gw18] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw13/test_output0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw18/test_data_storing0') - def test_output(tmp_path): + def test_data_storing(tmp_path): """ - Test the actual output of rpmlint on one file + Load some filters and make sure we generate nice regexp """ - expected_output = """ngircd.x86_64: I: suse-other-error /usr/bin/1 - ngircd.x86_64: I: suse-other-error /usr/bin/2 - tempfiled.x86_64: E: suse-other-error /usr/bin/3 - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor - incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis - nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore - eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt - in culpa qui officia deserunt mollit anim id est laborum. - - ngircd.x86_64: E: suse-dbus-unauthorized-service\n""" cfg = Config(TEST_CONFIG_FILTERS) + cfg.load_rpmlintrc(TEST_RPMLINTRC) result = Filter(cfg) > pkg = get_tested_package(TEST_PACKAGE, tmp_path) -test/test_filter.py:142: +test/test_filter.py:32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = PosixPath('binary/ngircd') -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw13/test_output0') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw18/test_data_storing0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -3968,63 +4222,54 @@ E AssertionError test/Testing.py:54: AssertionError -________________ test_explain_known_warn_on_function[configs1] _________________ -[gw4] linux -- Python 3.11.9 /usr/bin/python3.11 +___________________ test_descriptions_from_config[packages0] ___________________ +[gw24] linux -- Python 3.11.9 /usr/bin/python3.11 -capsys = <_pytest.capture.CaptureFixture object at 0x7fb155c152d0> -configs = (PosixPath('configs/Fedora/scoring.toml'), True) +capsys = <_pytest.capture.CaptureFixture object at 0x7fcced6023d0> +packages = PosixPath('test/binary/non-fhs-0-0.x86_64.rpm') - @pytest.mark.parametrize('configs', [ - # Message defined in configs/Fedora/warn-on-functions.toml - (Path('configs/Fedora/warn-on-functions.toml'), False), - (Path('configs/Fedora/scoring.toml'), True), - ]) - def test_explain_known_warn_on_function(capsys, configs): - extraconfig, unknown = configs - message = ['crypto-policy-non-compliance-openssl'] + @pytest.mark.skipif(not ENCHANT, reason='Optional dependency pyenchant not install') + @pytest.mark.skipif(not HAS_ENGLISH_DICTIONARY, reason='Missing English dictionary') + @pytest.mark.parametrize('packages', [Path('test/binary/non-fhs-0-0.x86_64.rpm')]) + def test_descriptions_from_config(capsys, packages): + """ + Test that rpmlint updates 'parametrized' descriptions from configuration. + + We test that "parametrized" errors (non-standard-dir-in-usr + and non-standard-dir-in-var) were overridden by values from + 'descriptions.config' file. + """ additional_options = { - 'explain': message, - 'config': [extraconfig], + 'config': [get_tested_path('configs/descriptions.config')], + 'rpmfile': [packages] } + options_preset['verbose'] = True options = {**options_preset, **additional_options} linter = Lint(options) linter.run() out, err = capsys.readouterr() - assert ('Unknown message' in out) == unknown -> assert not err -E AssertionError: assert not '(none): W: error locating user requested configuration: configs/Fedora/scoring.toml\n' - -test/test_lint.py:146: AssertionError -______________________________ test_dependencies _______________________________ -[gw0] linux -- Python 3.11.9 /usr/bin/python3.11 - - @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_dependencies(): - ldd = lddparser('libtirpc.so.3.0.0') -> assert not ldd.parsing_failed_reason -E AssertionError: assert not 'ldd: /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0: No such file or directory\n' -E + where 'ldd: /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0: No such file or directory\n' = .parsing_failed_reason +> assert 'A new text for non-standard-dir-in-usr error.' in out +E AssertionError: assert 'A new text for non-standard-dir-in-usr error.' in '============================ rpmlint session starts ============================\nrpmlint: 2.5.0\nconfiguration:\n /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/rpmlint/configdefaults.toml\n /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/configs/descriptions.config\nchecks: 27, packages: 1\n\n 0 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 filtered, 0 badness; has taken 0.0 s \n' -test/test_ldd_parser.py:59: AssertionError -____________________ test_shared_library2[binary/libtest2] _____________________ -[gw7] linux -- Python 3.11.9 /usr/bin/python3.11 +test/test_lint.py:230: AssertionError +_______________________ test_logrotate[binary/logrotate] _______________________ +[gw8] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw7/test_shared_library2_binary_li0') -package = 'binary/libtest2' -binariescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw8/test_logrotate_binary_logrotat0') +package = 'binary/logrotate' +logrotatecheck = (, ) - @pytest.mark.parametrize('package', ['binary/libtest2']) - @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_shared_library2(tmp_path, package, binariescheck): - output, test = binariescheck + @pytest.mark.parametrize('package', ['binary/logrotate']) + def test_logrotate(tmp_path, package, logrotatecheck): + output, test = logrotatecheck > test.check(get_tested_package(package, tmp_path)) -test/test_binaries.py:226: +test/test_logrotate.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/libtest2' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw7/test_shared_library2_binary_li0') +name = 'binary/logrotate' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw8/test_logrotate_binary_logrotat0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -4033,35 +4278,23 @@ E AssertionError test/Testing.py:54: AssertionError -_ test_zero_length_ignore[/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED-False-binary/file-zero-length] _ -[gw12] linux -- Python 3.11.9 /usr/bin/python3.11 +_________________ test_mixed_ownership[binary/mixed-ownership] _________________ +[gw22] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw12/test_zero_length_ignore__usr_l3') -package = 'binary/file-zero-length' -filescheck = (, ) -filename = '/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED' -show = False +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw22/test_mixed_ownership_binary_mi0') +package = 'binary/mixed-ownership' +mixedownershipcheck = (, ) - @pytest.mark.parametrize('package', ['binary/file-zero-length']) - @pytest.mark.parametrize( - 'filename, show', - [('/usr/lib/emptyfile', True), - ('/usr/lib/nonemptyfile', False), - ('/etc/security/console.apps', False), - ('/usr/lib/.nosearch', False), - ('/usr/lib/python/__init__.py', False), - ('/usr/lib/python/py.typed', False), - ('/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED', False), - ('/usr/lib/ruby/gem.build_complete', False)]) - def test_zero_length_ignore(tmp_path, package, filescheck, filename, show): - output, test = filescheck -> pkg = get_tested_package(package, tmp_path) + @pytest.mark.parametrize('package', ['binary/mixed-ownership']) + def test_mixed_ownership(tmp_path, package, mixedownershipcheck): + output, test = mixedownershipcheck +> test.check(get_tested_package(package, tmp_path)) -test/test_files.py:245: +test/test_mixed_ownership.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/file-zero-length' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw12/test_zero_length_ignore__usr_l3') +name = 'binary/mixed-ownership' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw22/test_mixed_ownership_binary_mi0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -4070,55 +4303,75 @@ E AssertionError test/Testing.py:54: AssertionError -_ test_only_non_binary_in_usr_lib_exception[binary/only-non-binary-in-usr-lib_exception] _ -[gw6] linux -- Python 3.11.9 /usr/bin/python3.11 - -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw6/test_only_non_binary_in_usr_li1') -package = 'binary/only-non-binary-in-usr-lib_exception' -binariescheck = (, ) +____________________________ test_distribution_tags ____________________________ +[gw28] linux -- Python 3.11.9 /usr/bin/python3.11 - @pytest.mark.parametrize('package', - ['binary/only-non-binary-in-usr-lib_exception']) - def test_only_non_binary_in_usr_lib_exception(tmp_path, package, binariescheck): - config = Config(TEST_CONFIG) - config.configuration['UsrLibBinaryException'] = '^/usr/lib(64)?/python' - output = Filter(config) - test = BinariesCheck(config, output) -> test.check(get_tested_package(package, tmp_path)) + def test_distribution_tags(): + oldpkg = get_tested_path('binary/mc-4.8.15-10.3.1.x86_64.rpm') + newpkg = get_tested_path('binary/mc-4.8.21-2.1.x86_64.rpm') + ignore = [] +> diff = Rpmdiff(oldpkg, newpkg, ignore) -test/test_binaries.py:134: +test/test_diff.py:10: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +rpmlint/rpmdiff.py:55: in __init__ + old = self.__load_pkg(old).header +rpmlint/rpmdiff.py:140: in __load_pkg + inst = get_installed_pkgs(str(name)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/only-non-binary-in-usr-lib_exception' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw6/test_only_non_binary_in_usr_li1') +name = '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/binary/mc-4.8.15-10.3.1.x86_64.rpm' - def get_tested_package(name, testdir): - filename = Path(name).name + '-*.rpm' - candidates = list(get_tested_path(name).parent.glob(filename)) -> assert len(candidates) == 1 -E AssertionError + def get_installed_pkgs(name): + """Get list of installed package objects by name.""" + + pkgs = [] + ts = rpm.TransactionSet() + if re.search(r'[?*]|\[.+\]', name): + mi = ts.dbMatch() + mi.pattern('name', rpm.RPMMIRE_GLOB, name) + else: +> mi = ts.dbMatch('name', name) +E _rpm.error: rpmdb open failed -test/Testing.py:54: AssertionError -__________________________________ test_rpath __________________________________ -[gw1] linux -- Python 3.11.9 /usr/bin/python3.11 +rpmlint/pkg.py:733: error +----------------------------- Captured stderr call ----------------------------- +error: sqlite failure: CREATE TABLE IF NOT EXISTS 'Providename' (key 'TEXT' NOT NULL, hnum INTEGER NOT NULL, idx INTEGER NOT NULL, FOREIGN KEY (hnum) REFERENCES 'Packages'(hnum)): attempt to write a readonly database +error: cannot open Providename index using sqlite - No such file or directory (2) +error: cannot open Packages database in /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/.rpmdb +________________ test_explain_known_warn_on_function[configs0] _________________ +[gw19] linux -- Python 3.11.9 /usr/bin/python3.11 - def test_rpath(): - readelf = readelfparser('rpath-lib.so', '/lib64/rpath-lib.so') - assert readelf.is_shlib - assert not readelf.is_archive -> assert len(readelf.dynamic_section_info.runpaths) == 1 -E assert 0 == 1 -E + where 0 = len([]) -E + where [] = .runpaths -E + where = .dynamic_section_info +capsys = <_pytest.capture.CaptureFixture object at 0x7f276710f5d0> +configs = (PosixPath('configs/Fedora/warn-on-functions.toml'), False) -test/test_readelf_parser.py:85: AssertionError + @pytest.mark.parametrize('configs', [ + # Message defined in configs/Fedora/warn-on-functions.toml + (Path('configs/Fedora/warn-on-functions.toml'), False), + (Path('configs/Fedora/scoring.toml'), True), + ]) + def test_explain_known_warn_on_function(capsys, configs): + extraconfig, unknown = configs + message = ['crypto-policy-non-compliance-openssl'] + additional_options = { + 'explain': message, + 'config': [extraconfig], + } + options = {**options_preset, **additional_options} + linter = Lint(options) + linter.run() + out, err = capsys.readouterr() + +> assert ('Unknown message' in out) == unknown +E AssertionError: assert ('Unknown message' in 'crypto-policy-non-compliance-openssl:\nUnknown message, please report a bug if the description should be present.\n\n\n') == False + +test/test_lint.py:145: AssertionError __________________________ test_pkg_config[binary/pc] __________________________ -[gw9] linux -- Python 3.11.9 /usr/bin/python3.11 +[gw26] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw9/test_pkg_config_binary_pc_0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw26/test_pkg_config_binary_pc_0') package = 'binary/pc' -pkgconfigcheck = (, ) +pkgconfigcheck = (, ) @pytest.mark.parametrize('package', ['binary/pc']) def test_pkg_config(tmp_path, package, pkgconfigcheck): @@ -4129,7 +4382,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'binary/pc' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw9/test_pkg_config_binary_pc_0') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw26/test_pkg_config_binary_pc_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -4138,23 +4391,23 @@ E AssertionError test/Testing.py:54: AssertionError -________________________ test_icon_sizes[binary/tasque] ________________________ -[gw11] linux -- Python 3.11.9 /usr/bin/python3.11 +_____________________ test_pam_modules[binary/pam-module] ______________________ +[gw4] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw11/test_icon_sizes_binary_tasque_0') -package = 'binary/tasque' -iconsizescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw4/test_pam_modules_binary_pam_mo0') +package = 'binary/pam-module' +pammodulecheck = (, ) - @pytest.mark.parametrize('package', ['binary/tasque']) - def test_icon_sizes(tmp_path, package, iconsizescheck): - output, test = iconsizescheck + @pytest.mark.parametrize('package', ['binary/pam-module']) + def test_pam_modules(tmp_path, package, pammodulecheck): + output, test = pammodulecheck > test.check(get_tested_package(package, tmp_path)) -test/test_icon_sizes.py:19: +test/test_pam_modules.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/tasque' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw11/test_icon_sizes_binary_tasque_0') +name = 'binary/pam-module' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw4/test_pam_modules_binary_pam_mo0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -4163,94 +4416,58 @@ E AssertionError test/Testing.py:54: AssertionError -____________________ test_shlib2_devel[binary/shlib2-devel] ____________________ -[gw10] linux -- Python 3.11.9 /usr/bin/python3.11 - -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw10/test_shlib2_devel_binary_shlib1') -package = 'binary/shlib2-devel' -libdependencycheck = (, ) - - @pytest.mark.parametrize('package', ['binary/shlib2-devel']) - def test_shlib2_devel(tmp_path, package, libdependencycheck): - output, test = libdependencycheck -> test.check(get_tested_package(package, tmp_path)) - -test/test_lib_dependency.py:19: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -name = 'binary/shlib2-devel' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw10/test_shlib2_devel_binary_shlib1') +____________________________ test_lto_archive_text _____________________________ +[gw23] linux -- Python 3.11.9 /usr/bin/python3.11 - def get_tested_package(name, testdir): - filename = Path(name).name + '-*.rpm' - candidates = list(get_tested_path(name).parent.glob(filename)) -> assert len(candidates) == 1 -E AssertionError +binariescheck = (, ) -test/Testing.py:54: AssertionError -_____________________________ test_simple_archive ______________________________ -[gw7] linux -- Python 3.11.9 /usr/bin/python3.11 - - def test_simple_archive(): - readelf = readelfparser('main.a') - assert readelf.is_archive -> assert len(readelf.section_info.elf_files) == 1 -E assert 0 == 1 -E + where 0 = len([]) -E + where [] = .elf_files -E + where = .section_info + def test_lto_archive_text(binariescheck): + output, test = binariescheck + with FakePkg('fake') as pkg: + pkgfile = pkg.add_file(get_full_path('stripped-lto.a'), 'x.a') + run_elf_checks(test, pkg, pkgfile) + out = output.print_results(output.results) +> assert 'E: lto-no-text-in-archive' in out +E assert 'E: lto-no-text-in-archive' in "fake: E: readelf-failed x.a readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-lto.a': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-lto.a': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-lto.a': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-lto.a': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-lto.a': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" -test/test_readelf_parser.py:46: AssertionError -______________________ test_unused_dependency_in_package _______________________ -[gw0] linux -- Python 3.11.9 /usr/bin/python3.11 +test/test_readelf_parser.py:105: AssertionError +_______________________________ test_call_mktemp _______________________________ +[gw35] linux -- Python 3.11.9 /usr/bin/python3.11 -binariescheck = (, ) +binariescheck = (, ) @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_unused_dependency_in_package(binariescheck): + def test_call_mktemp(binariescheck): output, test = binariescheck + with FakePkg('fake') as pkg: - pkgfile = pkg.add_file(get_full_path('libtirpc.so.3.0.0'), '/lib64/x.so') + pkgfile = pkg.add_file(get_full_path('call-mktemp'), '/bin/call-mktemp') run_elf_checks(test, pkg, pkgfile) -> assert not test.readelf_parser.parsing_failed_reason() -E assert not "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n" -E + where "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0': No such file\n" = >() -E + where > = .parsing_failed_reason -E + where = .readelf_parser - -test/test_ldd_parser.py:70: AssertionError -___ test_non_position_independent_sugg[binary/non-position-independent-exec] ___ -[gw5] linux -- Python 3.11.9 /usr/bin/python3.11 - -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw5/test_non_position_independent_0') -package = 'binary/non-position-independent-exec' -binariescheck = (, ) - - @pytest.mark.parametrize('package', ['binary/non-position-independent-exec']) - def test_non_position_independent_sugg(tmp_path, package, binariescheck): - # reset PieExecutable option - CONFIG.configuration['PieExecutables'] = [] - output = Filter(CONFIG) - test = BinariesCheck(CONFIG, output) -> test.check(get_tested_package(package, tmp_path)) + out = output.print_results(output.results) +> assert 'E: call-to-mktemp /bin/call-mktemp' in out +E assert 'E: call-to-mktemp /bin/call-mktemp' in "fake: E: readelf-failed /bin/call-mktemp readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/call-mktemp': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/call-mktemp': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/call-mktemp': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/call-mktemp': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/call-mktemp': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" -test/test_binaries.py:176: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +test/test_readelf_parser.py:247: AssertionError +________________________________ test_no_soname ________________________________ +[gw15] linux -- Python 3.11.9 /usr/bin/python3.11 -name = 'binary/non-position-independent-exec' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw5/test_non_position_independent_0') +binariescheck = (, ) - def get_tested_package(name, testdir): - filename = Path(name).name + '-*.rpm' - candidates = list(get_tested_path(name).parent.glob(filename)) -> assert len(candidates) == 1 -E AssertionError + @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') + def test_no_soname(binariescheck): + output, test = binariescheck + with FakePkg('fake') as pkg: + pkgfile = pkg.add_file(get_full_path('no-soname.so'), '/lib64/no-soname.so') + run_elf_checks(test, pkg, pkgfile) + out = output.print_results(output.results) +> assert 'no-soname /lib64/no-soname.so' in out +E assert 'no-soname /lib64/no-soname.so' in "fake: E: readelf-failed /lib64/no-soname.so readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/no-soname.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/no-soname.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/no-soname.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/no-soname.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/no-soname.so': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" -test/Testing.py:54: AssertionError +test/test_readelf_parser.py:203: AssertionError ______________________________ test_lto_bytecode _______________________________ -[gw1] linux -- Python 3.11.9 /usr/bin/python3.11 +[gw31] linux -- Python 3.11.9 /usr/bin/python3.11 -binariescheck = (, ) +binariescheck = (, ) def test_lto_bytecode(binariescheck): output, test = binariescheck @@ -4259,48 +4476,56 @@ run_elf_checks(test, pkg, pkgfile) > assert not test.readelf_parser.parsing_failed_reason() E assert not "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/lto-object.o': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/lto-object.o': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/lto-object.o': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/lto-object.o': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/lto-object.o': No such file\n" -E + where "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/lto-object.o': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/lto-object.o': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/lto-object.o': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/lto-object.o': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/lto-object.o': No such file\n" = >() -E + where > = .parsing_failed_reason -E + where = .readelf_parser +E + where "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/lto-object.o': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/lto-object.o': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/lto-object.o': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/lto-object.o': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/lto-object.o': No such file\n" = >() +E + where > = .parsing_failed_reason +E + where = .readelf_parser test/test_readelf_parser.py:94: AssertionError -____________________________ test_executable_stack _____________________________ -[gw15] linux -- Python 3.11.9 /usr/bin/python3.11 +____________________________ test_stripped_archive _____________________________ +[gw39] linux -- Python 3.11.9 /usr/bin/python3.11 -binariescheck = (, ) +binariescheck = (, ) - @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_executable_stack(binariescheck): + def test_stripped_archive(binariescheck): output, test = binariescheck with FakePkg('fake') as pkg: - pkgfile = pkg.add_file(get_full_path('executable-stack'), '/lib64/my/a.out') + pkgfile = pkg.add_file(get_full_path('stripped-archive.a'), 'x.a') run_elf_checks(test, pkg, pkgfile) out = output.print_results(output.results) - - if 'ldd-failed' in out: - pytest.skip("ldd failed, maybe it's a different architecture") - -> assert 'E: executable-stack /lib64/my/a.out' in out -E assert 'E: executable-stack /lib64/my/a.out' in "fake: E: readelf-failed /lib64/my/a.out readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" +> assert 'E: static-library-without-symtab' in out +E assert 'E: static-library-without-symtab' in "fake: E: readelf-failed x.a readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-archive.a': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-archive.a': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-archive.a': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-archive.a': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-archive.a': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" -test/test_readelf_parser.py:169: AssertionError -____________ test_pkg_config_correct[binary/libreiserfscore-devel] _____________ -[gw9] linux -- Python 3.11.9 /usr/bin/python3.11 +test/test_readelf_parser.py:115: AssertionError +_____________________________ test_simple_archive ______________________________ +[gw38] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw9/test_pkg_config_correct_binary0') -package = 'binary/libreiserfscore-devel' -pkgconfigcheck = (, ) + def test_simple_archive(): + readelf = readelfparser('main.a') + assert readelf.is_archive +> assert len(readelf.section_info.elf_files) == 1 +E assert 0 == 1 +E + where 0 = len([]) +E + where [] = .elf_files +E + where = .section_info - @pytest.mark.parametrize('package', ['binary/libreiserfscore-devel']) - def test_pkg_config_correct(tmp_path, package, pkgconfigcheck): - output, test = pkgconfigcheck +test/test_readelf_parser.py:46: AssertionError +_____________________ test_invalid_signature[binary/hello] _____________________ +[gw33] linux -- Python 3.11.9 /usr/bin/python3.11 + +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw33/test_invalid_signature_binary_0') +package = 'binary/hello' +signaturecheck = (, ) + + @pytest.mark.parametrize('package', ['binary/hello']) + def test_invalid_signature(tmp_path, package, signaturecheck): + output, test = signaturecheck > test.check(get_tested_package(package, tmp_path)) -test/test_pkgconfig.py:29: +test/test_signature.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/libreiserfscore-devel' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw9/test_pkg_config_correct_binary0') +name = 'binary/hello' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw33/test_invalid_signature_binary_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -4309,59 +4534,35 @@ E AssertionError test/Testing.py:54: AssertionError -______________________ test_pyc_magic_from_chunk[36-3379] ______________________ +_________________________ test_program_header_parsing __________________________ [gw17] linux -- Python 3.11.9 /usr/bin/python3.11 -version = 36, magic = 3379 - - @pytest.mark.parametrize('version, magic', ((36, 3379), (37, 3393))) - def test_pyc_magic_from_chunk(version, magic): -> chunk = chunk_from_pyc(version) - -test/test_files.py:85: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -version = 36, size = 16 - - def chunk_from_pyc(version, size=16): - """Helper to get start of an example pyc file as bytes""" - path = get_tested_path(f'pyc/__future__.cpython-{version}.pyc') -> with open(path, 'rb') as f: -E FileNotFoundError: [Errno 2] No such file or directory: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/pyc/__future__.cpython-36.pyc' - -test/test_files.py:52: FileNotFoundError -____________________________ test_stripped_archive _____________________________ -[gw3] linux -- Python 3.11.9 /usr/bin/python3.11 - -binariescheck = (, ) - - def test_stripped_archive(binariescheck): - output, test = binariescheck - with FakePkg('fake') as pkg: - pkgfile = pkg.add_file(get_full_path('stripped-archive.a'), 'x.a') - run_elf_checks(test, pkg, pkgfile) - out = output.print_results(output.results) -> assert 'E: static-library-without-symtab' in out -E assert 'E: static-library-without-symtab' in "fake: E: readelf-failed x.a readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-archive.a': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-archive.a': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-archive.a': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-archive.a': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-archive.a': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" + def test_program_header_parsing(): + readelf = readelfparser('nested-function') +> assert len(readelf.program_header_info.headers) == 11 +E assert 0 == 11 +E + where 0 = len([]) +E + where [] = .headers +E + where = .program_header_info -test/test_readelf_parser.py:115: AssertionError -_________________ test_missing_depency_on[binary/xrootd-devel] _________________ -[gw10] linux -- Python 3.11.9 /usr/bin/python3.11 +test/test_readelf_parser.py:57: AssertionError +_________________________ test_doccheck[binary/mydoc] __________________________ +[gw29] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw10/test_missing_depency_on_binary0') -package = 'binary/xrootd-devel' -libdependencycheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw29/test_doccheck_binary_mydoc_0') +package = 'binary/mydoc' +doccheck = (, ) - @pytest.mark.parametrize('package', ['binary/xrootd-devel']) - def test_missing_depency_on(tmp_path, package, libdependencycheck): - output, test = libdependencycheck + @pytest.mark.parametrize('package', ['binary/mydoc']) + def test_doccheck(tmp_path, package, doccheck): + output, test = doccheck > test.check(get_tested_package(package, tmp_path)) -test/test_lib_dependency.py:28: +test/test_doc.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/xrootd-devel' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw10/test_missing_depency_on_binary0') +name = 'binary/mydoc' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw29/test_doccheck_binary_mydoc_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -4370,23 +4571,23 @@ E AssertionError test/Testing.py:54: AssertionError -_________________ test_mixed_ownership[binary/mixed-ownership] _________________ -[gw12] linux -- Python 3.11.9 /usr/bin/python3.11 +____________________ test_no_signature[binary/no-signature] ____________________ +[gw36] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw12/test_mixed_ownership_binary_mi0') -package = 'binary/mixed-ownership' -mixedownershipcheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw36/test_no_signature_binary_no_si0') +package = 'binary/no-signature' +signaturecheck = (, ) - @pytest.mark.parametrize('package', ['binary/mixed-ownership']) - def test_mixed_ownership(tmp_path, package, mixedownershipcheck): - output, test = mixedownershipcheck + @pytest.mark.parametrize('package', ['binary/no-signature']) + def test_no_signature(tmp_path, package, signaturecheck): + output, test = signaturecheck > test.check(get_tested_package(package, tmp_path)) -test/test_mixed_ownership.py:19: +test/test_signature.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/mixed-ownership' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw12/test_mixed_ownership_binary_mi0') +name = 'binary/no-signature' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw36/test_no_signature_binary_no_si0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -4395,23 +4596,42 @@ E AssertionError test/Testing.py:54: AssertionError -____________________________ test_unused_dependency ____________________________ -[gw11] linux -- Python 3.11.9 /usr/bin/python3.11 +___________________________ test_no_ldconfig_symlink ___________________________ +[gw7] linux -- Python 3.11.9 /usr/bin/python3.11 + +binariescheck = (, ) @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_unused_dependency(): - ldd = lddparser('libtirpc.so.3.0.0') -> assert not ldd.parsing_failed_reason -E AssertionError: assert not 'ldd: /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0: No such file or directory\n' -E + where 'ldd: /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/libtirpc.so.3.0.0: No such file or directory\n' = .parsing_failed_reason + def test_no_ldconfig_symlink(binariescheck): + output, test = binariescheck + + with FakePkg('libfake') as pkg: + pkgfile = pkg.add_file(get_full_path('libutil-2.29.so'), '/lib64/libutil-2.29.so') + run_elf_checks(test, pkg, pkgfile) + out = output.print_results(output.results) +> assert 'no-ldconfig-symlink /lib64/libutil-2.29.so' in out +E assert 'no-ldconfig-symlink /lib64/libutil-2.29.so' in "libfake: E: readelf-failed /lib64/libutil-2.29.so readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libutil-2.29.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libutil-2.29.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libutil-2.29.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libutil-2.29.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libutil-2.29.so': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" -test/test_ldd_parser.py:38: AssertionError +test/test_readelf_parser.py:235: AssertionError +_________________________ test_dynamic_section_parsing _________________________ +[gw41] linux -- Python 3.11.9 /usr/bin/python3.11 + + def test_dynamic_section_parsing(): + readelf = readelfparser('libutil-2.29.so', '/lib64/libutil-2.29.so') + assert readelf.is_shlib + assert not readelf.is_archive + sections = readelf.dynamic_section_info.sections +> assert len(sections) == 30 +E assert 0 == 30 +E + where 0 = len([]) + +test/test_readelf_parser.py:71: AssertionError _________________ test_shlib_policy_errors[binary/libslp1234] __________________ -[gw13] linux -- Python 3.11.9 /usr/bin/python3.11 +[gw5] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw13/test_shlib_policy_errors_binar0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw5/test_shlib_policy_errors_binar0') package = 'binary/libslp1234' -slpcheck = (, ) +slpcheck = (, ) @pytest.mark.parametrize('package', ['binary/libslp1234']) def test_shlib_policy_errors(tmp_path, package, slpcheck): @@ -4422,7 +4642,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'binary/libslp1234' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw13/test_shlib_policy_errors_binar0') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw5/test_shlib_policy_errors_binar0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -4431,23 +4651,23 @@ E AssertionError test/Testing.py:54: AssertionError -_______________________ test_logrotate[binary/logrotate] _______________________ -[gw6] linux -- Python 3.11.9 /usr/bin/python3.11 +________________ test_shlib_policy_wrong_name[binary/libtest1] _________________ +[gw21] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw6/test_logrotate_binary_logrotat0') -package = 'binary/logrotate' -logrotatecheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw21/test_shlib_policy_wrong_name_b0') +package = 'binary/libtest1' +slpcheck = (, ) - @pytest.mark.parametrize('package', ['binary/logrotate']) - def test_logrotate(tmp_path, package, logrotatecheck): - output, test = logrotatecheck + @pytest.mark.parametrize('package', ['binary/libtest1']) + def test_shlib_policy_wrong_name(tmp_path, package, slpcheck): + output, test = slpcheck > test.check(get_tested_package(package, tmp_path)) -test/test_logrotate.py:19: +test/test_shlib_policy.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/logrotate' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw6/test_logrotate_binary_logrotat0') +name = 'binary/libtest1' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw21/test_shlib_policy_wrong_name_b0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -4456,68 +4676,23 @@ E AssertionError test/Testing.py:54: AssertionError -_________________________ test_program_header_parsing __________________________ -[gw7] linux -- Python 3.11.9 /usr/bin/python3.11 - - def test_program_header_parsing(): - readelf = readelfparser('nested-function') -> assert len(readelf.program_header_info.headers) == 11 -E assert 0 == 11 -E + where 0 = len([]) -E + where [] = .headers -E + where = .program_header_info - -test/test_readelf_parser.py:57: AssertionError -_______________ test_unused_dependency_in_package_for_executable _______________ -[gw0] linux -- Python 3.11.9 /usr/bin/python3.11 - -binariescheck = (, ) - - @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_unused_dependency_in_package_for_executable(binariescheck): - output, test = binariescheck - with FakePkg('fake') as pkg: - pkgfile = pkg.add_file(get_full_path('appletviewer'), '/usr/bin/appletviewer') - run_elf_checks(test, pkg, pkgfile) -> assert not test.readelf_parser.parsing_failed_reason() -E assert not "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n" -E + where "readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/ldd/appletviewer': No such file\n" = >() -E + where > = .parsing_failed_reason -E + where = .readelf_parser - -test/test_ldd_parser.py:82: AssertionError -____________________________ test_lto_archive_text _____________________________ -[gw1] linux -- Python 3.11.9 /usr/bin/python3.11 - -binariescheck = (, ) - - def test_lto_archive_text(binariescheck): - output, test = binariescheck - with FakePkg('fake') as pkg: - pkgfile = pkg.add_file(get_full_path('stripped-lto.a'), 'x.a') - run_elf_checks(test, pkg, pkgfile) - out = output.print_results(output.results) -> assert 'E: lto-no-text-in-archive' in out -E assert 'E: lto-no-text-in-archive' in "fake: E: readelf-failed x.a readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-lto.a': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-lto.a': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-lto.a': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-lto.a': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/stripped-lto.a': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" - -test/test_readelf_parser.py:105: AssertionError -____________________ test_no_signature[binary/no-signature] ____________________ -[gw13] linux -- Python 3.11.9 /usr/bin/python3.11 +________ test_shlib_policy_missing_suffix[binary/libslp-missing-suffix] ________ +[gw12] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw13/test_no_signature_binary_no_si0') -package = 'binary/no-signature' -signaturecheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw12/test_shlib_policy_missing_suff0') +package = 'binary/libslp-missing-suffix' +slpcheck = (, ) - @pytest.mark.parametrize('package', ['binary/no-signature']) - def test_no_signature(tmp_path, package, signaturecheck): - output, test = signaturecheck + @pytest.mark.parametrize('package', ['binary/libslp-missing-suffix']) + def test_shlib_policy_missing_suffix(tmp_path, package, slpcheck): + output, test = slpcheck > test.check(get_tested_package(package, tmp_path)) -test/test_signature.py:20: +test/test_shlib_policy.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/no-signature' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw13/test_no_signature_binary_no_si0') +name = 'binary/libslp-missing-suffix' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw12/test_shlib_policy_missing_suff0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -4527,9 +4702,9 @@ test/Testing.py:54: AssertionError ______________________ test_readelf_single_error_message _______________________ -[gw9] linux -- Python 3.11.9 /usr/bin/python3.11 +[gw8] linux -- Python 3.11.9 /usr/bin/python3.11 -binariescheck = (, ) +binariescheck = (, ) def test_readelf_single_error_message(binariescheck): output, test = binariescheck @@ -4543,10 +4718,30 @@ E + where 0 = len([]) test/test_readelf_parser.py:193: AssertionError +____________________________ test_executable_stack _____________________________ +[gw37] linux -- Python 3.11.9 /usr/bin/python3.11 + +binariescheck = (, ) + + @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') + def test_executable_stack(binariescheck): + output, test = binariescheck + with FakePkg('fake') as pkg: + pkgfile = pkg.add_file(get_full_path('executable-stack'), '/lib64/my/a.out') + run_elf_checks(test, pkg, pkgfile) + out = output.print_results(output.results) + + if 'ldd-failed' in out: + pytest.skip("ldd failed, maybe it's a different architecture") + +> assert 'E: executable-stack /lib64/my/a.out' in out +E assert 'E: executable-stack /lib64/my/a.out' in "fake: E: readelf-failed /lib64/my/a.out readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" + +test/test_readelf_parser.py:169: AssertionError _____________________________ test_call_setgroups ______________________________ -[gw10] linux -- Python 3.11.9 /usr/bin/python3.11 +[gw1] linux -- Python 3.11.9 /usr/bin/python3.11 -binariescheck = (, ) +binariescheck = (, ) @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') def test_call_setgroups(binariescheck): @@ -4562,112 +4757,10 @@ E assert 'E: missing-call-to-setgroups-before-setuid /bin/call-setgroups' in "fake: E: readelf-failed /bin/call-setgroups readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/call-setgroups': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/call-setgroups': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/call-setgroups': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/call-setgroups': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/call-setgroups': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" test/test_readelf_parser.py:260: AssertionError -_________________________ test_shlib_policy_name_error _________________________ -[gw2] linux -- Python 3.11.9 /usr/bin/python3.11 - -binariescheck = (, ) - - @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_shlib_policy_name_error(binariescheck): - output, test = binariescheck - - with FakePkg('libgame') as pkg: - pkgfile = pkg.add_file(get_full_path('libgame.so'), '/lib64/libgame.so') - run_elf_checks(test, pkg, pkgfile) - out = output.print_results(output.results) -> assert 'libgame: E: shlib-policy-name-error SONAME: libgame2-1.9.so.10.0.0 (/lib64/libgame.so), expected package suffix: 1_9-10_0_0' in out -E assert 'libgame: E: shlib-policy-name-error SONAME: libgame2-1.9.so.10.0.0 (/lib64/libgame.so), expected package suffix: 1_9-10_0_0' in "libgame: E: readelf-failed /lib64/libgame.so readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libgame.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libgame.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libgame.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libgame.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libgame.so': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" - -test/test_readelf_parser.py:292: AssertionError -__________________________ test_run_strict[packages0] __________________________ -[gw16] linux -- Python 3.11.9 /usr/bin/python3.11 - -capsys = <_pytest.capture.CaptureFixture object at 0x7f81e4cc3d50> -packages = PosixPath('test/binary/ruby2.5-rubygem-rubyzip-testsuite-1.2.1-0.x86_64.rpm') - - @pytest.mark.parametrize('packages', [Path('test/binary/ruby2.5-rubygem-rubyzip-testsuite-1.2.1-0.x86_64.rpm')]) - def test_run_strict(capsys, packages): - """ - Test if we convert warning to error - """ - additional_options = { - 'rpmfile': [packages], - 'strict': True, - } - options = {**options_preset, **additional_options} - linter = Lint(options) - linter.checks = _remove_except_zip(linter.checks) - linter.run() - out, err = capsys.readouterr() - assert 'W: unable-to-read-zip' not in out -> assert 'E: unable-to-read-zip' in out -E AssertionError: assert 'E: unable-to-read-zip' in '============================ rpmlint session starts ============================\nrpmlint: 2.5.0\nconfiguration:\n /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/rpmlint/configdefaults.toml\n /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/configs/test.config\nchecks: 27, packages: 1\n\n 0 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 filtered, 0 badness; has taken 0.0 s \n' - -test/test_lint.py:286: AssertionError -_____________________ test_unknown_key[binary/unknown-key] _____________________ -[gw13] linux -- Python 3.11.9 /usr/bin/python3.11 - -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw13/test_unknown_key_binary_unknow0') -package = 'binary/unknown-key' -signaturecheck = (, ) - - @pytest.mark.parametrize('package', ['binary/unknown-key']) - def test_unknown_key(tmp_path, package, signaturecheck): - output, test = signaturecheck -> test.check(get_tested_package(package, tmp_path)) - -test/test_signature.py:32: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -name = 'binary/unknown-key' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw13/test_unknown_key_binary_unknow0') - - def get_tested_package(name, testdir): - filename = Path(name).name + '-*.rpm' - candidates = list(get_tested_path(name).parent.glob(filename)) -> assert len(candidates) == 1 -E AssertionError - -test/Testing.py:54: AssertionError -__________________________________ test_basic __________________________________ -[gw12] linux -- Python 3.11.9 /usr/bin/python3.11 - - def test_basic(): - objdump = objdumpparser('executable-stack', '/lib64/executable-stack') -> assert not objdump.parsing_failed_reason -E assert not "objdump: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n" -E + where "objdump: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n" = .parsing_failed_reason - -test/test_objdump_parser.py:37: AssertionError -_____________________ test_invalid_signature[binary/hello] _____________________ -[gw0] linux -- Python 3.11.9 /usr/bin/python3.11 - -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_invalid_signature_binary_0') -package = 'binary/hello' -signaturecheck = (, ) - - @pytest.mark.parametrize('package', ['binary/hello']) - def test_invalid_signature(tmp_path, package, signaturecheck): - output, test = signaturecheck -> test.check(get_tested_package(package, tmp_path)) - -test/test_signature.py:47: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -name = 'binary/hello' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_invalid_signature_binary_0') - - def get_tested_package(name, testdir): - filename = Path(name).name + '-*.rpm' - candidates = list(get_tested_path(name).parent.glob(filename)) -> assert len(candidates) == 1 -E AssertionError - -test/Testing.py:54: AssertionError ___________________________ test_call_gethostbyname ____________________________ -[gw10] linux -- Python 3.11.9 /usr/bin/python3.11 +[gw32] linux -- Python 3.11.9 /usr/bin/python3.11 -binariescheck = (, ) +binariescheck = (, ) @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') def test_call_gethostbyname(binariescheck): @@ -4681,102 +4774,40 @@ E assert 'W: binary-or-shlib-calls-gethostbyname' in "fake: E: readelf-failed /usr/bin/hostname readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/hostname': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/hostname': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/hostname': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/hostname': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/hostname': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" test/test_readelf_parser.py:271: AssertionError -_________________________ test_dynamic_section_parsing _________________________ -[gw7] linux -- Python 3.11.9 /usr/bin/python3.11 +__________________________________ test_rpath __________________________________ +[gw19] linux -- Python 3.11.9 /usr/bin/python3.11 - def test_dynamic_section_parsing(): - readelf = readelfparser('libutil-2.29.so', '/lib64/libutil-2.29.so') + def test_rpath(): + readelf = readelfparser('rpath-lib.so', '/lib64/rpath-lib.so') assert readelf.is_shlib assert not readelf.is_archive - sections = readelf.dynamic_section_info.sections -> assert len(sections) == 30 -E assert 0 == 30 +> assert len(readelf.dynamic_section_info.runpaths) == 1 +E assert 0 == 1 E + where 0 = len([]) +E + where [] = .runpaths +E + where = .dynamic_section_info -test/test_readelf_parser.py:71: AssertionError -___________________________ test_no_ldconfig_symlink ___________________________ -[gw11] linux -- Python 3.11.9 /usr/bin/python3.11 - -binariescheck = (, ) - - @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_no_ldconfig_symlink(binariescheck): - output, test = binariescheck - - with FakePkg('libfake') as pkg: - pkgfile = pkg.add_file(get_full_path('libutil-2.29.so'), '/lib64/libutil-2.29.so') - run_elf_checks(test, pkg, pkgfile) - out = output.print_results(output.results) -> assert 'no-ldconfig-symlink /lib64/libutil-2.29.so' in out -E assert 'no-ldconfig-symlink /lib64/libutil-2.29.so' in "libfake: E: readelf-failed /lib64/libutil-2.29.so readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libutil-2.29.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libutil-2.29.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libutil-2.29.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libutil-2.29.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libutil-2.29.so': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" - -test/test_readelf_parser.py:235: AssertionError -________________ test_shlib_policy_wrong_name[binary/libtest1] _________________ -[gw2] linux -- Python 3.11.9 /usr/bin/python3.11 - -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_shlib_policy_wrong_name_b0') -package = 'binary/libtest1' -slpcheck = (, ) - - @pytest.mark.parametrize('package', ['binary/libtest1']) - def test_shlib_policy_wrong_name(tmp_path, package, slpcheck): - output, test = slpcheck -> test.check(get_tested_package(package, tmp_path)) - -test/test_shlib_policy.py:19: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -name = 'binary/libtest1' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_shlib_policy_wrong_name_b0') - - def get_tested_package(name, testdir): - filename = Path(name).name + '-*.rpm' - candidates = list(get_tested_path(name).parent.glob(filename)) -> assert len(candidates) == 1 -E AssertionError - -test/Testing.py:54: AssertionError -________________________________ test_no_soname ________________________________ +test/test_readelf_parser.py:85: AssertionError +_____________________________ test_invalid_soname ______________________________ [gw9] linux -- Python 3.11.9 /usr/bin/python3.11 -binariescheck = (, ) +binariescheck = (, ) @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_no_soname(binariescheck): + def test_invalid_soname(binariescheck): output, test = binariescheck with FakePkg('fake') as pkg: - pkgfile = pkg.add_file(get_full_path('no-soname.so'), '/lib64/no-soname.so') + pkgfile = pkg.add_file(get_full_path('invalid-soname.so'), '/lib64/invalid-soname.so') run_elf_checks(test, pkg, pkgfile) out = output.print_results(output.results) -> assert 'no-soname /lib64/no-soname.so' in out -E assert 'no-soname /lib64/no-soname.so' in "fake: E: readelf-failed /lib64/no-soname.so readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/no-soname.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/no-soname.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/no-soname.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/no-soname.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/no-soname.so': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" - -test/test_readelf_parser.py:203: AssertionError -________________________ test_executable_stack_package _________________________ -[gw12] linux -- Python 3.11.9 /usr/bin/python3.11 - -binariescheck = (, ) - - @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_executable_stack_package(binariescheck): - output, test = binariescheck - - with FakePkg('fake') as pkg: - pkgfile = pkg.add_file(get_full_path('executable-stack'), 'a.out') - run_elf_checks(test, FakePkg('fake'), pkgfile) - out = output.print_results(output.results) - - if 'ldd-failed' in out: - pytest.skip("ldd failed, maybe it's a different architecture") - -> assert 'W: missing-mandatory-optflags a.out -fno-PIE -g -Ofast' in out -E assert 'W: missing-mandatory-optflags a.out -fno-PIE -g -Ofast' in "fake: E: readelf-failed a.out readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/executable-stack': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" +> assert 'invalid-soname /lib64/invalid-soname.so' in out +E assert 'invalid-soname /lib64/invalid-soname.so' in "fake: E: readelf-failed /lib64/invalid-soname.so readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/invalid-soname.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/invalid-soname.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/invalid-soname.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/invalid-soname.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/invalid-soname.so': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" -test/test_objdump_parser.py:58: AssertionError +test/test_readelf_parser.py:213: AssertionError ________________________________ test_bca_files ________________________________ -[gw10] linux -- Python 3.11.9 /usr/bin/python3.11 +[gw26] linux -- Python 3.11.9 /usr/bin/python3.11 -binariescheck = (, ) +binariescheck = (, ) def test_bca_files(binariescheck): output, test = binariescheck @@ -4802,64 +4833,23 @@ E Executing readelf on this file failed, all checks could not be run. test/test_readelf_parser.py:281: AssertionError -_____________________________ test_invalid_soname ______________________________ -[gw9] linux -- Python 3.11.9 /usr/bin/python3.11 - -binariescheck = (, ) - - @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_invalid_soname(binariescheck): - output, test = binariescheck - with FakePkg('fake') as pkg: - pkgfile = pkg.add_file(get_full_path('invalid-soname.so'), '/lib64/invalid-soname.so') - run_elf_checks(test, pkg, pkgfile) - out = output.print_results(output.results) -> assert 'invalid-soname /lib64/invalid-soname.so' in out -E assert 'invalid-soname /lib64/invalid-soname.so' in "fake: E: readelf-failed /lib64/invalid-soname.so readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/invalid-soname.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/invalid-soname.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/invalid-soname.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/invalid-soname.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/invalid-soname.so': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" - -test/test_readelf_parser.py:213: AssertionError -________ test_shlib_policy_missing_suffix[binary/libslp-missing-suffix] ________ -[gw2] linux -- Python 3.11.9 /usr/bin/python3.11 - -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_shlib_policy_missing_suff0') -package = 'binary/libslp-missing-suffix' -slpcheck = (, ) - - @pytest.mark.parametrize('package', ['binary/libslp-missing-suffix']) - def test_shlib_policy_missing_suffix(tmp_path, package, slpcheck): - output, test = slpcheck -> test.check(get_tested_package(package, tmp_path)) - -test/test_shlib_policy.py:27: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -name = 'binary/libslp-missing-suffix' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_shlib_policy_missing_suff0') - - def get_tested_package(name, testdir): - filename = Path(name).name + '-*.rpm' - candidates = list(get_tested_path(name).parent.glob(filename)) -> assert len(candidates) == 1 -E AssertionError - -test/Testing.py:54: AssertionError -_____________________ test_pam_modules[binary/pam-module] ______________________ -[gw12] linux -- Python 3.11.9 /usr/bin/python3.11 +_____________________ test_unknown_key[binary/unknown-key] _____________________ +[gw35] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw12/test_pam_modules_binary_pam_mo0') -package = 'binary/pam-module' -pammodulecheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw35/test_unknown_key_binary_unknow0') +package = 'binary/unknown-key' +signaturecheck = (, ) - @pytest.mark.parametrize('package', ['binary/pam-module']) - def test_pam_modules(tmp_path, package, pammodulecheck): - output, test = pammodulecheck + @pytest.mark.parametrize('package', ['binary/unknown-key']) + def test_unknown_key(tmp_path, package, signaturecheck): + output, test = signaturecheck > test.check(get_tested_package(package, tmp_path)) -test/test_pam_modules.py:19: +test/test_signature.py:32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/pam-module' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw12/test_pam_modules_binary_pam_mo0') +name = 'binary/unknown-key' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw35/test_unknown_key_binary_unknow0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -4868,29 +4858,29 @@ E AssertionError test/Testing.py:54: AssertionError -_______________________________ test_call_mktemp _______________________________ -[gw11] linux -- Python 3.11.9 /usr/bin/python3.11 +_________________________ test_shlib_policy_name_error _________________________ +[gw4] linux -- Python 3.11.9 /usr/bin/python3.11 -binariescheck = (, ) +binariescheck = (, ) @pytest.mark.skipif(not IS_X86_64, reason='x86-64 only') - def test_call_mktemp(binariescheck): + def test_shlib_policy_name_error(binariescheck): output, test = binariescheck - with FakePkg('fake') as pkg: - pkgfile = pkg.add_file(get_full_path('call-mktemp'), '/bin/call-mktemp') + with FakePkg('libgame') as pkg: + pkgfile = pkg.add_file(get_full_path('libgame.so'), '/lib64/libgame.so') run_elf_checks(test, pkg, pkgfile) out = output.print_results(output.results) -> assert 'E: call-to-mktemp /bin/call-mktemp' in out -E assert 'E: call-to-mktemp /bin/call-mktemp' in "fake: E: readelf-failed /bin/call-mktemp readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/call-mktemp': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/call-mktemp': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/call-mktemp': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/call-mktemp': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/call-mktemp': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" +> assert 'libgame: E: shlib-policy-name-error SONAME: libgame2-1.9.so.10.0.0 (/lib64/libgame.so), expected package suffix: 1_9-10_0_0' in out +E assert 'libgame: E: shlib-policy-name-error SONAME: libgame2-1.9.so.10.0.0 (/lib64/libgame.so), expected package suffix: 1_9-10_0_0' in "libgame: E: readelf-failed /lib64/libgame.so readelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libgame.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libgame.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libgame.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libgame.so': No such file\n\nreadelf: Error: '/build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build/test/readelf/libgame.so': No such file\n\nExecuting readelf on this file failed, all checks could not be run.\n\n" -test/test_readelf_parser.py:247: AssertionError +test/test_readelf_parser.py:292: AssertionError _________________ test_sysv_init_on_systemd_check[binary/init] _________________ -[gw8] linux -- Python 3.11.9 /usr/bin/python3.11 +[gw12] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw8/test_sysv_init_on_systemd_chec0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw12/test_sysv_init_on_systemd_chec0') package = 'binary/init' -sysvcheck = (, ) +sysvcheck = (, ) @pytest.mark.parametrize('package', ['binary/init']) def test_sysv_init_on_systemd_check(tmp_path, package, sysvcheck): @@ -4901,7 +4891,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'binary/init' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw8/test_sysv_init_on_systemd_chec0') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw12/test_sysv_init_on_systemd_chec0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -4910,48 +4900,23 @@ E AssertionError test/Testing.py:54: AssertionError -___________ test_useless_provides_only_versions[binary/fuse-common] ____________ -[gw18] linux -- Python 3.11.9 /usr/bin/python3.11 - -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw18/test_useless_provides_only_ver0') -package = 'binary/fuse-common' -tagscheck = (, ) - - @pytest.mark.parametrize('package', ['binary/fuse-common']) - def test_useless_provides_only_versions(tmp_path, package, tagscheck): - output, test = tagscheck -> test.check(get_tested_package(package, tmp_path)) - -test/test_tags.py:42: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -name = 'binary/fuse-common' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw18/test_useless_provides_only_ver0') - - def get_tested_package(name, testdir): - filename = Path(name).name + '-*.rpm' - candidates = list(get_tested_path(name).parent.glob(filename)) -> assert len(candidates) == 1 -E AssertionError - -test/Testing.py:54: AssertionError -__________________ test_development_package[binary/foo-devel] __________________ -[gw3] linux -- Python 3.11.9 /usr/bin/python3.11 +______________ test_overshadowing_of_initscript[binary/rc-links] _______________ +[gw37] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw3/test_development_package_binar0') -package = 'binary/foo-devel' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw37/test_overshadowing_of_initscri0') +package = 'binary/rc-links' +sysvcheck = (, ) - @pytest.mark.parametrize('package', ['binary/foo-devel']) - def test_development_package(tmp_path, package, tagscheck): - output, test = tagscheck + @pytest.mark.parametrize('package', ['binary/rc-links']) + def test_overshadowing_of_initscript(tmp_path, package, sysvcheck): + output, test = sysvcheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:50: +test/test_sysvinitonsystemd.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/foo-devel' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw3/test_development_package_binar0') +name = 'binary/rc-links' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw37/test_overshadowing_of_initscri0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -4960,23 +4925,23 @@ E AssertionError test/Testing.py:54: AssertionError -_ test_forbidden_controlchar_found_changelog[binary/ruby2.6-rubygem-fast_gettext] _ -[gw0] linux -- Python 3.11.9 /usr/bin/python3.11 +__________________ test_unexpanded_macros[binary/unexpanded1] __________________ +[gw26] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_forbidden_controlchar_fou0') -package = 'binary/ruby2.6-rubygem-fast_gettext' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw26/test_unexpanded_macros_binary_0') +package = 'binary/unexpanded1' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/ruby2.6-rubygem-fast_gettext']) - def test_forbidden_controlchar_found_changelog(tmp_path, package, tagscheck): + @pytest.mark.parametrize('package', ['binary/unexpanded1']) + def test_unexpanded_macros(tmp_path, package, tagscheck): output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:117: +test/test_tags.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/ruby2.6-rubygem-fast_gettext' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_forbidden_controlchar_fou0') +name = 'binary/unexpanded1' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw26/test_unexpanded_macros_binary_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -4985,23 +4950,23 @@ E AssertionError test/Testing.py:54: AssertionError -__________________ test_unexpanded_macros[binary/unexpanded1] __________________ -[gw4] linux -- Python 3.11.9 /usr/bin/python3.11 +_______________________ test_self_provides[binary/self] ________________________ +[gw22] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw4/test_unexpanded_macros_binary_0') -package = 'binary/unexpanded1' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw22/test_self_provides_binary_self0') +package = 'binary/self' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/unexpanded1']) - def test_unexpanded_macros(tmp_path, package, tagscheck): + @pytest.mark.parametrize('package', ['binary/self']) + def test_self_provides(tmp_path, package, tagscheck): output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:21: +test/test_tags.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/unexpanded1' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw4/test_unexpanded_macros_binary_0') +name = 'binary/self' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw22/test_self_provides_binary_self0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5010,26 +4975,23 @@ E AssertionError test/Testing.py:54: AssertionError -____________________ test_check_warning[binary/no-url-tag] _____________________ +__________________ test_development_package[binary/foo-devel] __________________ [gw15] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw15/test_check_warning_binary_no_u0') -package = 'binary/no-url-tag' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw15/test_development_package_binar0') +package = 'binary/foo-devel' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/no-url-tag']) - def test_check_warning(tmp_path, package, tagscheck): - """Test if a package contains the warning for - summary-not-capitalized, summary-ended-with-dot, - no-url-tag.""" + @pytest.mark.parametrize('package', ['binary/foo-devel']) + def test_development_package(tmp_path, package, tagscheck): output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:199: +test/test_tags.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/no-url-tag' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw15/test_check_warning_binary_no_u0') +name = 'binary/foo-devel' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw15/test_development_package_binar0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5038,23 +5000,23 @@ E AssertionError test/Testing.py:54: AssertionError -_______________________ test_self_provides[binary/self] ________________________ -[gw1] linux -- Python 3.11.9 /usr/bin/python3.11 +_____________ test_zip1[binary/ruby2.5-rubygem-rubyzip-testsuite] ______________ +[gw17] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_self_provides_binary_self0') -package = 'binary/self' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw17/test_zip1_binary_ruby2_5_rubyg0') +package = 'binary/ruby2.5-rubygem-rubyzip-testsuite' +zipcheck = (, ) - @pytest.mark.parametrize('package', ['binary/self']) - def test_self_provides(tmp_path, package, tagscheck): - output, test = tagscheck + @pytest.mark.parametrize('package', ['binary/ruby2.5-rubygem-rubyzip-testsuite']) + def test_zip1(tmp_path, package, zipcheck): + output, test = zipcheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:34: +test/test_zip.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/self' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_self_provides_binary_self0') +name = 'binary/ruby2.5-rubygem-rubyzip-testsuite' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw17/test_zip1_binary_ruby2_5_rubyg0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5063,23 +5025,23 @@ E AssertionError test/Testing.py:54: AssertionError -______________ test_overshadowing_of_initscript[binary/rc-links] _______________ -[gw16] linux -- Python 3.11.9 /usr/bin/python3.11 +________________ test_missing_provides[binary/missingprovides] _________________ +[gw19] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw16/test_overshadowing_of_initscri0') -package = 'binary/rc-links' -sysvcheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw19/test_missing_provides_binary_m0') +package = 'binary/missingprovides' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/rc-links']) - def test_overshadowing_of_initscript(tmp_path, package, sysvcheck): - output, test = sysvcheck + @pytest.mark.parametrize('package', ['binary/missingprovides']) + def test_missing_provides(tmp_path, package, tagscheck): + output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_sysvinitonsystemd.py:29: +test/test_tags.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/rc-links' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw16/test_overshadowing_of_initscri0') +name = 'binary/missingprovides' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw19/test_missing_provides_binary_m0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5088,24 +5050,23 @@ E AssertionError test/Testing.py:54: AssertionError -___________ test_check_unexpanded_macro[binary/unexpanded-macro-exp] ___________ -[gw7] linux -- Python 3.11.9 /usr/bin/python3.11 +___________________ test_tmpfiles2[binary/systemd-tmpfiles] ____________________ +[gw11] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw7/test_check_unexpanded_macro_bi0') -package = 'binary/unexpanded-macro-exp' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw11/test_tmpfiles2_binary_systemd_0') +package = 'binary/systemd-tmpfiles' +tmpfilescheck = (, ) - @pytest.mark.parametrize('package', ['binary/unexpanded-macro-exp']) - def test_check_unexpanded_macro(tmp_path, package, tagscheck): - """Test if a package has an unexpanded macro in it's specfile.""" - output, test = tagscheck + @pytest.mark.parametrize('package', ['binary/systemd-tmpfiles']) + def test_tmpfiles2(tmp_path, package, tmpfilescheck): + output, test = tmpfilescheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:138: +test/test_tmp_files.py:31: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/unexpanded-macro-exp' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw7/test_check_unexpanded_macro_bi0') +name = 'binary/systemd-tmpfiles' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw11/test_tmpfiles2_binary_systemd_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5114,25 +5075,23 @@ E AssertionError test/Testing.py:54: AssertionError -________________ test_check_misc_warning[binary/misc-warnings] _________________ -[gw18] linux -- Python 3.11.9 /usr/bin/python3.11 +_ test_forbidden_controlchar_found_requires[binary/xtables-addons-kmp-default] _ +[gw16] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw18/test_check_misc_warning_binary0') -package = 'binary/misc-warnings' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw16/test_forbidden_controlchar_fou0') +package = 'binary/xtables-addons-kmp-default' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/misc-warnings']) - def test_check_misc_warning(tmp_path, package, tagscheck): - """Test package for check tag-in-description, - name-repeated-in-summary, invalid-url.""" + @pytest.mark.parametrize('package', ['binary/xtables-addons-kmp-default']) + def test_forbidden_controlchar_found_requires(tmp_path, package, tagscheck): output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:238: +test/test_tags.py:109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/misc-warnings' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw18/test_check_misc_warning_binary0') +name = 'binary/xtables-addons-kmp-default' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw16/test_forbidden_controlchar_fou0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5142,11 +5101,11 @@ test/Testing.py:54: AssertionError ___________ test_invalid_license_exception[binary/invalid-exception] ___________ -[gw5] linux -- Python 3.11.9 /usr/bin/python3.11 +[gw25] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw5/test_invalid_license_exception0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw25/test_invalid_license_exception0') package = 'binary/invalid-exception' -tagscheck = (, ) +tagscheck = (, ) @pytest.mark.parametrize('package', ['binary/invalid-exception']) def test_invalid_license_exception(tmp_path, package, tagscheck): @@ -5157,7 +5116,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'binary/invalid-exception' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw5/test_invalid_license_exception0') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw25/test_invalid_license_exception0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5166,25 +5125,24 @@ E AssertionError test/Testing.py:54: AssertionError -__________ test_check_misc_warning_not_found[binary/misc-no-warnings] __________ -[gw3] linux -- Python 3.11.9 /usr/bin/python3.11 +__________________ test_check_errors[binary/invalid-version] ___________________ +[gw30] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw3/test_check_misc_warning_not_fo0') -package = 'binary/misc-no-warnings' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw30/test_check_errors_binary_inval0') +package = 'binary/invalid-version' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/misc-no-warnings']) - def test_check_misc_warning_not_found(tmp_path, package, tagscheck): - """Test package for check not in out - tag-in-description, name-repeated-in-summary, invalid-url.""" + @pytest.mark.parametrize('package', ['binary/invalid-version']) + def test_check_errors(tmp_path, package, tagscheck): + """Test package for check invalid-version.""" output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:253: +test/test_tags.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/misc-no-warnings' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw3/test_check_misc_warning_not_fo0') +name = 'binary/invalid-version' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw30/test_check_errors_binary_inval0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5193,30 +5151,23 @@ E AssertionError test/Testing.py:54: AssertionError -______________ test_check_summary_warning[binary/summary-warning] ______________ -[gw8] linux -- Python 3.11.9 /usr/bin/python3.11 +___________ test_useless_provides_only_versions[binary/fuse-common] ____________ +[gw2] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw8/test_check_summary_warning_bin0') -package = 'binary/summary-warning' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw2/test_useless_provides_only_ver0') +package = 'binary/fuse-common' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/summary-warning']) - def test_check_summary_warning(tmp_path, package, tagscheck): - """Test package for check - - in out, - summary-too-long, summary-has-leading-spaces, - description-shorter-than-summary, - - not in out - invalid-version, unexpanded-macro. - """ + @pytest.mark.parametrize('package', ['binary/fuse-common']) + def test_useless_provides_only_versions(tmp_path, package, tagscheck): output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:175: +test/test_tags.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/summary-warning' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw8/test_check_summary_warning_bin0') +name = 'binary/fuse-common' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw2/test_useless_provides_only_ver0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5225,26 +5176,28 @@ E AssertionError test/Testing.py:54: AssertionError -_____________ test_valid_license_exception[binary/valid-exception] _____________ -[gw2] linux -- Python 3.11.9 /usr/bin/python3.11 +_____________ test_check_errors_not_found[binary/invalid-la-file] ______________ +[gw28] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_valid_license_exception_b0') -package = 'binary/valid-exception' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw28/test_check_errors_not_found_bi0') +package = 'binary/invalid-la-file' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/valid-exception']) - def test_valid_license_exception(tmp_path, package, tagscheck): - CONFIG.info = True - CONFIG.configuration['ValidLicenseExceptions'] = ['389-exception'] - output = Filter(CONFIG) - test = TagsCheck(CONFIG, output) + @pytest.mark.parametrize('package', ['binary/invalid-la-file']) + def test_check_errors_not_found(tmp_path, package, tagscheck): + """Test packages for checks + summary-too-long, summary-not-capitalized, + summary-ended-with-dot, summary-has-leading-spaces, + no-url-tag, description-shorter-than-summary. + """ + output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:77: +test/test_tags.py:217: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/valid-exception' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_valid_license_exception_b0') +name = 'binary/invalid-la-file' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw28/test_check_errors_not_found_bi0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5253,28 +5206,30 @@ E AssertionError test/Testing.py:54: AssertionError -_____________ test_check_errors_not_found[binary/invalid-la-file] ______________ -[gw19] linux -- Python 3.11.9 /usr/bin/python3.11 +______________ test_check_summary_warning[binary/summary-warning] ______________ +[gw36] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw19/test_check_errors_not_found_bi0') -package = 'binary/invalid-la-file' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw36/test_check_summary_warning_bin0') +package = 'binary/summary-warning' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/invalid-la-file']) - def test_check_errors_not_found(tmp_path, package, tagscheck): - """Test packages for checks - summary-too-long, summary-not-capitalized, - summary-ended-with-dot, summary-has-leading-spaces, - no-url-tag, description-shorter-than-summary. + @pytest.mark.parametrize('package', ['binary/summary-warning']) + def test_check_summary_warning(tmp_path, package, tagscheck): + """Test package for check + - in out, + summary-too-long, summary-has-leading-spaces, + description-shorter-than-summary, + - not in out + invalid-version, unexpanded-macro. """ output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:217: +test/test_tags.py:175: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/invalid-la-file' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw19/test_check_errors_not_found_bi0') +name = 'binary/summary-warning' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw36/test_check_summary_warning_bin0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5283,30 +5238,23 @@ E AssertionError test/Testing.py:54: AssertionError -______________ test_check_invalid_license[binary/invalid-license] ______________ -[gw14] linux -- Python 3.11.9 /usr/bin/python3.11 +_____________ test_forbidden_controlchar_found[binary/SpecCheck4] ______________ +[gw9] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw14/test_check_invalid_license_bin0') -package = 'binary/invalid-license' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw9/test_forbidden_controlchar_fou0') +package = 'binary/SpecCheck4' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/invalid-license']) - def test_check_invalid_license(tmp_path, package, tagscheck): - """Test if a package check, - - in out, - invalid-license, - - not in out, - requires-on-release.""" - CONFIG.configuration['ValidLicenses'] = ['MIT'] - output = Filter(CONFIG) - test = TagsCheck(CONFIG, output) + @pytest.mark.parametrize('package', ['binary/SpecCheck4']) + def test_forbidden_controlchar_found(tmp_path, package, tagscheck): + output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:353: +test/test_tags.py:125: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/invalid-license' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw14/test_check_invalid_license_bin0') +name = 'binary/SpecCheck4' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw9/test_forbidden_controlchar_fou0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5315,32 +5263,24 @@ E AssertionError test/Testing.py:54: AssertionError -_______________ test_package_random_warnings[binary/random-exp] ________________ -[gw15] linux -- Python 3.11.9 /usr/bin/python3.11 +_______ test_summary_on_multiple_lines[binary/summary-on-multiple-lines] _______ +[gw20] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw15/test_package_random_warnings_b0') -package = 'binary/random-exp' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw20/test_summary_on_multiple_lines0') +package = 'binary/summary-on-multiple-lines' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/random-exp']) - def test_package_random_warnings(tmp_path, package, tagscheck): - """Test if a package has check, - - in out, - obsolete-not-provided - description-line-too-long, - - not in out, - invalid-dependency, - unreasonable-epoch, - no-description-tag, - self-obsoletion.""" + @pytest.mark.parametrize('package', ['binary/summary-on-multiple-lines']) + def test_summary_on_multiple_lines(tmp_path, package, tagscheck): + # Test if a package has summary on multiple lines. output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:290: +test/test_tags.py:423: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/random-exp' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw15/test_package_random_warnings_b0') +name = 'binary/summary-on-multiple-lines' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw20/test_summary_on_multiple_lines0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5349,23 +5289,25 @@ E AssertionError test/Testing.py:54: AssertionError -_ test_forbidden_controlchar_found_requires[binary/xtables-addons-kmp-default] _ -[gw6] linux -- Python 3.11.9 /usr/bin/python3.11 +__________ test_check_misc_warning_not_found[binary/misc-no-warnings] __________ +[gw33] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw6/test_forbidden_controlchar_fou0') -package = 'binary/xtables-addons-kmp-default' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw33/test_check_misc_warning_not_fo0') +package = 'binary/misc-no-warnings' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/xtables-addons-kmp-default']) - def test_forbidden_controlchar_found_requires(tmp_path, package, tagscheck): + @pytest.mark.parametrize('package', ['binary/misc-no-warnings']) + def test_check_misc_warning_not_found(tmp_path, package, tagscheck): + """Test package for check not in out + tag-in-description, name-repeated-in-summary, invalid-url.""" output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:109: +test/test_tags.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/xtables-addons-kmp-default' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw6/test_forbidden_controlchar_fou0') +name = 'binary/misc-no-warnings' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw33/test_check_misc_warning_not_fo0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5374,30 +5316,23 @@ E AssertionError test/Testing.py:54: AssertionError -_________________ test_package_random_exp[binary/random-devel] _________________ -[gw17] linux -- Python 3.11.9 /usr/bin/python3.11 +_ test_forbidden_controlchar_found_changelog[binary/ruby2.6-rubygem-fast_gettext] _ +[gw13] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw17/test_package_random_exp_binary0') -package = 'binary/random-devel' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw13/test_forbidden_controlchar_fou0') +package = 'binary/ruby2.6-rubygem-fast_gettext' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/random-devel']) - def test_package_random_exp(tmp_path, package, tagscheck): - """Test if a package check, - - in out, - self-obsoletion, - - not in out, - obsolete-not-provided, - description-line-too-long, - devel-dependency.""" + @pytest.mark.parametrize('package', ['binary/ruby2.6-rubygem-fast_gettext']) + def test_forbidden_controlchar_found_changelog(tmp_path, package, tagscheck): output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:318: +test/test_tags.py:117: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/random-devel' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw17/test_package_random_exp_binary0') +name = 'binary/ruby2.6-rubygem-fast_gettext' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw13/test_forbidden_controlchar_fou0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5406,24 +5341,25 @@ E AssertionError test/Testing.py:54: AssertionError -__________________ test_check_errors[binary/invalid-version] ___________________ -[gw0] linux -- Python 3.11.9 /usr/bin/python3.11 +___________ test_check_invalid_dependency[binary/invalid-dependency] ___________ +[gw32] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_check_errors_binary_inval0') -package = 'binary/invalid-version' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw32/test_check_invalid_dependency_0') +package = 'binary/invalid-dependency' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/invalid-version']) - def test_check_errors(tmp_path, package, tagscheck): - """Test package for check invalid-version.""" + @pytest.mark.parametrize('package', ['binary/invalid-dependency']) + def test_check_invalid_dependency(tmp_path, package, tagscheck): + """Test if a package has + invalid-dependency, no-description-tag, unreasonable-epoch.""" output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:156: +test/test_tags.py:268: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/invalid-version' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_check_errors_binary_inval0') +name = 'binary/invalid-dependency' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw32/test_check_invalid_dependency_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5433,11 +5369,11 @@ test/Testing.py:54: AssertionError __________ test_check_requires_on_release[binary/requires-on-release] __________ -[gw9] linux -- Python 3.11.9 /usr/bin/python3.11 +[gw4] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw9/test_check_requires_on_release0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw4/test_check_requires_on_release0') package = 'binary/requires-on-release' -tagscheck = (, ) +tagscheck = (, ) @pytest.mark.parametrize('package', ['binary/requires-on-release']) def test_check_requires_on_release(tmp_path, package, tagscheck): @@ -5451,7 +5387,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'binary/requires-on-release' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw9/test_check_requires_on_release0') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw4/test_check_requires_on_release0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5460,23 +5396,25 @@ E AssertionError test/Testing.py:54: AssertionError -________________ test_missing_provides[binary/missingprovides] _________________ -[gw13] linux -- Python 3.11.9 /usr/bin/python3.11 +________________ test_check_misc_warning[binary/misc-warnings] _________________ +[gw41] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw13/test_missing_provides_binary_m0') -package = 'binary/missingprovides' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw41/test_check_misc_warning_binary0') +package = 'binary/misc-warnings' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/missingprovides']) - def test_missing_provides(tmp_path, package, tagscheck): + @pytest.mark.parametrize('package', ['binary/misc-warnings']) + def test_check_misc_warning(tmp_path, package, tagscheck): + """Test package for check tag-in-description, + name-repeated-in-summary, invalid-url.""" output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:58: +test/test_tags.py:238: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/missingprovides' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw13/test_missing_provides_binary_m0') +name = 'binary/misc-warnings' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw41/test_check_misc_warning_binary0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5485,25 +5423,32 @@ E AssertionError test/Testing.py:54: AssertionError -___________ test_check_invalid_dependency[binary/invalid-dependency] ___________ -[gw1] linux -- Python 3.11.9 /usr/bin/python3.11 +_______________ test_package_random_warnings[binary/random-exp] ________________ +[gw39] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_check_invalid_dependency_0') -package = 'binary/invalid-dependency' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw39/test_package_random_warnings_b0') +package = 'binary/random-exp' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/invalid-dependency']) - def test_check_invalid_dependency(tmp_path, package, tagscheck): - """Test if a package has - invalid-dependency, no-description-tag, unreasonable-epoch.""" + @pytest.mark.parametrize('package', ['binary/random-exp']) + def test_package_random_warnings(tmp_path, package, tagscheck): + """Test if a package has check, + - in out, + obsolete-not-provided + description-line-too-long, + - not in out, + invalid-dependency, + unreasonable-epoch, + no-description-tag, + self-obsoletion.""" output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:268: +test/test_tags.py:290: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/invalid-dependency' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_check_invalid_dependency_0') +name = 'binary/random-exp' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw39/test_package_random_warnings_b0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5512,31 +5457,30 @@ E AssertionError test/Testing.py:54: AssertionError -___________ test_check_non_standard_group[binary/non-standard-group] ___________ -[gw16] linux -- Python 3.11.9 /usr/bin/python3.11 +_________________ test_package_random_exp[binary/random-devel] _________________ +[gw18] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw16/test_check_non_standard_group_0') -package = 'binary/non-standard-group' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw18/test_package_random_exp_binary0') +package = 'binary/random-devel' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/non-standard-group']) - def test_check_non_standard_group(tmp_path, package, tagscheck): - """Test if a package has check, + @pytest.mark.parametrize('package', ['binary/random-devel']) + def test_package_random_exp(tmp_path, package, tagscheck): + """Test if a package check, - in out, - non-standard-group + self-obsoletion, - not in out, - not-standard-release-extension.""" - CONFIG.configuration['ValidGroups'] = ['Devel/Something'] - CONFIG.configuration['ReleaseExtension'] = '0' - output = Filter(CONFIG) - test = TagsCheck(CONFIG, output) + obsolete-not-provided, + description-line-too-long, + devel-dependency.""" + output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:393: +test/test_tags.py:318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/non-standard-group' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw16/test_check_non_standard_group_0') +name = 'binary/random-devel' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw18/test_package_random_exp_binary0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5545,23 +5489,48 @@ E AssertionError test/Testing.py:54: AssertionError -_______________________ test_tmpfiles[binary/tempfiled] ________________________ +____________________ test_zip2[binary/texlive-codepage-doc] ____________________ +[gw26] linux -- Python 3.11.9 /usr/bin/python3.11 + +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw26/test_zip2_binary_texlive_codep0') +package = 'binary/texlive-codepage-doc' +zipcheck = (, ) + + @pytest.mark.parametrize('package', ['binary/texlive-codepage-doc']) + def test_zip2(tmp_path, package, zipcheck): + output, test = zipcheck +> test.check(get_tested_package(package, tmp_path)) + +test/test_zip.py:57: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +name = 'binary/texlive-codepage-doc' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw26/test_zip2_binary_texlive_codep0') + + def get_tested_package(name, testdir): + filename = Path(name).name + '-*.rpm' + candidates = list(get_tested_path(name).parent.glob(filename)) +> assert len(candidates) == 1 +E AssertionError + +test/Testing.py:54: AssertionError +__________ test_bad_crc_and_compression[binary/bad-crc-uncompressed] ___________ [gw12] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw12/test_tmpfiles_binary_tempfiled0') -package = 'binary/tempfiled' -tmpfilescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw12/test_bad_crc_and_compression_b0') +package = 'binary/bad-crc-uncompressed' +zipcheck = (, ) - @pytest.mark.parametrize('package', ['binary/tempfiled']) - def test_tmpfiles(tmp_path, package, tmpfilescheck): - output, test = tmpfilescheck + @pytest.mark.parametrize('package', ['binary/bad-crc-uncompressed']) + def test_bad_crc_and_compression(tmp_path, package, zipcheck): + output, test = zipcheck > test.check(get_tested_package(package, tmp_path)) -test/test_tmp_files.py:19: +test/test_zip.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/tempfiled' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw12/test_tmpfiles_binary_tempfiled0') +name = 'binary/bad-crc-uncompressed' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw12/test_bad_crc_and_compression_b0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5570,24 +5539,26 @@ E AssertionError test/Testing.py:54: AssertionError -_______ test_summary_on_multiple_lines[binary/summary-on-multiple-lines] _______ -[gw17] linux -- Python 3.11.9 /usr/bin/python3.11 +____________________ test_check_warning[binary/no-url-tag] _____________________ +[gw7] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw17/test_summary_on_multiple_lines0') -package = 'binary/summary-on-multiple-lines' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw7/test_check_warning_binary_no_u0') +package = 'binary/no-url-tag' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/summary-on-multiple-lines']) - def test_summary_on_multiple_lines(tmp_path, package, tagscheck): - # Test if a package has summary on multiple lines. + @pytest.mark.parametrize('package', ['binary/no-url-tag']) + def test_check_warning(tmp_path, package, tagscheck): + """Test if a package contains the warning for + summary-not-capitalized, summary-ended-with-dot, + no-url-tag.""" output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:423: +test/test_tags.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/summary-on-multiple-lines' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw17/test_summary_on_multiple_lines0') +name = 'binary/no-url-tag' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw7/test_check_warning_binary_no_u0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5596,23 +5567,26 @@ E AssertionError test/Testing.py:54: AssertionError -_____________________ test_classpath_and_index[binary/asm] _____________________ -[gw0] linux -- Python 3.11.9 /usr/bin/python3.11 +_____________ test_valid_license_exception[binary/valid-exception] _____________ +[gw35] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_classpath_and_index_binar0') -package = 'binary/asm' -zipcheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw35/test_valid_license_exception_b0') +package = 'binary/valid-exception' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/asm']) - def test_classpath_and_index(tmp_path, package, zipcheck): - output, test = zipcheck + @pytest.mark.parametrize('package', ['binary/valid-exception']) + def test_valid_license_exception(tmp_path, package, tagscheck): + CONFIG.info = True + CONFIG.configuration['ValidLicenseExceptions'] = ['389-exception'] + output = Filter(CONFIG) + test = TagsCheck(CONFIG, output) > test.check(get_tested_package(package, tmp_path)) -test/test_zip.py:32: +test/test_tags.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/asm' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_classpath_and_index_binar0') +name = 'binary/valid-exception' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw35/test_valid_license_exception_b0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5621,23 +5595,24 @@ E AssertionError test/Testing.py:54: AssertionError -__________ test_bad_crc_and_compression[binary/bad-crc-uncompressed] ___________ -[gw19] linux -- Python 3.11.9 /usr/bin/python3.11 +___________ test_check_unexpanded_macro[binary/unexpanded-macro-exp] ___________ +[gw27] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw19/test_bad_crc_and_compression_b0') -package = 'binary/bad-crc-uncompressed' -zipcheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw27/test_check_unexpanded_macro_bi0') +package = 'binary/unexpanded-macro-exp' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/bad-crc-uncompressed']) - def test_bad_crc_and_compression(tmp_path, package, zipcheck): - output, test = zipcheck + @pytest.mark.parametrize('package', ['binary/unexpanded-macro-exp']) + def test_check_unexpanded_macro(tmp_path, package, tagscheck): + """Test if a package has an unexpanded macro in it's specfile.""" + output, test = tagscheck > test.check(get_tested_package(package, tmp_path)) -test/test_zip.py:19: +test/test_tags.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/bad-crc-uncompressed' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw19/test_bad_crc_and_compression_b0') +name = 'binary/unexpanded-macro-exp' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw27/test_check_unexpanded_macro_bi0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5646,23 +5621,23 @@ E AssertionError test/Testing.py:54: AssertionError -________________________ test_xinetd[binary/needxinetd] ________________________ -[gw3] linux -- Python 3.11.9 /usr/bin/python3.11 +_____________________ test_classpath_and_index[binary/asm] _____________________ +[gw15] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw3/test_xinetd_binary_needxinetd_0') -package = 'binary/needxinetd' -xinetdcheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw15/test_classpath_and_index_binar0') +package = 'binary/asm' +zipcheck = (, ) - @pytest.mark.parametrize('package', ['binary/needxinetd']) - def test_xinetd(tmp_path, package, xinetdcheck): - output, test = xinetdcheck + @pytest.mark.parametrize('package', ['binary/asm']) + def test_classpath_and_index(tmp_path, package, zipcheck): + output, test = zipcheck > test.check(get_tested_package(package, tmp_path)) -test/test_xinetd.py:19: +test/test_zip.py:32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/needxinetd' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw3/test_xinetd_binary_needxinetd_0') +name = 'binary/asm' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw15/test_classpath_and_index_binar0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5671,23 +5646,23 @@ E AssertionError test/Testing.py:54: AssertionError -____________________ test_zip2[binary/texlive-codepage-doc] ____________________ -[gw9] linux -- Python 3.11.9 /usr/bin/python3.11 +_______________________ test_tmpfiles[binary/tempfiled] ________________________ +[gw0] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw9/test_zip2_binary_texlive_codep0') -package = 'binary/texlive-codepage-doc' -zipcheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw0/test_tmpfiles_binary_tempfiled0') +package = 'binary/tempfiled' +tmpfilescheck = (, ) - @pytest.mark.parametrize('package', ['binary/texlive-codepage-doc']) - def test_zip2(tmp_path, package, zipcheck): - output, test = zipcheck + @pytest.mark.parametrize('package', ['binary/tempfiled']) + def test_tmpfiles(tmp_path, package, tmpfilescheck): + output, test = tmpfilescheck > test.check(get_tested_package(package, tmp_path)) -test/test_zip.py:57: +test/test_tmp_files.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/texlive-codepage-doc' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw9/test_zip2_binary_texlive_codep0') +name = 'binary/tempfiled' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw0/test_tmpfiles_binary_tempfiled0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5696,23 +5671,23 @@ E AssertionError test/Testing.py:54: AssertionError -___________________ test_tmpfiles2[binary/systemd-tmpfiles] ____________________ -[gw18] linux -- Python 3.11.9 /usr/bin/python3.11 +____________ test_tmpfiles_correct[binary/systemd-tmpfiles_correct] ____________ +[gw40] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw18/test_tmpfiles2_binary_systemd_0') -package = 'binary/systemd-tmpfiles' -tmpfilescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw40/test_tmpfiles_correct_binary_s0') +package = 'binary/systemd-tmpfiles_correct' +tmpfilescheck = (, ) - @pytest.mark.parametrize('package', ['binary/systemd-tmpfiles']) - def test_tmpfiles2(tmp_path, package, tmpfilescheck): + @pytest.mark.parametrize('package', ['binary/systemd-tmpfiles_correct']) + def test_tmpfiles_correct(tmp_path, package, tmpfilescheck): output, test = tmpfilescheck > test.check(get_tested_package(package, tmp_path)) -test/test_tmp_files.py:31: +test/test_tmp_files.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/systemd-tmpfiles' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw18/test_tmpfiles2_binary_systemd_0') +name = 'binary/systemd-tmpfiles_correct' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw40/test_tmpfiles_correct_binary_s0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5721,23 +5696,23 @@ E AssertionError test/Testing.py:54: AssertionError -_____________ test_forbidden_controlchar_found[binary/SpecCheck4] ______________ -[gw10] linux -- Python 3.11.9 /usr/bin/python3.11 +________________________ test_xinetd[binary/needxinetd] ________________________ +[gw8] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw10/test_forbidden_controlchar_fou0') -package = 'binary/SpecCheck4' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw8/test_xinetd_binary_needxinetd_0') +package = 'binary/needxinetd' +xinetdcheck = (, ) - @pytest.mark.parametrize('package', ['binary/SpecCheck4']) - def test_forbidden_controlchar_found(tmp_path, package, tagscheck): - output, test = tagscheck + @pytest.mark.parametrize('package', ['binary/needxinetd']) + def test_xinetd(tmp_path, package, xinetdcheck): + output, test = xinetdcheck > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:125: +test/test_xinetd.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/SpecCheck4' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw10/test_forbidden_controlchar_fou0') +name = 'binary/needxinetd' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw8/test_xinetd_binary_needxinetd_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5749,9 +5724,9 @@ ______________ test_package_dev_dependency[binary/dev-dependency] ______________ [gw5] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw5/test_package_dev_dependency_bi0') +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw5/test_package_dev_dependency_bi0') package = 'binary/dev-dependency' -tagscheck = (, ) +tagscheck = (, ) @pytest.mark.parametrize('package', ['binary/dev-dependency']) def test_package_dev_dependency(tmp_path, package, tagscheck): @@ -5769,7 +5744,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'binary/dev-dependency' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw5/test_package_dev_dependency_bi0') +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw5/test_package_dev_dependency_bi0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5778,23 +5753,31 @@ E AssertionError test/Testing.py:54: AssertionError -_____________ test_zip1[binary/ruby2.5-rubygem-rubyzip-testsuite] ______________ -[gw13] linux -- Python 3.11.9 /usr/bin/python3.11 +_ test_package_not_std_release_extension[binary/not-standard-release-extension] _ +[gw3] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw13/test_zip1_binary_ruby2_5_rubyg0') -package = 'binary/ruby2.5-rubygem-rubyzip-testsuite' -zipcheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw3/test_package_not_std_release_e0') +package = 'binary/not-standard-release-extension' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/ruby2.5-rubygem-rubyzip-testsuite']) - def test_zip1(tmp_path, package, zipcheck): - output, test = zipcheck + @pytest.mark.parametrize('package', ['binary/not-standard-release-extension']) + def test_package_not_std_release_extension(tmp_path, package, tagscheck): + """Test if package has check, + - in out, + not-standard-release-extension + - not in out, + invalid-license.""" + CONFIG.configuration['ReleaseExtension'] = 'hello$' + CONFIG.configuration['ValidLicenses'] = ['Apache-2.0 License'] + output = Filter(CONFIG) + test = TagsCheck(CONFIG, output) > test.check(get_tested_package(package, tmp_path)) -test/test_zip.py:44: +test/test_tags.py:373: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/ruby2.5-rubygem-rubyzip-testsuite' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw13/test_zip1_binary_ruby2_5_rubyg0') +name = 'binary/not-standard-release-extension' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw3/test_package_not_std_release_e0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5803,23 +5786,30 @@ E AssertionError test/Testing.py:54: AssertionError -____________ test_tmpfiles_correct[binary/systemd-tmpfiles_correct] ____________ -[gw14] linux -- Python 3.11.9 /usr/bin/python3.11 +______________ test_check_invalid_license[binary/invalid-license] ______________ +[gw38] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw14/test_tmpfiles_correct_binary_s0') -package = 'binary/systemd-tmpfiles_correct' -tmpfilescheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw38/test_check_invalid_license_bin0') +package = 'binary/invalid-license' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/systemd-tmpfiles_correct']) - def test_tmpfiles_correct(tmp_path, package, tmpfilescheck): - output, test = tmpfilescheck + @pytest.mark.parametrize('package', ['binary/invalid-license']) + def test_check_invalid_license(tmp_path, package, tagscheck): + """Test if a package check, + - in out, + invalid-license, + - not in out, + requires-on-release.""" + CONFIG.configuration['ValidLicenses'] = ['MIT'] + output = Filter(CONFIG) + test = TagsCheck(CONFIG, output) > test.check(get_tested_package(package, tmp_path)) -test/test_tmp_files.py:43: +test/test_tags.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/systemd-tmpfiles_correct' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw14/test_tmpfiles_correct_binary_s0') +name = 'binary/invalid-license' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw38/test_check_invalid_license_bin0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5828,31 +5818,31 @@ E AssertionError test/Testing.py:54: AssertionError -_ test_package_not_std_release_extension[binary/not-standard-release-extension] _ -[gw4] linux -- Python 3.11.9 /usr/bin/python3.11 +___________ test_check_non_standard_group[binary/non-standard-group] ___________ +[gw34] linux -- Python 3.11.9 /usr/bin/python3.11 -tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw4/test_package_not_std_release_e0') -package = 'binary/not-standard-release-extension' -tagscheck = (, ) +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw34/test_check_non_standard_group_0') +package = 'binary/non-standard-group' +tagscheck = (, ) - @pytest.mark.parametrize('package', ['binary/not-standard-release-extension']) - def test_package_not_std_release_extension(tmp_path, package, tagscheck): - """Test if package has check, + @pytest.mark.parametrize('package', ['binary/non-standard-group']) + def test_check_non_standard_group(tmp_path, package, tagscheck): + """Test if a package has check, - in out, - not-standard-release-extension + non-standard-group - not in out, - invalid-license.""" - CONFIG.configuration['ReleaseExtension'] = 'hello$' - CONFIG.configuration['ValidLicenses'] = ['Apache-2.0 License'] + not-standard-release-extension.""" + CONFIG.configuration['ValidGroups'] = ['Devel/Something'] + CONFIG.configuration['ReleaseExtension'] = '0' output = Filter(CONFIG) test = TagsCheck(CONFIG, output) > test.check(get_tested_package(package, tmp_path)) -test/test_tags.py:373: +test/test_tags.py:393: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -name = 'binary/not-standard-release-extension' -testdir = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw4/test_package_not_std_release_e0') +name = 'binary/non-standard-group' +testdir = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/popen-gw34/test_check_non_standard_group_0') def get_tested_package(name, testdir): filename = Path(name).name + '-*.rpm' @@ -5922,161 +5912,161 @@ TOTAL 5446 2190 60% =========================== short test summary info ============================ -FAILED test/test_FHS.py::test_FHS_compliance[binary/non-fhs] - AssertionError -FAILED test/test_alternatives.py::test_non_update_alternative_pkg[binary/self] +FAILED test/test_files.py::test_pyc_magic_from_chunk[37-3393] - FileNotFoundE... +FAILED test/test_files.py::test_pyc_mtime_from_chunk[37-1519778958] - FileNot... +FAILED test/test_files.py::test_unexpanded_macros[binary/unexpanded-macro-files] FAILED test/test_binaries.py::test_shlib_with_no_exec_glibc[binary/glibc] - A... -FAILED test/test_LSB.py::test_LSB_compliance[binary/fPing] - AssertionError -FAILED test/test_binaries.py::test_lto_ghc_archive[binary/ghc] - AssertionError +FAILED test/test_binaries.py::test_multiple_errors[binary/multiple_errors] - ... FAILED test/test_build_date.py::test_build_date_time[binary/builddate] - Asse... -FAILED test/test_alternatives.py::test_update_alternatives_correctness[binary/python39-evtx] -FAILED test/test_files.py::test_makefile_junk[binary/makefile-junk] - Asserti... -FAILED test/test_dbus_policy.py::test_dbus_policy[binary/dbusrule] - Assertio... -FAILED test/test_files.py::test_zero_length_ignore[/etc/security/console.apps-False-binary/file-zero-length] -FAILED test/test_doc.py::test_doc_file_dep[binary/doc-file-dependency] - Asse... -FAILED test/test_erlang.py::test_erlang[binary/erlang-test] - AssertionError -FAILED test/test_files.py::test_provides_devel[binary/development] - Assertio... -FAILED test/test_appdata.py::test_appdata_fail_no_checker[binary/appdata] - A... -FAILED test/test_binaries.py::test_forbidden_c_calls[binary/crypto-policy] - ... -FAILED test/test_alternatives.py::test_update_alternative_ok[binary/alternatives-ok] -FAILED test/test_binaries.py::test_no_binary[binary/no-binary] - AssertionError FAILED test/test_build_date.py::test_build_date_time_correct[binary/bashisms] -FAILED test/test_files.py::test_pyc_magic_from_chunk[37-3393] - FileNotFoundE... +FAILED test/test_appdata.py::test_appdata_fail_no_checker[binary/appdata] - A... FAILED test/test_files.py::test_shlib1[binary/shlib1] - AssertionError -FAILED test/test_alternatives.py::test_libalternative_ok[binary/libalternatives-ok] -FAILED test/test_binaries.py::test_libtool_wrapper[binary/libtool-wrapper] - ... -FAILED test/test_doc.py::test_install_file_in_docs[binary/install-file-in-docs] -FAILED test/test_files.py::test_sphinx_inv_files[binary/python3-greenlet] - A... -FAILED test/test_binaries.py::test_position_independent_executable[binary/bcc-lua] -FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/.nosearch-False-binary/file-zero-length] +FAILED test/test_files.py::test_makefile_junk[binary/makefile-junk] - Asserti... +FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/emptyfile-True-binary/file-zero-length] FAILED test/test_binaries.py::test_invalid_ldconfig_symlink[binary/libtest3] -FAILED test/test_alternatives.py::test_update_alternative_borked[binary/alternatives-borked] -FAILED test/test_files.py::test_unexpanded_macros[binary/unexpanded-macro-files] -FAILED test/test_files.py::test_shlib2_devel[binary/shlib2-devel] - Assertion... -FAILED test/test_binaries.py::test_waived_forbidden_c_calls[binary/ngircd] - ... -FAILED test/test_binaries.py::test_no_arch_issues[binary/noarch] - AssertionE... -FAILED test/test_diff.py::test_distribution_tags - SystemExit: 2 FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/python/__init__.py-False-binary/file-zero-length] -FAILED test/test_filter.py::test_filtered_output - AssertionError -FAILED test/test_binaries.py::test_non_position_independent[binary/non-position-independent-exec] -FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/emptyfile-True-binary/file-zero-length] -FAILED test/test_binaries.py::test_invalid_la_file[binary/invalid-la-file] - ... -FAILED test/test_filter.py::test_data_storing - AssertionError +FAILED test/test_filter.py::test_description_storing - AssertionError +FAILED test/test_binaries.py::test_forbidden_c_calls[binary/crypto-policy] - ... FAILED test/test_files.py::test_pyc_mtime_from_chunk[36-1513659236] - FileNot... -FAILED test/test_files.py::test_rust_files[binary/rust] - AssertionError -FAILED test/test_build_root.py::test_build_root[binary/buildroot] - Assertion... -FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/ruby/gem.build_complete-False-binary/file-zero-length] -FAILED test/test_binaries.py::test_not_valid_ldconfig_symlink[binary/libtest4] -FAILED test/test_diff.py::test_exclude - SystemExit: 2 -FAILED test/test_files.py::test_invalid_package[binary/filechecks] - Assertio... -FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/python/py.typed-False-binary/file-zero-length] +FAILED test/test_binaries.py::test_patchable_function_entry_archive[binary/libtest] +FAILED test/test_erlang.py::test_erlang[binary/erlang-test] - AssertionError FAILED test/test_files.py::test_python_bytecode_magic[binary/python3-power] -FAILED test/test_binaries.py::test_only_non_binary_in_usr_lib[binary/only-non-binary-in-usr-lib] -FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/nonemptyfile-False-binary/file-zero-length] -FAILED test/test_filter.py::test_description_storing - AssertionError -FAILED test/test_alternatives.py::test_libalternative_borked[binary/libalternatives-borked] -FAILED test/test_binaries.py::test_lto_bytecode[binary/libreiserfscore-devel] -FAILED test/test_binaries.py::test_shlib_with_no_exec[binary/libnoexec] - Ass... +FAILED test/test_files.py::test_devel_files[binary/netmask-debugsource] - Ass... +FAILED test/test_FHS.py::test_FHS_compliance[binary/non-fhs] - AssertionError +FAILED test/test_dbus_policy.py::test_dbus_policy[binary/dbusrule] - Assertio... +FAILED test/test_alternatives.py::test_non_update_alternative_pkg[binary/self] +FAILED test/test_alternatives.py::test_update_alternative_ok[binary/alternatives-ok] +FAILED test/test_binaries.py::test_position_independent_executable[binary/bcc-lua] +FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED-False-binary/file-zero-length] +FAILED test/test_binaries.py::test_no_arch_issues[binary/noarch] - AssertionE... FAILED test/test_files.py::test_manual_pages[binary/manual-pages] - Assertion... -FAILED test/test_filter.py::test_blocked_filters - AssertionError -FAILED test/test_files.py::test_distribution_tags[binary/ngircd] - AssertionE... -FAILED test/test_binaries.py::test_multiple_errors[binary/multiple_errors] - ... -FAILED test/test_binaries.py::test_library[binary/libtest] - AssertionError +FAILED test/test_build_root.py::test_build_root[binary/buildroot] - Assertion... +FAILED test/test_binaries.py::test_no_binary[binary/no-binary] - AssertionError +FAILED test/test_binaries.py::test_lto_ghc_archive[binary/ghc] - AssertionError +FAILED test/test_files.py::test_invalid_package[binary/filechecks] - Assertio... FAILED test/test_binaries.py::test_binary_in_etc[binary/binary-in-etc] - Asse... -FAILED test/test_doc.py::test_doccheck[binary/mydoc] - AssertionError -FAILED test/test_files.py::test_pyc_mtime_from_chunk[37-1519778958] - FileNot... -FAILED test/test_ldd_parser.py::test_opt_dependency - assert not "readelf: Er... -FAILED test/test_ldd_parser.py::test_undefined_symbol - AssertionError: asser... -FAILED test/test_lint.py::test_explain_known_warn_on_function[configs0] - Ass... FAILED test/test_files.py::test_file_not_utf8_for_compression_algorithms[binary/testdocumentation] +FAILED test/test_files.py::test_rust_files[binary/rust] - AssertionError FAILED test/test_binaries.py::test_shared_library1[binary/libtest1] - Asserti... -FAILED test/test_binaries.py::test_lto_archive_text[binary/lto-text] - Assert... -FAILED test/test_files.py::test_tcl_package[binary/tclpackage] - AssertionError -FAILED test/test_binaries.py::test_patchable_function_entry_archive[binary/libtest] -FAILED test/test_lint.py::test_descriptions_from_config[packages0] - Assertio... -FAILED test/test_ldd_parser.py::test_usr_dependency - assert not "readelf: Er... -FAILED test/test_files.py::test_devel_files[binary/netmask-debugsource] - Ass... +FAILED test/test_binaries.py::test_lto_bytecode[binary/libreiserfscore-devel] +FAILED test/test_files.py::test_distribution_tags[binary/ngircd] - AssertionE... +FAILED test/test_lib_dependency.py::test_shlib2_devel[binary/shlib2-devel] - ... +FAILED test/test_files.py::test_zero_length_ignore[/etc/security/console.apps-False-binary/file-zero-length] +FAILED test/test_binaries.py::test_only_non_binary_in_usr_lib[binary/only-non-binary-in-usr-lib] +FAILED test/test_files.py::test_sphinx_inv_files[binary/python3-greenlet] - A... +FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/nonemptyfile-False-binary/file-zero-length] +FAILED test/test_alternatives.py::test_update_alternative_borked[binary/alternatives-borked] +FAILED test/test_ldd_parser.py::test_opt_dependency - assert not "readelf: Er... +FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/python/py.typed-False-binary/file-zero-length] +FAILED test/test_binaries.py::test_not_valid_ldconfig_symlink[binary/libtest4] +FAILED test/test_LSB.py::test_LSB_compliance[binary/fPing] - AssertionError +FAILED test/test_filter.py::test_filtered_output - AssertionError +FAILED test/test_binaries.py::test_non_position_independent[binary/non-position-independent-exec] +FAILED test/test_binaries.py::test_waived_forbidden_c_calls[binary/ngircd] - ... +FAILED test/test_files.py::test_shlib2_devel[binary/shlib2-devel] - Assertion... +FAILED test/test_ldd_parser.py::test_unused_dependency - AssertionError: asse... +FAILED test/test_alternatives.py::test_update_alternatives_correctness[binary/python39-evtx] +FAILED test/test_icon_sizes.py::test_icon_sizes[binary/tasque] - AssertionError FAILED test/test_filter.py::test_output - AssertionError +FAILED test/test_ldd_parser.py::test_unused_dependency_in_package - assert no... +FAILED test/test_lib_dependency.py::test_missing_depency_on[binary/xrootd-devel] FAILED test/test_lint.py::test_explain_known_warn_on_function[configs1] - Ass... -FAILED test/test_ldd_parser.py::test_dependencies - AssertionError: assert no... +FAILED test/test_binaries.py::test_shlib_with_no_exec[binary/libnoexec] - Ass... +FAILED test/test_doc.py::test_doc_file_dep[binary/doc-file-dependency] - Asse... +FAILED test/test_alternatives.py::test_libalternative_ok[binary/libalternatives-ok] +FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/ruby/gem.build_complete-False-binary/file-zero-length] +FAILED test/test_files.py::test_provides_devel[binary/development] - Assertio... +FAILED test/test_pkgconfig.py::test_pkg_config_correct[binary/libreiserfscore-devel] +FAILED test/test_binaries.py::test_invalid_la_file[binary/invalid-la-file] - ... +FAILED test/test_binaries.py::test_libtool_wrapper[binary/libtool-wrapper] - ... FAILED test/test_binaries.py::test_shared_library2[binary/libtest2] - Asserti... -FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/python/pypackagefromwheel-0.0.0.dist-info/REQUESTED-False-binary/file-zero-length] +FAILED test/test_files.py::test_tcl_package[binary/tclpackage] - AssertionError +FAILED test/test_binaries.py::test_lto_archive_text[binary/lto-text] - Assert... +FAILED test/test_files.py::test_pyc_magic_from_chunk[36-3379] - FileNotFoundE... +FAILED test/test_objdump_parser.py::test_executable_stack_package - assert 'W... +FAILED test/test_files.py::test_zero_length_ignore[/usr/lib/.nosearch-False-binary/file-zero-length] +FAILED test/test_ldd_parser.py::test_undefined_symbol - AssertionError: asser... +FAILED test/test_ldd_parser.py::test_usr_dependency - assert not "readelf: Er... +FAILED test/test_filter.py::test_blocked_filters - AssertionError +FAILED test/test_binaries.py::test_library[binary/libtest] - AssertionError +FAILED test/test_binaries.py::test_non_position_independent_sugg[binary/non-position-independent-exec] +FAILED test/test_objdump_parser.py::test_basic - assert not "objdump: '/build... +FAILED test/test_lint.py::test_run_strict[packages0] - AssertionError: assert... +FAILED test/test_ldd_parser.py::test_dependencies - AssertionError: assert no... +FAILED test/test_ldd_parser.py::test_unused_dependency_in_package_for_executable FAILED test/test_binaries.py::test_only_non_binary_in_usr_lib_exception[binary/only-non-binary-in-usr-lib_exception] -FAILED test/test_readelf_parser.py::test_rpath - assert 0 == 1 +FAILED test/test_doc.py::test_install_file_in_docs[binary/install-file-in-docs] +FAILED test/test_diff.py::test_exclude - SystemExit: 2 +FAILED test/test_alternatives.py::test_libalternative_borked[binary/libalternatives-borked] +FAILED test/test_filter.py::test_data_storing - AssertionError +FAILED test/test_lint.py::test_descriptions_from_config[packages0] - Assertio... +FAILED test/test_logrotate.py::test_logrotate[binary/logrotate] - AssertionError +FAILED test/test_mixed_ownership.py::test_mixed_ownership[binary/mixed-ownership] +FAILED test/test_diff.py::test_distribution_tags - _rpm.error: rpmdb open failed +FAILED test/test_lint.py::test_explain_known_warn_on_function[configs0] - Ass... FAILED test/test_pkgconfig.py::test_pkg_config[binary/pc] - AssertionError -FAILED test/test_icon_sizes.py::test_icon_sizes[binary/tasque] - AssertionError -FAILED test/test_lib_dependency.py::test_shlib2_devel[binary/shlib2-devel] - ... -FAILED test/test_readelf_parser.py::test_simple_archive - assert 0 == 1 -FAILED test/test_ldd_parser.py::test_unused_dependency_in_package - assert no... -FAILED test/test_binaries.py::test_non_position_independent_sugg[binary/non-position-independent-exec] +FAILED test/test_pam_modules.py::test_pam_modules[binary/pam-module] - Assert... +FAILED test/test_readelf_parser.py::test_lto_archive_text - assert 'E: lto-no... +FAILED test/test_readelf_parser.py::test_call_mktemp - assert 'E: call-to-mkt... +FAILED test/test_readelf_parser.py::test_no_soname - assert 'no-soname /lib64... FAILED test/test_readelf_parser.py::test_lto_bytecode - assert not "readelf: ... -FAILED test/test_readelf_parser.py::test_executable_stack - assert 'E: execut... -FAILED test/test_pkgconfig.py::test_pkg_config_correct[binary/libreiserfscore-devel] -FAILED test/test_files.py::test_pyc_magic_from_chunk[36-3379] - FileNotFoundE... FAILED test/test_readelf_parser.py::test_stripped_archive - assert 'E: static... -FAILED test/test_lib_dependency.py::test_missing_depency_on[binary/xrootd-devel] -FAILED test/test_mixed_ownership.py::test_mixed_ownership[binary/mixed-ownership] -FAILED test/test_ldd_parser.py::test_unused_dependency - AssertionError: asse... -FAILED test/test_shlib_policy.py::test_shlib_policy_errors[binary/libslp1234] -FAILED test/test_logrotate.py::test_logrotate[binary/logrotate] - AssertionError +FAILED test/test_readelf_parser.py::test_simple_archive - assert 0 == 1 +FAILED test/test_signature.py::test_invalid_signature[binary/hello] - Asserti... FAILED test/test_readelf_parser.py::test_program_header_parsing - assert 0 == 11 -FAILED test/test_ldd_parser.py::test_unused_dependency_in_package_for_executable -FAILED test/test_readelf_parser.py::test_lto_archive_text - assert 'E: lto-no... +FAILED test/test_doc.py::test_doccheck[binary/mydoc] - AssertionError FAILED test/test_signature.py::test_no_signature[binary/no-signature] - Asser... +FAILED test/test_readelf_parser.py::test_no_ldconfig_symlink - assert 'no-ldc... +FAILED test/test_readelf_parser.py::test_dynamic_section_parsing - assert 0 =... +FAILED test/test_shlib_policy.py::test_shlib_policy_errors[binary/libslp1234] +FAILED test/test_shlib_policy.py::test_shlib_policy_wrong_name[binary/libtest1] +FAILED test/test_shlib_policy.py::test_shlib_policy_missing_suffix[binary/libslp-missing-suffix] FAILED test/test_readelf_parser.py::test_readelf_single_error_message - asser... +FAILED test/test_readelf_parser.py::test_executable_stack - assert 'E: execut... FAILED test/test_readelf_parser.py::test_call_setgroups - assert 'E: missing-... -FAILED test/test_readelf_parser.py::test_shlib_policy_name_error - assert 'li... -FAILED test/test_lint.py::test_run_strict[packages0] - AssertionError: assert... -FAILED test/test_signature.py::test_unknown_key[binary/unknown-key] - Asserti... -FAILED test/test_objdump_parser.py::test_basic - assert not "objdump: '/build... -FAILED test/test_signature.py::test_invalid_signature[binary/hello] - Asserti... FAILED test/test_readelf_parser.py::test_call_gethostbyname - assert 'W: bina... -FAILED test/test_readelf_parser.py::test_dynamic_section_parsing - assert 0 =... -FAILED test/test_readelf_parser.py::test_no_ldconfig_symlink - assert 'no-ldc... -FAILED test/test_shlib_policy.py::test_shlib_policy_wrong_name[binary/libtest1] -FAILED test/test_readelf_parser.py::test_no_soname - assert 'no-soname /lib64... -FAILED test/test_objdump_parser.py::test_executable_stack_package - assert 'W... -FAILED test/test_readelf_parser.py::test_bca_files - assert 'E: ' not in "fak... +FAILED test/test_readelf_parser.py::test_rpath - assert 0 == 1 FAILED test/test_readelf_parser.py::test_invalid_soname - assert 'invalid-son... -FAILED test/test_shlib_policy.py::test_shlib_policy_missing_suffix[binary/libslp-missing-suffix] -FAILED test/test_pam_modules.py::test_pam_modules[binary/pam-module] - Assert... -FAILED test/test_readelf_parser.py::test_call_mktemp - assert 'E: call-to-mkt... +FAILED test/test_readelf_parser.py::test_bca_files - assert 'E: ' not in "fak... +FAILED test/test_signature.py::test_unknown_key[binary/unknown-key] - Asserti... +FAILED test/test_readelf_parser.py::test_shlib_policy_name_error - assert 'li... FAILED test/test_sysvinitonsystemd.py::test_sysv_init_on_systemd_check[binary/init] -FAILED test/test_tags.py::test_useless_provides_only_versions[binary/fuse-common] -FAILED test/test_tags.py::test_development_package[binary/foo-devel] - Assert... -FAILED test/test_tags.py::test_forbidden_controlchar_found_changelog[binary/ruby2.6-rubygem-fast_gettext] +FAILED test/test_sysvinitonsystemd.py::test_overshadowing_of_initscript[binary/rc-links] FAILED test/test_tags.py::test_unexpanded_macros[binary/unexpanded1] - Assert... -FAILED test/test_tags.py::test_check_warning[binary/no-url-tag] - AssertionError FAILED test/test_tags.py::test_self_provides[binary/self] - AssertionError -FAILED test/test_sysvinitonsystemd.py::test_overshadowing_of_initscript[binary/rc-links] -FAILED test/test_tags.py::test_check_unexpanded_macro[binary/unexpanded-macro-exp] -FAILED test/test_tags.py::test_check_misc_warning[binary/misc-warnings] - Ass... +FAILED test/test_tags.py::test_development_package[binary/foo-devel] - Assert... +FAILED test/test_zip.py::test_zip1[binary/ruby2.5-rubygem-rubyzip-testsuite] +FAILED test/test_tags.py::test_missing_provides[binary/missingprovides] - Ass... +FAILED test/test_tmp_files.py::test_tmpfiles2[binary/systemd-tmpfiles] - Asse... +FAILED test/test_tags.py::test_forbidden_controlchar_found_requires[binary/xtables-addons-kmp-default] FAILED test/test_tags.py::test_invalid_license_exception[binary/invalid-exception] -FAILED test/test_tags.py::test_check_misc_warning_not_found[binary/misc-no-warnings] -FAILED test/test_tags.py::test_check_summary_warning[binary/summary-warning] -FAILED test/test_tags.py::test_valid_license_exception[binary/valid-exception] +FAILED test/test_tags.py::test_check_errors[binary/invalid-version] - Asserti... +FAILED test/test_tags.py::test_useless_provides_only_versions[binary/fuse-common] FAILED test/test_tags.py::test_check_errors_not_found[binary/invalid-la-file] -FAILED test/test_tags.py::test_check_invalid_license[binary/invalid-license] +FAILED test/test_tags.py::test_check_summary_warning[binary/summary-warning] +FAILED test/test_tags.py::test_forbidden_controlchar_found[binary/SpecCheck4] +FAILED test/test_tags.py::test_summary_on_multiple_lines[binary/summary-on-multiple-lines] +FAILED test/test_tags.py::test_check_misc_warning_not_found[binary/misc-no-warnings] +FAILED test/test_tags.py::test_forbidden_controlchar_found_changelog[binary/ruby2.6-rubygem-fast_gettext] +FAILED test/test_tags.py::test_check_invalid_dependency[binary/invalid-dependency] +FAILED test/test_tags.py::test_check_requires_on_release[binary/requires-on-release] +FAILED test/test_tags.py::test_check_misc_warning[binary/misc-warnings] - Ass... FAILED test/test_tags.py::test_package_random_warnings[binary/random-exp] - A... -FAILED test/test_tags.py::test_forbidden_controlchar_found_requires[binary/xtables-addons-kmp-default] FAILED test/test_tags.py::test_package_random_exp[binary/random-devel] - Asse... -FAILED test/test_tags.py::test_check_errors[binary/invalid-version] - Asserti... -FAILED test/test_tags.py::test_check_requires_on_release[binary/requires-on-release] -FAILED test/test_tags.py::test_missing_provides[binary/missingprovides] - Ass... -FAILED test/test_tags.py::test_check_invalid_dependency[binary/invalid-dependency] -FAILED test/test_tags.py::test_check_non_standard_group[binary/non-standard-group] -FAILED test/test_tmp_files.py::test_tmpfiles[binary/tempfiled] - AssertionError -FAILED test/test_tags.py::test_summary_on_multiple_lines[binary/summary-on-multiple-lines] -FAILED test/test_zip.py::test_classpath_and_index[binary/asm] - AssertionError +FAILED test/test_zip.py::test_zip2[binary/texlive-codepage-doc] - AssertionError FAILED test/test_zip.py::test_bad_crc_and_compression[binary/bad-crc-uncompressed] +FAILED test/test_tags.py::test_check_warning[binary/no-url-tag] - AssertionError +FAILED test/test_tags.py::test_valid_license_exception[binary/valid-exception] +FAILED test/test_tags.py::test_check_unexpanded_macro[binary/unexpanded-macro-exp] +FAILED test/test_zip.py::test_classpath_and_index[binary/asm] - AssertionError +FAILED test/test_tmp_files.py::test_tmpfiles[binary/tempfiled] - AssertionError +FAILED test/test_tmp_files.py::test_tmpfiles_correct[binary/systemd-tmpfiles_correct] FAILED test/test_xinetd.py::test_xinetd[binary/needxinetd] - AssertionError -FAILED test/test_zip.py::test_zip2[binary/texlive-codepage-doc] - AssertionError -FAILED test/test_tmp_files.py::test_tmpfiles2[binary/systemd-tmpfiles] - Asse... -FAILED test/test_tags.py::test_forbidden_controlchar_found[binary/SpecCheck4] FAILED test/test_tags.py::test_package_dev_dependency[binary/dev-dependency] -FAILED test/test_zip.py::test_zip1[binary/ruby2.5-rubygem-rubyzip-testsuite] -FAILED test/test_tmp_files.py::test_tmpfiles_correct[binary/systemd-tmpfiles_correct] FAILED test/test_tags.py::test_package_not_std_release_extension[binary/not-standard-release-extension] -================= 154 failed, 206 passed, 29 skipped in 20.95s ================= +FAILED test/test_tags.py::test_check_invalid_license[binary/invalid-license] +FAILED test/test_tags.py::test_check_non_standard_group[binary/non-standard-group] +================= 154 failed, 206 passed, 29 skipped in 6.35s ================== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/rpmlint-2.5.0+ds1/.pybuild/cpython3_3.11/build; python3.11 -m pytest test dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13 make[1]: [debian/rules:14: override_dh_auto_test] Error 25 (ignored) @@ -6115,12 +6105,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/444316/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/444316/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2892437 and its subdirectories -I: Current time: Mon May 6 19:48:36 -12 2024 -I: pbuilder-time-stamp: 1715068116 +I: removing directory /srv/workspace/pbuilder/444316 and its subdirectories +I: Current time: Tue Jun 10 04:12:45 +14 2025 +I: pbuilder-time-stamp: 1749478365