Warning: Permanently added '169.63.187.102' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/7683289-fedora-40-s390x --chroot fedora-40-s390x Version: 0.73 PID: 17995 Logging PID: 17996 Task: {'allow_user_ssh': False, 'appstream': False, 'background': False, 'build_id': 7683289, 'buildroot_pkgs': [], 'chroot': 'fedora-40-s390x', 'enable_net': False, 'fedora_review': False, 'git_hash': 'a8ea87172b9e384c33f5476b1789c2eeee81b78b', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/ljavorsk/pcre-2-10.44-fedora-40/clamav', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'clamav', 'package_version': '1.0.6-1', 'project_dirname': 'pcre-2-10.44-fedora-40', 'project_name': 'pcre-2-10.44-fedora-40', 'project_owner': 'ljavorsk', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/ljavorsk/pcre-2-10.44-fedora-40/fedora-40-s390x/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': 'ljavorsk/pcre-2-10.44-fedora-40--ljavorsk', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'submitter': 'ljavorsk', 'tags': [], 'task_id': '7683289-fedora-40-s390x', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/ljavorsk/pcre-2-10.44-fedora-40/clamav /var/lib/copr-rpmbuild/workspace/workdir-rpg3u2fq/clamav --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/ljavorsk/pcre-2-10.44-fedora-40/clamav', '/var/lib/copr-rpmbuild/workspace/workdir-rpg3u2fq/clamav', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-rpg3u2fq/clamav'... Running: git checkout a8ea87172b9e384c33f5476b1789c2eeee81b78b -- cmd: ['git', 'checkout', 'a8ea87172b9e384c33f5476b1789c2eeee81b78b', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-rpg3u2fq/clamav rc: 0 stdout: stderr: Note: switching to 'a8ea87172b9e384c33f5476b1789c2eeee81b78b'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at a8ea871 automatic import of clamav Running: copr-distgit-client sources /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated cmd: ['copr-distgit-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-rpg3u2fq/clamav rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading bytecode-335.cvd INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o bytecode-335.cvd --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/ljavorsk/pcre-2-10.44-fedora-40/clamav/bytecode-335.cvd/md5/7b25366a07c2b1701e7a2498469a5209/bytecode-335.cvd % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 282k 100 282k 0 0 2084k 0 --:--:-- --:--:-- --:--:-- 2095k INFO: Reading stdout from command: md5sum bytecode-335.cvd INFO: Downloading clamav-1.0.6-norar.tar.xz INFO: Calling: curl -H Pragma: -o clamav-1.0.6-norar.tar.xz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/ljavorsk/pcre-2-10.44-fedora-40/clamav/clamav-1.0.6-norar.tar.xz/md5/a38ebc89fca03a2c08f7e30d2acee70a/clamav-1.0.6-norar.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 32.2M 100 32.2M 0 0 201M 0 --:--:-- --:--:-- --:--:-- 201M INFO: Reading stdout from command: md5sum clamav-1.0.6-norar.tar.xz INFO: Downloading daily-27256.cvd INFO: Calling: curl -H Pragma: -o daily-27256.cvd --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/ljavorsk/pcre-2-10.44-fedora-40/clamav/daily-27256.cvd/md5/40ded1a8711690ea2f2c4abe1e1f8d9b/daily-27256.cvd % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 60.5M 100 60.5M 0 0 301M 0 --:--:-- --:--:-- --:--:-- 301M INFO: Reading stdout from command: md5sum daily-27256.cvd INFO: Downloading main-62.cvd INFO: Calling: curl -H Pragma: -o main-62.cvd --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/ljavorsk/pcre-2-10.44-fedora-40/clamav/main-62.cvd/md5/3a42e5027c90fba0e54d2abdaa9e86b4/main-62.cvd % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 162M 100 162M 0 0 396M 0 --:--:-- --:--:-- --:--:-- 396M INFO: Reading stdout from command: md5sum main-62.cvd Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-rpg3u2fq/clamav/clamav.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-rpg3u2fq/clamav --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1719570706.022234 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.6 starting (python version = 3.12.1, NVR = mock-5.6-1.fc39), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-rpg3u2fq/clamav/clamav.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-rpg3u2fq/clamav --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1719570706.022234 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-rpg3u2fq/clamav/clamav.spec) Config(fedora-40-s390x) Start: clean chroot Finish: clean chroot Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-40-s390x-bootstrap-1719570706.022234/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using bootstrap image: registry.fedoraproject.org/fedora:40 INFO: Pulling image: registry.fedoraproject.org/fedora:40 INFO: Copy content of container registry.fedoraproject.org/fedora:40 to /var/lib/mock/fedora-40-s390x-bootstrap-1719570706.022234/root INFO: Checking that registry.fedoraproject.org/fedora:40 image matches host's architecture INFO: mounting registry.fedoraproject.org/fedora:40 with podman image mount INFO: image registry.fedoraproject.org/fedora:40 as /var/lib/containers/storage/overlay/1cc4fdfbff94869ab96d327772b96f49585cfcc9beb25f023fd7df1356ddc309/merged INFO: umounting image registry.fedoraproject.org/fedora:40 (/var/lib/containers/storage/overlay/1cc4fdfbff94869ab96d327772b96f49585cfcc9beb25f023fd7df1356ddc309/merged) with podman image umount INFO: Using 'dnf' instead of 'dnf5' for bootstrap chroot INFO: Package manager dnf detected and used (fallback) INFO: Bootstrap image not marked ready Start(bootstrap): installing dnf5 tooling No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 36 kB/s | 249 kB 00:06 fedora 11 MB/s | 18 MB 00:01 updates 21 MB/s | 7.1 MB 00:00 Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: dnf5 s390x 5.1.17-1.fc40 updates 697 k dnf5-plugins s390x 5.1.17-1.fc40 updates 357 k Installing dependencies: fmt s390x 10.2.1-4.fc40 fedora 129 k libdnf5 s390x 5.1.17-1.fc40 updates 997 k libdnf5-cli s390x 5.1.17-1.fc40 updates 237 k sdbus-cpp s390x 1.4.0-2.fc40 fedora 103 k Transaction Summary ================================================================================ Install 6 Packages Total download size: 2.5 M Installed size: 6.8 M Downloading Packages: (1/6): fmt-10.2.1-4.fc40.s390x.rpm 1.6 MB/s | 129 kB 00:00 (2/6): sdbus-cpp-1.4.0-2.fc40.s390x.rpm 1.2 MB/s | 103 kB 00:00 (3/6): dnf5-5.1.17-1.fc40.s390x.rpm 4.9 MB/s | 697 kB 00:00 (4/6): libdnf5-cli-5.1.17-1.fc40.s390x.rpm 6.0 MB/s | 237 kB 00:00 (5/6): dnf5-plugins-5.1.17-1.fc40.s390x.rpm 2.9 MB/s | 357 kB 00:00 (6/6): libdnf5-5.1.17-1.fc40.s390x.rpm 5.6 MB/s | 997 kB 00:00 -------------------------------------------------------------------------------- Total 6.2 MB/s | 2.5 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : fmt-10.2.1-4.fc40.s390x 1/6 Installing : libdnf5-5.1.17-1.fc40.s390x 2/6 Installing : libdnf5-cli-5.1.17-1.fc40.s390x 3/6 Installing : sdbus-cpp-1.4.0-2.fc40.s390x 4/6 Installing : dnf5-5.1.17-1.fc40.s390x 5/6 Installing : dnf5-plugins-5.1.17-1.fc40.s390x 6/6 Running scriptlet: dnf5-plugins-5.1.17-1.fc40.s390x 6/6 Installed: dnf5-5.1.17-1.fc40.s390x dnf5-plugins-5.1.17-1.fc40.s390x fmt-10.2.1-4.fc40.s390x libdnf5-5.1.17-1.fc40.s390x libdnf5-cli-5.1.17-1.fc40.s390x sdbus-cpp-1.4.0-2.fc40.s390x Complete! INFO: Switching package manager from dnf to the dnf5 (direct choice) Finish(bootstrap): installing dnf5 tooling Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-40-s390x-1719570706.022234/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.19.1.1-1.fc40.s390x rpm-sequoia-1.6.0-3.fc40.s390x python3-dnf-4.19.2-1.fc40.noarch yum-4.19.2-1.fc40.noarch dnf5-5.1.17-1.fc40.s390x dnf5-plugins-5.1.17-1.fc40.s390x Start: installing minimal buildroot with dnf5 Updating and loading repositories: updates 100% | 216.0 KiB/s | 6.0 KiB | 00m00s fedora 100% | 34.9 KiB/s | 4.5 KiB | 00m00s Copr repository 100% | 2.3 KiB/s | 1.5 KiB | 00m01s Copr repository 100% | 275.3 KiB/s | 250.8 KiB | 00m01s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash s390x 5.2.26-3.fc40 fedora 8.3 MiB bzip2 s390x 1.0.8-18.fc40 fedora 99.2 KiB coreutils s390x 9.4-6.fc40 fedora 6.2 MiB cpio s390x 2.15-1.fc40 fedora 1.1 MiB diffutils s390x 3.10-5.fc40 fedora 1.6 MiB fedora-release-common noarch 40-39 updates 19.1 KiB findutils s390x 1:4.9.0-8.fc40 fedora 1.5 MiB gawk s390x 5.3.0-3.fc40 fedora 1.8 MiB glibc-minimal-langpack s390x 2.39-15.fc40 updates 0.0 B grep s390x 3.11-8.fc40 copr_base 1.0 MiB gzip s390x 1.13-1.fc40 fedora 400.8 KiB info s390x 7.1-2.fc40 fedora 405.1 KiB patch s390x 2.7.6-24.fc40 fedora 298.3 KiB redhat-rpm-config noarch 286-1.fc40 fedora 185.2 KiB rpm-build s390x 4.19.1.1-1.fc40 fedora 180.2 KiB sed s390x 4.9-1.fc40 fedora 873.2 KiB shadow-utils s390x 2:4.15.1-3.fc40 updates 4.2 MiB tar s390x 2:1.35-3.fc40 fedora 3.0 MiB unzip s390x 6.0-63.fc40 fedora 406.0 KiB util-linux s390x 2.40.1-1.fc40 updates 3.7 MiB which s390x 2.21-41.fc40 fedora 83.9 KiB xz s390x 1:5.4.6-3.fc40 fedora 2.0 MiB Installing dependencies: alternatives s390x 1.27-1.fc40 updates 66.1 KiB ansible-srpm-macros noarch 1-14.fc40 fedora 35.7 KiB audit-libs s390x 4.0.1-1.fc40 fedora 346.9 KiB authselect s390x 1.5.0-5.fc40 fedora 153.3 KiB authselect-libs s390x 1.5.0-5.fc40 fedora 819.6 KiB basesystem noarch 11-20.fc40 fedora 0.0 B binutils s390x 2.41-37.fc40 updates 25.9 MiB binutils-gold s390x 2.41-37.fc40 updates 2.9 MiB bzip2-libs s390x 1.0.8-18.fc40 fedora 88.5 KiB ca-certificates noarch 2023.2.62_v7.0.401-6.fc40 fedora 2.3 MiB coreutils-common s390x 9.4-6.fc40 fedora 11.4 MiB cracklib s390x 2.9.11-5.fc40 fedora 250.0 KiB crypto-policies noarch 20240510-1.gitd287a42.fc40 updates 151.9 KiB curl s390x 8.6.0-8.fc40 updates 758.4 KiB cyrus-sasl-lib s390x 2.1.28-19.fc40 fedora 2.4 MiB debugedit s390x 5.0-14.fc40 fedora 202.5 KiB dwz s390x 0.15-6.fc40 fedora 318.6 KiB ed s390x 1.20.2-1.fc40 updates 150.6 KiB efi-srpm-macros noarch 5-11.fc40 fedora 40.1 KiB elfutils s390x 0.191-4.fc40 fedora 3.0 MiB elfutils-debuginfod-client s390x 0.191-4.fc40 fedora 64.4 KiB elfutils-default-yama-scope noarch 0.191-4.fc40 fedora 1.8 KiB elfutils-libelf s390x 0.191-4.fc40 fedora 1.2 MiB elfutils-libs s390x 0.191-4.fc40 fedora 746.1 KiB fedora-gpg-keys noarch 40-2 updates 124.7 KiB fedora-release noarch 40-39 updates 0.0 B fedora-release-identity-basic noarch 40-39 updates 654.0 B fedora-repos noarch 40-2 updates 4.9 KiB file s390x 5.45-4.fc40 fedora 103.3 KiB file-libs s390x 5.45-4.fc40 fedora 9.9 MiB filesystem s390x 3.18-8.fc40 fedora 106.0 B fonts-srpm-macros noarch 1:2.0.5-14.fc40 fedora 55.3 KiB forge-srpm-macros noarch 0.3.1-1.fc40 updates 39.0 KiB fpc-srpm-macros noarch 1.3-12.fc40 fedora 144.0 B gdb-minimal s390x 14.2-2.fc40 updates 13.1 MiB gdbm s390x 1:1.23-6.fc40 fedora 483.9 KiB gdbm-libs s390x 1:1.23-6.fc40 fedora 133.4 KiB ghc-srpm-macros noarch 1.9-1.fc40 fedora 716.0 B glibc s390x 2.39-15.fc40 updates 5.3 MiB glibc-common s390x 2.39-15.fc40 updates 1.1 MiB glibc-gconv-extra s390x 2.39-15.fc40 updates 7.7 MiB gmp s390x 1:6.2.1-8.fc40 fedora 769.2 KiB gnat-srpm-macros noarch 6-5.fc40 fedora 1.0 KiB go-srpm-macros noarch 3.5.0-1.fc40 fedora 60.6 KiB jansson s390x 2.13.1-9.fc40 fedora 92.1 KiB kernel-srpm-macros noarch 1.0-23.fc40 fedora 1.9 KiB keyutils-libs s390x 1.6.3-3.fc40 fedora 54.2 KiB krb5-libs s390x 1.21.2-5.fc40 fedora 2.4 MiB libacl s390x 2.3.2-1.fc40 fedora 43.8 KiB libarchive s390x 3.7.2-4.fc40 updates 1.0 MiB libattr s390x 2.5.2-3.fc40 fedora 28.3 KiB libblkid s390x 2.40.1-1.fc40 updates 286.4 KiB libbrotli s390x 1.1.0-3.fc40 fedora 925.1 KiB libcap s390x 2.69-8.fc40 updates 233.7 KiB libcap-ng s390x 0.8.4-4.fc40 fedora 76.7 KiB libcom_err s390x 1.47.0-5.fc40 fedora 67.0 KiB libcurl s390x 8.6.0-8.fc40 updates 820.4 KiB libeconf s390x 0.6.2-2.fc40 updates 61.8 KiB libevent s390x 2.1.12-12.fc40 fedora 938.7 KiB libfdisk s390x 2.40.1-1.fc40 updates 394.8 KiB libffi s390x 3.4.4-7.fc40 fedora 65.1 KiB libgcc s390x 14.1.1-6.fc40 updates 173.2 KiB libgomp s390x 14.1.1-6.fc40 updates 531.3 KiB libidn2 s390x 2.3.7-1.fc40 fedora 332.9 KiB libmount s390x 2.40.1-1.fc40 updates 375.8 KiB libnghttp2 s390x 1.59.0-3.fc40 updates 173.9 KiB libnsl2 s390x 2.0.1-1.fc40 fedora 61.7 KiB libpkgconf s390x 2.1.0-1.fc40 fedora 85.8 KiB libpsl s390x 0.21.5-3.fc40 fedora 80.3 KiB libpwquality s390x 1.4.5-9.fc40 fedora 420.9 KiB libselinux s390x 3.6-4.fc40 fedora 188.9 KiB libsemanage s390x 3.6-3.fc40 fedora 301.3 KiB libsepol s390x 3.6-3.fc40 fedora 849.8 KiB libsmartcols s390x 2.40.1-1.fc40 updates 192.2 KiB libssh s390x 0.10.6-5.fc40 fedora 529.1 KiB libssh-config noarch 0.10.6-5.fc40 fedora 277.0 B libstdc++ s390x 14.1.1-6.fc40 updates 3.1 MiB libtasn1 s390x 4.19.0-6.fc40 fedora 187.5 KiB libtirpc s390x 1.3.4-1.rc3.fc40 fedora 214.6 KiB libtool-ltdl s390x 2.4.7-10.fc40 fedora 74.0 KiB libunistring s390x 1.1-7.fc40 fedora 1.8 MiB libutempter s390x 1.2.1-13.fc40 fedora 57.3 KiB libuuid s390x 2.40.1-1.fc40 updates 37.2 KiB libverto s390x 0.3.2-8.fc40 fedora 29.2 KiB libxcrypt s390x 4.4.36-5.fc40 fedora 274.7 KiB libxml2 s390x 2.12.8-1.fc40 updates 1.9 MiB libzstd s390x 1.5.6-1.fc40 updates 883.7 KiB lua-libs s390x 5.4.6-5.fc40 fedora 324.8 KiB lua-srpm-macros noarch 1-13.fc40 fedora 1.3 KiB lz4-libs s390x 1.9.4-6.fc40 fedora 173.2 KiB mpfr s390x 4.2.1-4.fc40 updates 698.7 KiB ncurses-base noarch 6.4-12.20240127.fc40 fedora 326.2 KiB ncurses-libs s390x 6.4-12.20240127.fc40 fedora 1.1 MiB ocaml-srpm-macros noarch 9-3.fc40 fedora 1.9 KiB openblas-srpm-macros noarch 2-16.fc40 fedora 104.0 B openldap s390x 2.6.7-1.fc40 fedora 674.5 KiB openssl-libs s390x 1:3.2.1-2.fc40 fedora 6.1 MiB p11-kit s390x 0.25.3-4.fc40 fedora 2.5 MiB p11-kit-trust s390x 0.25.3-4.fc40 fedora 471.2 KiB package-notes-srpm-macros noarch 0.5-11.fc40 fedora 1.6 KiB pam s390x 1.6.1-3.fc40 updates 1.7 MiB pam-libs s390x 1.6.1-3.fc40 updates 130.4 KiB pcre2 s390x 10.44-1.fc40 copr_base 684.9 KiB pcre2-syntax noarch 10.44-1.fc40 copr_base 251.6 KiB perl-srpm-macros noarch 1-53.fc40 fedora 861.0 B pkgconf s390x 2.1.0-1.fc40 fedora 86.2 KiB pkgconf-m4 noarch 2.1.0-1.fc40 fedora 13.9 KiB pkgconf-pkg-config s390x 2.1.0-1.fc40 fedora 988.0 B popt s390x 1.19-6.fc40 fedora 144.6 KiB publicsuffix-list-dafsa noarch 20240107-3.fc40 fedora 67.5 KiB pyproject-srpm-macros noarch 1.12.0-1.fc40 fedora 1.5 KiB python-srpm-macros noarch 3.12-7.fc40 fedora 50.1 KiB qt5-srpm-macros noarch 5.15.14-1.fc40 updates 500.0 B qt6-srpm-macros noarch 6.7.1-1.fc40 updates 456.0 B readline s390x 8.2-8.fc40 fedora 556.8 KiB rpm s390x 4.19.1.1-1.fc40 fedora 3.0 MiB rpm-build-libs s390x 4.19.1.1-1.fc40 fedora 206.2 KiB rpm-libs s390x 4.19.1.1-1.fc40 fedora 809.5 KiB rpm-sequoia s390x 1.6.0-3.fc40 updates 2.9 MiB rust-srpm-macros noarch 26.3-1.fc40 updates 4.8 KiB setup noarch 2.14.5-2.fc40 fedora 720.4 KiB sqlite-libs s390x 3.45.1-2.fc40 fedora 1.6 MiB systemd-libs s390x 255.7-1.fc40 updates 2.0 MiB util-linux-core s390x 2.40.1-1.fc40 updates 1.5 MiB xxhash-libs s390x 0.8.2-2.fc40 fedora 68.0 KiB xz-libs s390x 1:5.4.6-3.fc40 fedora 225.5 KiB zig-srpm-macros noarch 1-2.fc40 fedora 1.1 KiB zip s390x 3.0-40.fc40 fedora 754.2 KiB zlib-ng-compat s390x 2.1.6-5.fc40 updates 113.3 KiB zstd s390x 1.5.6-1.fc40 updates 1.8 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 152 packages Total size of inbound packages is 53 MiB. Need to download 0 B. After this operation 181 MiB will be used (install 181 MiB, remove 0 B). [ 1/152] tar-2:1.35-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/152] bzip2-0:1.0.8-18.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/152] redhat-rpm-config-0:286-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/152] rpm-build-0:4.19.1.1-1.fc40.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/152] unzip-0:6.0-63.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/152] cpio-0:2.15-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/152] which-0:2.21-41.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/152] bash-0:5.2.26-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/152] coreutils-0:9.4-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/152] patch-0:2.7.6-24.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/152] sed-0:4.9-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/152] diffutils-0:3.10-5.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/152] findutils-1:4.9.0-8.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/152] gawk-0:5.3.0-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/152] gzip-0:1.13-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/152] info-0:7.1-2.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/152] xz-1:5.4.6-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/152] grep-0:3.11-8.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/152] shadow-utils-2:4.15.1-3.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/152] util-linux-0:2.40.1-1.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/152] fedora-release-common-0:40-39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/152] glibc-minimal-langpack-0:2.39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/152] libacl-0:2.3.2-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/152] libselinux-0:3.6-4.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/152] bzip2-libs-0:1.0.8-18.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/152] ansible-srpm-macros-0:1-14.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/152] dwz-0:0.15-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/152] efi-srpm-macros-0:5-11.fc40.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/152] file-0:5.45-4.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/152] fonts-srpm-macros-1:2.0.5-14. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/152] fpc-srpm-macros-0:1.3-12.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/152] ghc-srpm-macros-0:1.9-1.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/152] gnat-srpm-macros-0:6-5.fc40.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/152] go-srpm-macros-0:3.5.0-1.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/152] kernel-srpm-macros-0:1.0-23.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/152] lua-srpm-macros-0:1-13.fc40.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/152] ocaml-srpm-macros-0:9-3.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/152] openblas-srpm-macros-0:2-16.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/152] package-notes-srpm-macros-0:0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/152] perl-srpm-macros-0:1-53.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/152] pyproject-srpm-macros-0:1.12. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/152] python-srpm-macros-0:3.12-7.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/152] rpm-0:4.19.1.1-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/152] zig-srpm-macros-0:1-2.fc40.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/152] zip-0:3.0-40.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/152] debugedit-0:5.0-14.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/152] elfutils-0:0.191-4.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/152] elfutils-libelf-0:0.191-4.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/152] pkgconf-pkg-config-0:2.1.0-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/152] popt-0:1.19-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/152] readline-0:8.2-8.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/152] rpm-build-libs-0:4.19.1.1-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/152] rpm-libs-0:4.19.1.1-1.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/152] filesystem-0:3.18-8.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/152] ncurses-libs-0:6.4-12.2024012 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/152] coreutils-common-0:9.4-6.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/152] gmp-1:6.2.1-8.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/152] libattr-0:2.5.2-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/152] openssl-libs-1:3.2.1-2.fc40.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/152] xz-libs-1:5.4.6-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/152] audit-libs-0:4.0.1-1.fc40.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/152] libsemanage-0:3.6-3.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/152] libxcrypt-0:4.4.36-5.fc40.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/152] setup-0:2.14.5-2.fc40.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/152] libblkid-0:2.40.1-1.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/152] libfdisk-0:2.40.1-1.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/152] libmount-0:2.40.1-1.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/152] libsmartcols-0:2.40.1-1.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/152] libuuid-0:2.40.1-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/152] util-linux-core-0:2.40.1-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/152] authselect-libs-0:1.5.0-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/152] libcap-ng-0:0.8.4-4.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/152] libutempter-0:1.2.1-13.fc40.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/152] glibc-0:2.39-15.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/152] glibc-common-0:2.39-15.fc40.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/152] libsepol-0:3.6-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/152] file-libs-0:5.45-4.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 78/152] elfutils-libs-0:0.191-4.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 79/152] elfutils-debuginfod-client-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/152] pkgconf-0:2.1.0-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/152] pkgconf-m4-0:2.1.0-1.fc40.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/152] lua-libs-0:5.4.6-5.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/152] sqlite-libs-0:3.45.1-2.fc40.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/152] ncurses-base-0:6.4-12.2024012 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/152] ca-certificates-0:2023.2.62_v 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/152] glibc-gconv-extra-0:2.39-15.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/152] basesystem-0:11-20.fc40.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/152] elfutils-default-yama-scope-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/152] libpkgconf-0:2.1.0-1.fc40.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/152] p11-kit-0:0.25.3-4.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/152] p11-kit-trust-0:0.25.3-4.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/152] libffi-0:3.4.4-7.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/152] libtasn1-0:4.19.0-6.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/152] pcre2-0:10.44-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/152] zlib-ng-compat-0:2.1.6-5.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/152] libcap-0:2.69-8.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/152] libzstd-0:1.5.6-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/152] rpm-sequoia-0:1.6.0-3.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/152] libgcc-0:14.1.1-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/152] libgomp-0:14.1.1-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/152] binutils-0:2.41-37.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/152] jansson-0:2.13.1-9.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/152] zstd-0:1.5.6-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/152] lz4-libs-0:1.9.4-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/152] curl-0:8.6.0-8.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/152] libarchive-0:3.7.2-4.fc40.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/152] forge-srpm-macros-0:0.3.1-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/152] qt5-srpm-macros-0:5.15.14-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/152] qt6-srpm-macros-0:6.7.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/152] rust-srpm-macros-0:26.3-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/152] ed-0:1.20.2-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/152] alternatives-0:1.27-1.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/152] crypto-policies-0:20240510-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/152] mpfr-0:4.2.1-4.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/152] libstdc++-0:14.1.1-6.fc40.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/152] systemd-libs-0:255.7-1.fc40.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/152] pam-0:1.6.1-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/152] pam-libs-0:1.6.1-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/152] authselect-0:1.5.0-5.fc40.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/152] gdbm-1:1.23-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/152] gdbm-libs-1:1.23-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/152] libnsl2-0:2.0.1-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [123/152] libpwquality-0:1.4.5-9.fc40.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [124/152] libtirpc-0:1.3.4-1.rc3.fc40.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [125/152] cracklib-0:2.9.11-5.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [126/152] krb5-libs-0:1.21.2-5.fc40.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [127/152] libcom_err-0:1.47.0-5.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [128/152] keyutils-libs-0:1.6.3-3.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [129/152] libverto-0:0.3.2-8.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [130/152] libeconf-0:0.6.2-2.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [131/152] libxml2-0:2.12.8-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [132/152] fedora-repos-0:40-2.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [133/152] fedora-gpg-keys-0:40-2.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [134/152] binutils-gold-0:2.41-37.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [135/152] pcre2-syntax-0:10.44-1.fc40.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [136/152] fedora-release-0:40-39.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [137/152] gdb-minimal-0:14.2-2.fc40.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [138/152] xxhash-libs-0:0.8.2-2.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [139/152] libcurl-0:8.6.0-8.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [140/152] libbrotli-0:1.1.0-3.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [141/152] libidn2-0:2.3.7-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [142/152] libpsl-0:0.21.5-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [143/152] libssh-0:0.10.6-5.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [144/152] openldap-0:2.6.7-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [145/152] libunistring-0:1.1-7.fc40.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [146/152] publicsuffix-list-dafsa-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [147/152] libssh-config-0:0.10.6-5.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [148/152] cyrus-sasl-lib-0:2.1.28-19.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [149/152] libevent-0:2.1.12-12.fc40.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [150/152] libtool-ltdl-0:2.4.7-10.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [151/152] libnghttp2-0:1.59.0-3.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [152/152] fedora-release-identity-basic 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [152/152] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction Importing PGP key 0xA15B79CC: Userid : "Fedora (40) " Fingerprint: 115DF9AEF857853EE8445D0A0727707EA15B79CC From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-40-primary The key was successfully imported. [ 1/154] Verify package files 100% | 542.0 B/s | 152.0 B | 00m00s >>> Running pre-transaction scriptlet: filesystem-0:3.18-8.fc40.s390x >>> Stop pre-transaction scriptlet: filesystem-0:3.18-8.fc40.s390x [ 2/154] Prepare transaction 100% | 2.9 KiB/s | 152.0 B | 00m00s [ 3/154] Installing libgcc-0:14.1.1-6. 100% | 85.4 MiB/s | 174.9 KiB | 00m00s >>> Running post-install scriptlet: libgcc-0:14.1.1-6.fc40.s390x >>> Stop post-install scriptlet: libgcc-0:14.1.1-6.fc40.s390x [ 4/154] Installing crypto-policies-0: 100% | 36.0 MiB/s | 184.5 KiB | 00m00s >>> Running post-install scriptlet: crypto-policies-0:20240510-1.gitd287a42.fc40 >>> Stop post-install scriptlet: crypto-policies-0:20240510-1.gitd287a42.fc40.no [ 5/154] Installing fedora-release-ide 100% | 890.6 KiB/s | 912.0 B | 00m00s [ 6/154] Installing fedora-gpg-keys-0: 100% | 41.4 MiB/s | 169.7 KiB | 00m00s [ 7/154] Installing fedora-repos-0:40- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 8/154] Installing fedora-release-com 100% | 22.7 MiB/s | 23.3 KiB | 00m00s [ 9/154] Installing fedora-release-0:4 100% | 0.0 B/s | 124.0 B | 00m00s [ 10/154] Installing setup-0:2.14.5-2.f 100% | 44.3 MiB/s | 725.8 KiB | 00m00s >>> Running post-install scriptlet: setup-0:2.14.5-2.fc40.noarch >>> Stop post-install scriptlet: setup-0:2.14.5-2.fc40.noarch [ 11/154] Installing filesystem-0:3.18- 100% | 3.1 MiB/s | 212.4 KiB | 00m00s [ 12/154] Installing basesystem-0:11-20 100% | 0.0 B/s | 124.0 B | 00m00s [ 13/154] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 14/154] Installing publicsuffix-list- 100% | 0.0 B/s | 68.3 KiB | 00m00s [ 15/154] Installing pcre2-syntax-0:10. 100% | 248.1 MiB/s | 254.1 KiB | 00m00s [ 16/154] Installing rust-srpm-macros-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [ 17/154] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 732.0 B | 00m00s [ 18/154] Installing qt5-srpm-macros-0: 100% | 757.8 KiB/s | 776.0 B | 00m00s [ 19/154] Installing ncurses-base-0:6.4 100% | 85.8 MiB/s | 351.6 KiB | 00m00s [ 20/154] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 21/154] Installing ncurses-libs-0:6.4 100% | 177.1 MiB/s | 1.1 MiB | 00m00s >>> Running pre-install scriptlet: glibc-0:2.39-15.fc40.s390x >>> Stop pre-install scriptlet: glibc-0:2.39-15.fc40.s390x [ 22/154] Installing glibc-0:2.39-15.fc 100% | 182.0 MiB/s | 5.3 MiB | 00m00s >>> Running post-install scriptlet: glibc-0:2.39-15.fc40.s390x >>> Stop post-install scriptlet: glibc-0:2.39-15.fc40.s390x [ 23/154] Installing bash-0:5.2.26-3.fc 100% | 288.3 MiB/s | 8.4 MiB | 00m00s >>> Running post-install scriptlet: bash-0:5.2.26-3.fc40.s390x >>> Stop post-install scriptlet: bash-0:5.2.26-3.fc40.s390x [ 24/154] Installing glibc-common-0:2.3 100% | 158.3 MiB/s | 1.1 MiB | 00m00s [ 25/154] Installing glibc-gconv-extra- 100% | 222.6 MiB/s | 7.8 MiB | 00m00s >>> Running post-install scriptlet: glibc-gconv-extra-0:2.39-15.fc40.s390x >>> Stop post-install scriptlet: glibc-gconv-extra-0:2.39-15.fc40.s390x [ 26/154] Installing zlib-ng-compat-0:2 100% | 111.4 MiB/s | 114.1 KiB | 00m00s [ 27/154] Installing xz-libs-1:5.4.6-3. 100% | 221.3 MiB/s | 226.7 KiB | 00m00s [ 28/154] Installing bzip2-libs-0:1.0.8 100% | 87.5 MiB/s | 89.6 KiB | 00m00s [ 29/154] Installing popt-0:1.19-6.fc40 100% | 73.9 MiB/s | 151.3 KiB | 00m00s [ 30/154] Installing readline-0:8.2-8.f 100% | 181.9 MiB/s | 558.9 KiB | 00m00s [ 31/154] Installing libuuid-0:2.40.1-1 100% | 37.4 MiB/s | 38.3 KiB | 00m00s [ 32/154] Installing libzstd-0:1.5.6-1. 100% | 216.1 MiB/s | 885.0 KiB | 00m00s [ 33/154] Installing elfutils-libelf-0: 100% | 295.2 MiB/s | 1.2 MiB | 00m00s [ 34/154] Installing libstdc++-0:14.1.1 100% | 259.9 MiB/s | 3.1 MiB | 00m00s [ 35/154] Installing libblkid-0:2.40.1- 100% | 140.3 MiB/s | 287.4 KiB | 00m00s [ 36/154] Installing gmp-1:6.2.1-8.fc40 100% | 251.1 MiB/s | 771.5 KiB | 00m00s [ 37/154] Installing libattr-0:2.5.2-3. 100% | 0.0 B/s | 29.3 KiB | 00m00s [ 38/154] Installing libacl-0:2.3.2-1.f 100% | 43.6 MiB/s | 44.6 KiB | 00m00s [ 39/154] Installing libxcrypt-0:4.4.36 100% | 135.4 MiB/s | 277.4 KiB | 00m00s [ 40/154] Installing lz4-libs-0:1.9.4-6 100% | 85.1 MiB/s | 174.3 KiB | 00m00s [ 41/154] Installing gdbm-libs-1:1.23-6 100% | 132.0 MiB/s | 135.1 KiB | 00m00s [ 42/154] Installing libeconf-0:0.6.2-2 100% | 62.0 MiB/s | 63.4 KiB | 00m00s [ 43/154] Installing mpfr-0:4.2.1-4.fc4 100% | 228.0 MiB/s | 700.4 KiB | 00m00s [ 44/154] Installing gawk-0:5.3.0-3.fc4 100% | 259.2 MiB/s | 1.8 MiB | 00m00s [ 45/154] Installing dwz-0:0.15-6.fc40. 100% | 156.2 MiB/s | 320.0 KiB | 00m00s [ 46/154] Installing unzip-0:6.0-63.fc4 100% | 200.0 MiB/s | 409.5 KiB | 00m00s [ 47/154] Installing file-libs-0:5.45-4 100% | 552.5 MiB/s | 9.9 MiB | 00m00s [ 48/154] Installing file-0:5.45-4.fc40 100% | 102.3 MiB/s | 104.8 KiB | 00m00s [ 49/154] Installing libsmartcols-0:2.4 100% | 188.7 MiB/s | 193.2 KiB | 00m00s [ 50/154] Installing libcap-ng-0:0.8.4- 100% | 76.7 MiB/s | 78.5 KiB | 00m00s [ 51/154] Installing audit-libs-0:4.0.1 100% | 170.4 MiB/s | 349.1 KiB | 00m00s [ 52/154] Installing pam-libs-0:1.6.1-3 100% | 129.5 MiB/s | 132.6 KiB | 00m00s [ 53/154] Installing libcap-0:2.69-8.fc 100% | 116.5 MiB/s | 238.7 KiB | 00m00s [ 54/154] Installing systemd-libs-0:255 100% | 247.9 MiB/s | 2.0 MiB | 00m00s [ 55/154] Installing libsepol-0:3.6-3.f 100% | 207.7 MiB/s | 850.8 KiB | 00m00s [ 56/154] Installing lua-libs-0:5.4.6-5 100% | 159.2 MiB/s | 326.0 KiB | 00m00s [ 57/154] Installing libtasn1-0:4.19.0- 100% | 184.9 MiB/s | 189.3 KiB | 00m00s [ 58/154] Installing pcre2-0:10.44-1.fc 100% | 223.4 MiB/s | 686.3 KiB | 00m00s [ 59/154] Installing libselinux-0:3.6-4 100% | 185.7 MiB/s | 190.2 KiB | 00m00s [ 60/154] Installing sed-0:4.9-1.fc40.s 100% | 215.2 MiB/s | 881.4 KiB | 00m00s [ 61/154] Installing grep-0:3.11-8.fc40 100% | 203.7 MiB/s | 1.0 MiB | 00m00s [ 62/154] Installing findutils-1:4.9.0- 100% | 214.9 MiB/s | 1.5 MiB | 00m00s [ 63/154] Installing xz-1:5.4.6-3.fc40. 100% | 250.3 MiB/s | 2.0 MiB | 00m00s [ 64/154] Installing libmount-0:2.40.1- 100% | 184.0 MiB/s | 376.8 KiB | 00m00s [ 65/154] Installing jansson-0:2.13.1-9 100% | 91.3 MiB/s | 93.5 KiB | 00m00s [ 66/154] Installing alternatives-0:1.2 100% | 66.2 MiB/s | 67.8 KiB | 00m00s [ 67/154] Installing libcom_err-0:1.47. 100% | 66.4 MiB/s | 68.0 KiB | 00m00s [ 68/154] Installing libunistring-0:1.1 100% | 253.3 MiB/s | 1.8 MiB | 00m00s [ 69/154] Installing libidn2-0:2.3.7-1. 100% | 110.3 MiB/s | 338.9 KiB | 00m00s [ 70/154] Installing libpsl-0:0.21.5-3. 100% | 79.5 MiB/s | 81.4 KiB | 00m00s [ 71/154] Installing util-linux-core-0: 100% | 216.1 MiB/s | 1.5 MiB | 00m00s [ 72/154] Installing tar-2:1.35-3.fc40. 100% | 302.0 MiB/s | 3.0 MiB | 00m00s [ 73/154] Installing libsemanage-0:3.6- 100% | 98.7 MiB/s | 303.1 KiB | 00m00s [ 74/154] Installing shadow-utils-2:4.1 100% | 150.5 MiB/s | 4.2 MiB | 00m00s >>> Running pre-install scriptlet: libutempter-0:1.2.1-13.fc40.s390x >>> Stop pre-install scriptlet: libutempter-0:1.2.1-13.fc40.s390x [ 75/154] Installing libutempter-0:1.2. 100% | 57.9 MiB/s | 59.3 KiB | 00m00s [ 76/154] Installing zip-0:3.0-40.fc40. 100% | 185.1 MiB/s | 758.1 KiB | 00m00s [ 77/154] Installing gdbm-1:1.23-6.fc40 100% | 159.1 MiB/s | 488.8 KiB | 00m00s [ 78/154] Installing cyrus-sasl-lib-0:2 100% | 264.2 MiB/s | 2.4 MiB | 00m00s [ 79/154] Installing zstd-0:1.5.6-1.fc4 100% | 263.8 MiB/s | 1.8 MiB | 00m00s [ 80/154] Installing libfdisk-0:2.40.1- 100% | 193.3 MiB/s | 395.9 KiB | 00m00s [ 81/154] Installing bzip2-0:1.0.8-18.f 100% | 101.3 MiB/s | 103.7 KiB | 00m00s [ 82/154] Installing libxml2-0:2.12.8-1 100% | 269.0 MiB/s | 1.9 MiB | 00m00s [ 83/154] Installing sqlite-libs-0:3.45 100% | 224.8 MiB/s | 1.6 MiB | 00m00s [ 84/154] Installing elfutils-default-y 100% | 510.7 KiB/s | 2.0 KiB | 00m00s >>> Running post-install scriptlet: elfutils-default-yama-scope-0:0.191-4.fc40.n >>> Stop post-install scriptlet: elfutils-default-yama-scope-0:0.191-4.fc40.noar [ 85/154] Installing ed-0:1.20.2-1.fc40 100% | 74.7 MiB/s | 152.9 KiB | 00m00s [ 86/154] Installing patch-0:2.7.6-24.f 100% | 146.4 MiB/s | 299.8 KiB | 00m00s [ 87/154] Installing cpio-0:2.15-1.fc40 100% | 223.8 MiB/s | 1.1 MiB | 00m00s [ 88/154] Installing diffutils-0:3.10-5 100% | 269.4 MiB/s | 1.6 MiB | 00m00s [ 89/154] Installing libpkgconf-0:2.1.0 100% | 84.9 MiB/s | 87.0 KiB | 00m00s [ 90/154] Installing pkgconf-0:2.1.0-1. 100% | 86.6 MiB/s | 88.7 KiB | 00m00s [ 91/154] Installing libffi-0:3.4.4-7.f 100% | 65.0 MiB/s | 66.5 KiB | 00m00s [ 92/154] Installing p11-kit-0:0.25.3-4 100% | 226.8 MiB/s | 2.5 MiB | 00m00s [ 93/154] Installing p11-kit-trust-0:0. 100% | 77.0 MiB/s | 472.9 KiB | 00m00s >>> Running post-install scriptlet: p11-kit-trust-0:0.25.3-4.fc40.s390x >>> Stop post-install scriptlet: p11-kit-trust-0:0.25.3-4.fc40.s390x [ 94/154] Installing libgomp-0:14.1.1-6 100% | 173.4 MiB/s | 532.7 KiB | 00m00s [ 95/154] Installing keyutils-libs-0:1. 100% | 54.3 MiB/s | 55.6 KiB | 00m00s [ 96/154] Installing libverto-0:0.3.2-8 100% | 30.3 MiB/s | 31.1 KiB | 00m00s [ 97/154] Installing xxhash-libs-0:0.8. 100% | 67.8 MiB/s | 69.4 KiB | 00m00s [ 98/154] Installing libbrotli-0:1.1.0- 100% | 181.1 MiB/s | 927.4 KiB | 00m00s [ 99/154] Installing libtool-ltdl-0:2.4 100% | 73.3 MiB/s | 75.1 KiB | 00m00s [100/154] Installing libnghttp2-0:1.59. 100% | 171.0 MiB/s | 175.1 KiB | 00m00s [101/154] Installing pkgconf-m4-0:2.1.0 100% | 0.0 B/s | 14.3 KiB | 00m00s [102/154] Installing pkgconf-pkg-config 100% | 1.7 MiB/s | 1.8 KiB | 00m00s [103/154] Installing coreutils-common-0 100% | 337.2 MiB/s | 11.5 MiB | 00m00s [104/154] Installing openssl-libs-1:3.2 100% | 279.1 MiB/s | 6.1 MiB | 00m00s [105/154] Installing coreutils-0:9.4-6. 100% | 282.5 MiB/s | 6.2 MiB | 00m00s >>> Running pre-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40.n >>> Stop pre-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40.noar [106/154] Installing ca-certificates-0: 100% | 2.2 MiB/s | 2.3 MiB | 00m01s >>> Running post-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40. >>> Stop post-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40.noa [107/154] Installing krb5-libs-0:1.21.2 100% | 188.6 MiB/s | 2.5 MiB | 00m00s [108/154] Installing libtirpc-0:1.3.4-1 100% | 105.7 MiB/s | 216.4 KiB | 00m00s [109/154] Installing gzip-0:1.13-1.fc40 100% | 132.3 MiB/s | 406.3 KiB | 00m00s [110/154] Installing authselect-libs-0: 100% | 163.0 MiB/s | 834.5 KiB | 00m00s [111/154] Installing libarchive-0:3.7.2 100% | 198.6 MiB/s | 1.0 MiB | 00m00s [112/154] Installing authselect-0:1.5.0 100% | 77.0 MiB/s | 157.7 KiB | 00m00s [113/154] Installing cracklib-0:2.9.11- 100% | 63.8 MiB/s | 261.4 KiB | 00m00s [114/154] Installing libpwquality-0:1.4 100% | 105.8 MiB/s | 433.2 KiB | 00m00s [115/154] Installing libnsl2-0:2.0.1-1. 100% | 61.4 MiB/s | 62.8 KiB | 00m00s [116/154] Installing pam-0:1.6.1-3.fc40 100% | 163.3 MiB/s | 1.8 MiB | 00m00s [117/154] Installing libssh-0:0.10.6-5. 100% | 259.4 MiB/s | 531.2 KiB | 00m00s [118/154] Installing rpm-sequoia-0:1.6. 100% | 291.0 MiB/s | 2.9 MiB | 00m00s [119/154] Installing rpm-libs-0:4.19.1. 100% | 264.0 MiB/s | 811.1 KiB | 00m00s [120/154] Installing libevent-0:2.1.12- 100% | 306.8 MiB/s | 942.5 KiB | 00m00s [121/154] Installing openldap-0:2.6.7-1 100% | 220.8 MiB/s | 678.3 KiB | 00m00s [122/154] Installing libcurl-0:8.6.0-8. 100% | 200.6 MiB/s | 821.5 KiB | 00m00s [123/154] Installing elfutils-libs-0:0. 100% | 243.5 MiB/s | 747.9 KiB | 00m00s [124/154] Installing elfutils-debuginfo 100% | 32.4 MiB/s | 66.4 KiB | 00m00s [125/154] Installing binutils-0:2.41-37 100% | 316.4 MiB/s | 25.9 MiB | 00m00s >>> Running post-install scriptlet: binutils-0:2.41-37.fc40.s390x >>> Stop post-install scriptlet: binutils-0:2.41-37.fc40.s390x [126/154] Installing binutils-gold-0:2. 100% | 190.4 MiB/s | 2.9 MiB | 00m00s >>> Running post-install scriptlet: binutils-gold-0:2.41-37.fc40.s390x >>> Stop post-install scriptlet: binutils-gold-0:2.41-37.fc40.s390x [127/154] Installing elfutils-0:0.191-4 100% | 296.7 MiB/s | 3.0 MiB | 00m00s [128/154] Installing gdb-minimal-0:14.2 100% | 290.5 MiB/s | 13.1 MiB | 00m00s [129/154] Installing debugedit-0:5.0-14 100% | 100.2 MiB/s | 205.2 KiB | 00m00s [130/154] Installing rpm-build-libs-0:4 100% | 202.2 MiB/s | 207.0 KiB | 00m00s [131/154] Installing curl-0:8.6.0-8.fc4 100% | 74.3 MiB/s | 760.8 KiB | 00m00s >>> Running pre-install scriptlet: rpm-0:4.19.1.1-1.fc40.s390x >>> Stop pre-install scriptlet: rpm-0:4.19.1.1-1.fc40.s390x [132/154] Installing rpm-0:4.19.1.1-1.f 100% | 159.9 MiB/s | 2.4 MiB | 00m00s [133/154] Installing efi-srpm-macros-0: 100% | 0.0 B/s | 41.2 KiB | 00m00s [134/154] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [135/154] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.7 KiB | 00m00s [136/154] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [137/154] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [138/154] Installing openblas-srpm-macr 100% | 0.0 B/s | 384.0 B | 00m00s [139/154] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.2 KiB | 00m00s [140/154] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [141/154] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [142/154] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 992.0 B | 00m00s [143/154] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [144/154] Installing ansible-srpm-macro 100% | 0.0 B/s | 36.2 KiB | 00m00s [145/154] Installing python-srpm-macros 100% | 50.1 MiB/s | 51.3 KiB | 00m00s [146/154] Installing fonts-srpm-macros- 100% | 55.1 MiB/s | 56.5 KiB | 00m00s [147/154] Installing go-srpm-macros-0:3 100% | 60.2 MiB/s | 61.6 KiB | 00m00s [148/154] Installing forge-srpm-macros- 100% | 39.4 MiB/s | 40.3 KiB | 00m00s [149/154] Installing redhat-rpm-config- 100% | 93.6 MiB/s | 191.7 KiB | 00m00s [150/154] Installing rpm-build-0:4.19.1 100% | 91.9 MiB/s | 188.3 KiB | 00m00s [151/154] Installing pyproject-srpm-mac 100% | 2.0 MiB/s | 2.1 KiB | 00m00s [152/154] Installing util-linux-0:2.40. 100% | 163.8 MiB/s | 3.8 MiB | 00m00s >>> Running post-install scriptlet: util-linux-0:2.40.1-1.fc40.s390x >>> Stop post-install scriptlet: util-linux-0:2.40.1-1.fc40.s390x [153/154] Installing which-0:2.21-41.fc 100% | 84.1 MiB/s | 86.1 KiB | 00m00s [154/154] Installing info-0:7.1-2.fc40. 100% | 336.0 KiB/s | 405.5 KiB | 00m01s >>> Running post-transaction scriptlet: filesystem-0:3.18-8.fc40.s390x >>> Stop post-transaction scriptlet: filesystem-0:3.18-8.fc40.s390x >>> Running post-transaction scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.f >>> Stop post-transaction scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40 >>> Running post-transaction scriptlet: authselect-libs-0:1.5.0-5.fc40.s390x >>> Stop post-transaction scriptlet: authselect-libs-0:1.5.0-5.fc40.s390x >>> Running post-transaction scriptlet: rpm-0:4.19.1.1-1.fc40.s390x >>> Stop post-transaction scriptlet: rpm-0:4.19.1.1-1.fc40.s390x >>> Running trigger-install scriptlet: glibc-common-0:2.39-15.fc40.s390x >>> Stop trigger-install scriptlet: glibc-common-0:2.39-15.fc40.s390x >>> Running trigger-install scriptlet: info-0:7.1-2.fc40.s390x >>> Stop trigger-install scriptlet: info-0:7.1-2.fc40.s390x Warning: skipped PGP checks for 3 package(s). Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: alternatives-1.27-1.fc40.s390x ansible-srpm-macros-1-14.fc40.noarch audit-libs-4.0.1-1.fc40.s390x authselect-1.5.0-5.fc40.s390x authselect-libs-1.5.0-5.fc40.s390x basesystem-11-20.fc40.noarch bash-5.2.26-3.fc40.s390x binutils-2.41-37.fc40.s390x binutils-gold-2.41-37.fc40.s390x bzip2-1.0.8-18.fc40.s390x bzip2-libs-1.0.8-18.fc40.s390x ca-certificates-2023.2.62_v7.0.401-6.fc40.noarch coreutils-9.4-6.fc40.s390x coreutils-common-9.4-6.fc40.s390x cpio-2.15-1.fc40.s390x cracklib-2.9.11-5.fc40.s390x crypto-policies-20240510-1.gitd287a42.fc40.noarch curl-8.6.0-8.fc40.s390x cyrus-sasl-lib-2.1.28-19.fc40.s390x debugedit-5.0-14.fc40.s390x diffutils-3.10-5.fc40.s390x dwz-0.15-6.fc40.s390x ed-1.20.2-1.fc40.s390x efi-srpm-macros-5-11.fc40.noarch elfutils-0.191-4.fc40.s390x elfutils-debuginfod-client-0.191-4.fc40.s390x elfutils-default-yama-scope-0.191-4.fc40.noarch elfutils-libelf-0.191-4.fc40.s390x elfutils-libs-0.191-4.fc40.s390x fedora-gpg-keys-40-2.noarch fedora-release-40-39.noarch fedora-release-common-40-39.noarch fedora-release-identity-basic-40-39.noarch fedora-repos-40-2.noarch file-5.45-4.fc40.s390x file-libs-5.45-4.fc40.s390x filesystem-3.18-8.fc40.s390x findutils-4.9.0-8.fc40.s390x fonts-srpm-macros-2.0.5-14.fc40.noarch forge-srpm-macros-0.3.1-1.fc40.noarch fpc-srpm-macros-1.3-12.fc40.noarch gawk-5.3.0-3.fc40.s390x gdb-minimal-14.2-2.fc40.s390x gdbm-1.23-6.fc40.s390x gdbm-libs-1.23-6.fc40.s390x ghc-srpm-macros-1.9-1.fc40.noarch glibc-2.39-15.fc40.s390x glibc-common-2.39-15.fc40.s390x glibc-gconv-extra-2.39-15.fc40.s390x glibc-minimal-langpack-2.39-15.fc40.s390x gmp-6.2.1-8.fc40.s390x gnat-srpm-macros-6-5.fc40.noarch go-srpm-macros-3.5.0-1.fc40.noarch gpg-pubkey-a15b79cc-63d04c2c grep-3.11-8.fc40.s390x gzip-1.13-1.fc40.s390x info-7.1-2.fc40.s390x jansson-2.13.1-9.fc40.s390x kernel-srpm-macros-1.0-23.fc40.noarch keyutils-libs-1.6.3-3.fc40.s390x krb5-libs-1.21.2-5.fc40.s390x libacl-2.3.2-1.fc40.s390x libarchive-3.7.2-4.fc40.s390x libattr-2.5.2-3.fc40.s390x libblkid-2.40.1-1.fc40.s390x libbrotli-1.1.0-3.fc40.s390x libcap-2.69-8.fc40.s390x libcap-ng-0.8.4-4.fc40.s390x libcom_err-1.47.0-5.fc40.s390x libcurl-8.6.0-8.fc40.s390x libeconf-0.6.2-2.fc40.s390x libevent-2.1.12-12.fc40.s390x libfdisk-2.40.1-1.fc40.s390x libffi-3.4.4-7.fc40.s390x libgcc-14.1.1-6.fc40.s390x libgomp-14.1.1-6.fc40.s390x libidn2-2.3.7-1.fc40.s390x libmount-2.40.1-1.fc40.s390x libnghttp2-1.59.0-3.fc40.s390x libnsl2-2.0.1-1.fc40.s390x libpkgconf-2.1.0-1.fc40.s390x libpsl-0.21.5-3.fc40.s390x libpwquality-1.4.5-9.fc40.s390x libselinux-3.6-4.fc40.s390x libsemanage-3.6-3.fc40.s390x libsepol-3.6-3.fc40.s390x libsmartcols-2.40.1-1.fc40.s390x libssh-0.10.6-5.fc40.s390x libssh-config-0.10.6-5.fc40.noarch libstdc++-14.1.1-6.fc40.s390x libtasn1-4.19.0-6.fc40.s390x libtirpc-1.3.4-1.rc3.fc40.s390x libtool-ltdl-2.4.7-10.fc40.s390x libunistring-1.1-7.fc40.s390x libutempter-1.2.1-13.fc40.s390x libuuid-2.40.1-1.fc40.s390x libverto-0.3.2-8.fc40.s390x libxcrypt-4.4.36-5.fc40.s390x libxml2-2.12.8-1.fc40.s390x libzstd-1.5.6-1.fc40.s390x lua-libs-5.4.6-5.fc40.s390x lua-srpm-macros-1-13.fc40.noarch lz4-libs-1.9.4-6.fc40.s390x mpfr-4.2.1-4.fc40.s390x ncurses-base-6.4-12.20240127.fc40.noarch ncurses-libs-6.4-12.20240127.fc40.s390x ocaml-srpm-macros-9-3.fc40.noarch openblas-srpm-macros-2-16.fc40.noarch openldap-2.6.7-1.fc40.s390x openssl-libs-3.2.1-2.fc40.s390x p11-kit-0.25.3-4.fc40.s390x p11-kit-trust-0.25.3-4.fc40.s390x package-notes-srpm-macros-0.5-11.fc40.noarch pam-1.6.1-3.fc40.s390x pam-libs-1.6.1-3.fc40.s390x patch-2.7.6-24.fc40.s390x pcre2-10.44-1.fc40.s390x pcre2-syntax-10.44-1.fc40.noarch perl-srpm-macros-1-53.fc40.noarch pkgconf-2.1.0-1.fc40.s390x pkgconf-m4-2.1.0-1.fc40.noarch pkgconf-pkg-config-2.1.0-1.fc40.s390x popt-1.19-6.fc40.s390x publicsuffix-list-dafsa-20240107-3.fc40.noarch pyproject-srpm-macros-1.12.0-1.fc40.noarch python-srpm-macros-3.12-7.fc40.noarch qt5-srpm-macros-5.15.14-1.fc40.noarch qt6-srpm-macros-6.7.1-1.fc40.noarch readline-8.2-8.fc40.s390x redhat-rpm-config-286-1.fc40.noarch rpm-4.19.1.1-1.fc40.s390x rpm-build-4.19.1.1-1.fc40.s390x rpm-build-libs-4.19.1.1-1.fc40.s390x rpm-libs-4.19.1.1-1.fc40.s390x rpm-sequoia-1.6.0-3.fc40.s390x rust-srpm-macros-26.3-1.fc40.noarch sed-4.9-1.fc40.s390x setup-2.14.5-2.fc40.noarch shadow-utils-4.15.1-3.fc40.s390x sqlite-libs-3.45.1-2.fc40.s390x systemd-libs-255.7-1.fc40.s390x tar-1.35-3.fc40.s390x unzip-6.0-63.fc40.s390x util-linux-2.40.1-1.fc40.s390x util-linux-core-2.40.1-1.fc40.s390x which-2.21-41.fc40.s390x xxhash-libs-0.8.2-2.fc40.s390x xz-5.4.6-3.fc40.s390x xz-libs-5.4.6-3.fc40.s390x zig-srpm-macros-1-2.fc40.noarch zip-3.0-40.fc40.s390x zlib-ng-compat-2.1.6-5.fc40.s390x zstd-1.5.6-1.fc40.s390x Start: buildsrpm Start: rpmbuild -bs Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1714089600 Wrote: /builddir/build/SRPMS/clamav-1.0.6-1.fc40.src.rpm Finish: rpmbuild -bs cp: preserving permissions for ‘/var/lib/copr-rpmbuild/results/chroot_scan/var/lib/mock/fedora-40-s390x-1719570706.022234/root/var/log’: No such file or directory INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-40-s390x-1719570706.022234/root/var/log/dnf5.log Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-rpg3u2fq/clamav/clamav.spec) Config(child) 0 minutes 56 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/clamav-1.0.6-1.fc40.src.rpm) Config(fedora-40-s390x) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-40-s390x-bootstrap-1719570706.022234/root. INFO: reusing tmpfs at /var/lib/mock/fedora-40-s390x-bootstrap-1719570706.022234/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-40-s390x-1719570706.022234/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.19.1.1-1.fc40.s390x rpm-sequoia-1.6.0-3.fc40.s390x python3-dnf-4.19.2-1.fc40.noarch yum-4.19.2-1.fc40.noarch dnf5-5.1.17-1.fc40.s390x dnf5-plugins-5.1.17-1.fc40.s390x Finish: chroot init Start: build phase for clamav-1.0.6-1.fc40.src.rpm Start: build setup for clamav-1.0.6-1.fc40.src.rpm Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1714089600 Wrote: /builddir/build/SRPMS/clamav-1.0.6-1.fc40.src.rpm Updating and loading repositories: fedora 100% | 75.6 KiB/s | 4.5 KiB | 00m00s updates 100% | 144.0 KiB/s | 6.0 KiB | 00m00s Copr repository 100% | 305.0 B/s | 1.5 KiB | 00m05s Repositories loaded. Package Arch Version Repository Size Installing: bc s390x 1.07.1-21.fc40 fedora 249.1 KiB bzip2-devel s390x 1.0.8-18.fc40 fedora 309.8 KiB cargo s390x 1.79.0-3.fc40 updates 23.2 MiB cargo-rpm-macros noarch 26.3-1.fc40 updates 14.7 KiB check-devel s390x 0.15.2-15.fc40 updates 120.0 KiB cmake s390x 3.28.2-1.fc40 fedora 31.1 MiB gcc-c++ s390x 14.1.1-6.fc40 updates 28.7 MiB gettext-devel s390x 0.22.5-2.fc40 fedora 1.0 MiB git-core s390x 2.45.2-2.fc40 updates 22.7 MiB gmp-devel s390x 1:6.2.1-8.fc40 fedora 358.9 KiB gnutls-devel s390x 3.8.5-1.fc40 updates 5.5 MiB graphviz s390x 9.0.0-11.fc40 fedora 21.5 MiB groff s390x 1.23.0-6.fc40 fedora 4.6 MiB json-c-devel s390x 0.17-3.fc40 fedora 151.1 KiB libcurl-devel s390x 8.6.0-8.fc40 updates 1.2 MiB libprelude-devel s390x 5.2.0-23.fc40 fedora 404.8 KiB libxml2-devel s390x 2.12.8-1.fc40 updates 3.4 MiB make s390x 1:4.4.1-6.fc40 fedora 1.9 MiB ncurses-devel s390x 6.4-12.20240127.fc40 fedora 859.8 KiB nmap-ncat s390x 3:7.95-1.fc40 copr_base 558.7 KiB ocaml s390x 5.1.1-4.fc40 fedora 147.5 MiB openssl-devel s390x 1:3.2.1-2.fc40 fedora 4.3 MiB pcre2-devel s390x 10.44-1.fc40 copr_base 2.0 MiB python3 s390x 3.12.3-2.fc40 updates 31.3 KiB python3-pytest noarch 7.4.3-3.fc40 fedora 15.0 MiB rust s390x 1.79.0-3.fc40 updates 95.4 MiB sendmail-milter-devel s390x 8.18.1-1.fc40 fedora 259.4 KiB systemd s390x 255.7-1.fc40 updates 14.7 MiB systemd-devel s390x 255.7-1.fc40 updates 552.4 KiB systemd-rpm-macros noarch 255.7-1.fc40 updates 9.5 KiB tcl s390x 1:8.6.13-2.fc40 fedora 4.4 MiB valgrind s390x 1:3.23.0-2.fc40 updates 31.0 MiB zlib-ng-compat-devel s390x 2.1.6-5.fc40 updates 103.4 KiB Installing dependencies: abattis-cantarell-vf-fonts noarch 0.301-12.fc40 fedora 192.7 KiB adobe-mappings-cmap noarch 20230622-3.fc40 fedora 14.4 MiB adobe-mappings-cmap-deprecated noarch 20230622-3.fc40 fedora 582.1 KiB adobe-mappings-pdf noarch 20190401-7.fc40 fedora 4.4 MiB annobin-docs noarch 12.57-1.fc40 updates 96.2 KiB annobin-plugin-gcc s390x 12.57-1.fc40 updates 975.4 KiB autoconf noarch 2.71-10.fc40 fedora 2.4 MiB automake noarch 1.16.5-16.fc40 fedora 1.7 MiB avahi-libs s390x 0.8-26.fc40 fedora 181.6 KiB cairo s390x 1.18.0-3.fc40 fedora 1.8 MiB cairo-gobject s390x 1.18.0-3.fc40 fedora 43.0 KiB cargo2rpm noarch 0.1.16-1.fc40 updates 1.2 MiB check s390x 0.15.2-15.fc40 updates 153.9 KiB check-static s390x 0.15.2-15.fc40 updates 115.6 KiB cmake-data noarch 3.28.2-1.fc40 fedora 8.0 MiB cmake-filesystem s390x 3.28.2-1.fc40 fedora 0.0 B cmake-rpm-macros noarch 3.28.2-1.fc40 fedora 7.4 KiB cpp s390x 14.1.1-6.fc40 updates 25.5 MiB crypto-policies-scripts noarch 20240510-1.gitd287a42.fc40 updates 313.8 KiB cups-libs s390x 1:2.4.8-3.fc40 updates 726.7 KiB dbus s390x 1:1.14.10-3.fc40 fedora 0.0 B dbus-broker s390x 36-2.fc40 updates 393.9 KiB dbus-common noarch 1:1.14.10-3.fc40 fedora 11.2 KiB dbus-libs s390x 1:1.14.10-3.fc40 fedora 396.8 KiB default-fonts-core-sans noarch 4.0-13.fc40 updates 11.9 KiB emacs-filesystem noarch 1:29.4-3.fc40 updates 0.0 B expat s390x 2.6.2-1.fc40 updates 316.4 KiB fontconfig s390x 2.15.0-6.fc40 updates 801.7 KiB fonts-filesystem noarch 1:2.0.5-14.fc40 fedora 0.0 B freetype s390x 2.13.2-5.fc40 fedora 935.0 KiB fribidi s390x 1.0.14-2.fc40 updates 379.1 KiB gc s390x 8.2.2-6.fc40 fedora 273.8 KiB gcc s390x 14.1.1-6.fc40 updates 76.5 MiB gcc-plugin-annobin s390x 14.1.1-6.fc40 updates 56.8 KiB gd s390x 2.3.3-16.fc40 fedora 455.5 KiB gdk-pixbuf2 s390x 2.42.10-8.fc40 fedora 2.5 MiB gettext s390x 0.22.5-2.fc40 fedora 5.3 MiB gettext-common-devel noarch 0.22.5-2.fc40 fedora 403.5 KiB gettext-envsubst s390x 0.22.5-2.fc40 fedora 74.7 KiB gettext-libs s390x 0.22.5-2.fc40 fedora 1.8 MiB gettext-runtime s390x 0.22.5-2.fc40 fedora 480.8 KiB glib2 s390x 2.80.3-2.fc40 copr_base 14.9 MiB glibc-devel s390x 2.39-15.fc40 updates 458.6 KiB glibc-headers-s390 noarch 2.39-15.fc40 updates 2.1 MiB gmp-c++ s390x 1:6.2.1-8.fc40 fedora 31.4 KiB gnupg2 s390x 2.4.4-1.fc40 fedora 9.9 MiB gnutls s390x 3.8.5-1.fc40 updates 3.1 MiB gnutls-c++ s390x 3.8.5-1.fc40 updates 71.4 KiB gnutls-dane s390x 3.8.5-1.fc40 updates 73.5 KiB google-droid-sans-fonts noarch 20200215-19.fc40 fedora 6.3 MiB google-noto-fonts-common noarch 20240301-2.fc40 fedora 17.5 KiB google-noto-sans-vf-fonts noarch 20240301-2.fc40 fedora 1.2 MiB gpgme s390x 1.23.2-3.fc40 fedora 634.5 KiB gpgmepp s390x 1.23.2-3.fc40 fedora 437.6 KiB graphite2 s390x 1.3.14-15.fc40 fedora 207.4 KiB groff-base s390x 1.23.0-6.fc40 fedora 4.3 MiB gts s390x 0.7.6-48.20121130.fc40 fedora 658.6 KiB guile30 s390x 3.0.7-12.fc40 fedora 51.5 MiB harfbuzz s390x 8.4.0-1.fc40 updates 2.7 MiB highway s390x 1.2.0-2.fc40 updates 1.5 MiB jbig2dec-libs s390x 0.20-4.fc40 fedora 176.9 KiB jbigkit-libs s390x 2.1-29.fc40 fedora 121.2 KiB json-c s390x 0.17-3.fc40 fedora 86.1 KiB jsoncpp s390x 1.9.5-7.fc40 fedora 247.5 KiB kernel-headers s390x 6.9.4-200.fc40 updates 6.2 MiB kmod-libs s390x 31-5.fc40 fedora 151.0 KiB lasi s390x 1.1.3-13.fc40 fedora 126.2 KiB lcms2 s390x 2.16-3.fc40 fedora 456.7 KiB less s390x 643-4.fc40 fedora 423.8 KiB libICE s390x 1.1.1-3.fc40 fedora 192.9 KiB libSM s390x 1.2.4-3.fc40 fedora 105.1 KiB libX11 s390x 1.8.9-1.fc40 updates 1.4 MiB libX11-common noarch 1.8.9-1.fc40 updates 1.1 MiB libXau s390x 1.0.11-6.fc40 fedora 66.6 KiB libXext s390x 1.3.6-1.fc40 fedora 97.7 KiB libXft s390x 2.3.8-6.fc40 fedora 172.2 KiB libXpm s390x 3.5.17-3.fc40 fedora 160.2 KiB libXrender s390x 0.9.11-6.fc40 fedora 53.9 KiB libXt s390x 1.3.0-3.fc40 fedora 477.5 KiB libaom s390x 3.9.0-1.fc40 updates 3.5 MiB libasan s390x 14.1.1-6.fc40 updates 1.6 MiB libassuan s390x 2.5.7-1.fc40 fedora 171.6 KiB libatomic s390x 14.1.1-6.fc40 updates 32.3 KiB libavif s390x 1.0.4-3.fc40 updates 195.6 KiB libb2 s390x 0.98.1-11.fc40 fedora 42.0 KiB libcbor s390x 0.11.0-1.fc40 fedora 81.7 KiB libdatrie s390x 0.2.13-9.fc40 fedora 61.7 KiB libdav1d s390x 1.4.3-1.fc40 updates 661.2 KiB libedit s390x 3.1-51.20240517cvs.fc40 updates 279.8 KiB libfido2 s390x 1.14.0-4.fc40 fedora 237.8 KiB libgcrypt s390x 1.10.3-3.fc40 fedora 1.1 MiB libgit2 s390x 1.7.2-3.fc40 copr_base 1.3 MiB libgpg-error s390x 1.49-1.fc40 updates 886.8 KiB libgs s390x 10.02.1-9.fc40 updates 24.0 MiB libibverbs s390x 48.0-4.fc40 fedora 1.2 MiB libidn2-devel s390x 2.3.7-1.fc40 fedora 252.1 KiB libijs s390x 0.35-22.fc40 fedora 65.4 KiB libimagequant s390x 4.0.3-3.fc40 fedora 843.4 KiB libjpeg-turbo s390x 3.0.2-1.fc40 fedora 747.6 KiB libjxl s390x 1:0.8.2-6.fc40 fedora 2.5 MiB libksba s390x 1.6.6-1.fc40 fedora 416.8 KiB liblerc s390x 4.0.0-6.fc40 fedora 269.0 KiB libmpc s390x 1.3.1-5.fc40 fedora 172.5 KiB libnl3 s390x 3.9.0-3.fc40 fedora 1.1 MiB libpaper s390x 1:2.1.1-3.fc40 fedora 48.7 KiB libpcap s390x 14:1.10.4-4.fc40 fedora 425.5 KiB libpng s390x 2:1.6.40-3.fc40 fedora 253.6 KiB libprelude s390x 5.2.0-23.fc40 fedora 2.1 MiB librsvg2 s390x 2.57.1-6.fc40 updates 5.2 MiB libseccomp s390x 2.5.5-1.fc40 updates 185.1 KiB libssh2 s390x 1.11.0-4.fc40 fedora 313.4 KiB libstdc++-devel s390x 14.1.1-6.fc40 updates 15.1 MiB libtasn1-devel s390x 4.19.0-6.fc40 fedora 76.1 KiB libtasn1-tools s390x 4.19.0-6.fc40 fedora 68.9 KiB libthai s390x 0.1.29-8.fc40 fedora 787.3 KiB libtiff s390x 4.6.0-2.fc40 fedora 1.2 MiB libtool-ltdl-devel s390x 2.4.7-10.fc40 fedora 837.7 KiB libubsan s390x 14.1.1-6.fc40 updates 491.3 KiB libuv s390x 1:1.48.0-1.fc40 fedora 550.3 KiB libwebp s390x 1.3.2-5.fc40 fedora 657.2 KiB libxcb s390x 1.17.0-1.fc40 updates 1.2 MiB libxcrypt-devel s390x 4.4.36-5.fc40 fedora 30.3 KiB libzstd-devel s390x 1.5.6-1.fc40 updates 202.4 KiB llhttp s390x 9.2.1-1.fc40 updates 84.4 KiB llvm-libs s390x 18.1.6-2.fc40 updates 180.8 MiB m4 s390x 1.4.19-9.fc40 fedora 628.5 KiB mpdecimal s390x 2.5.1-9.fc40 fedora 228.6 KiB ncurses s390x 6.4-12.20240127.fc40 fedora 635.3 KiB ncurses-c++-libs s390x 6.4-12.20240127.fc40 fedora 161.1 KiB netpbm s390x 11.02.00-6.fc40 fedora 597.0 KiB nettle s390x 3.9.1-6.fc40 fedora 846.2 KiB nettle-devel s390x 3.9.1-6.fc40 fedora 1.4 MiB npth s390x 1.7-1.fc40 fedora 49.3 KiB nspr s390x 4.35.0-24.fc40 updates 364.0 KiB nss s390x 3.101.0-1.fc40 updates 2.0 MiB nss-softokn s390x 3.101.0-1.fc40 updates 2.1 MiB nss-softokn-freebl s390x 3.101.0-1.fc40 updates 770.3 KiB nss-sysinit s390x 3.101.0-1.fc40 updates 18.0 KiB nss-util s390x 3.101.0-1.fc40 updates 242.1 KiB ocaml-runtime s390x 5.1.1-4.fc40 fedora 5.7 MiB openjpeg2 s390x 2.5.2-1.fc40 fedora 485.5 KiB openssh s390x 9.6p1-1.fc40.2 fedora 1.9 MiB openssh-clients s390x 9.6p1-1.fc40.2 fedora 2.7 MiB p11-kit-devel s390x 0.25.3-4.fc40 fedora 542.7 KiB pango s390x 1.54.0-1.fc40 updates 1.0 MiB pcre2-utf16 s390x 10.44-1.fc40 copr_base 625.6 KiB pcre2-utf32 s390x 10.44-1.fc40 copr_base 593.5 KiB perl-AutoLoader noarch 5.74-506.fc40 fedora 20.5 KiB perl-B s390x 1.88-506.fc40 fedora 516.1 KiB perl-Carp noarch 1.54-502.fc40 fedora 46.5 KiB perl-Class-Struct noarch 0.68-506.fc40 fedora 25.4 KiB perl-Data-Dumper s390x 2.188-503.fc40 fedora 115.5 KiB perl-Digest noarch 1.20-502.fc40 fedora 35.2 KiB perl-Digest-MD5 s390x 2.59-3.fc40 fedora 59.5 KiB perl-DynaLoader s390x 1.54-506.fc40 fedora 32.1 KiB perl-Encode s390x 4:3.21-505.fc40 fedora 9.6 MiB perl-Errno s390x 1.37-506.fc40 fedora 8.3 KiB perl-Exporter noarch 5.78-3.fc40 fedora 54.2 KiB perl-Fcntl s390x 1.15-506.fc40 fedora 32.4 KiB perl-File-Basename noarch 2.86-506.fc40 fedora 14.0 KiB perl-File-Compare noarch 1.100.700-506.fc40 fedora 5.5 KiB perl-File-Copy noarch 2.41-506.fc40 fedora 19.6 KiB perl-File-Find noarch 1.43-506.fc40 fedora 41.9 KiB perl-File-Path noarch 2.18-503.fc40 fedora 63.5 KiB perl-File-Temp noarch 1:0.231.100-503.fc40 fedora 162.3 KiB perl-File-stat noarch 1.13-506.fc40 fedora 12.7 KiB perl-FileHandle noarch 2.05-506.fc40 fedora 9.3 KiB perl-Getopt-Long noarch 1:2.57-4.fc40 updates 144.1 KiB perl-Getopt-Std noarch 1.13-506.fc40 fedora 11.1 KiB perl-HTTP-Tiny noarch 0.088-5.fc40 fedora 152.1 KiB perl-IO s390x 1.52-506.fc40 fedora 150.8 KiB perl-IO-Socket-IP noarch 0.42-2.fc40 fedora 98.6 KiB perl-IO-Socket-SSL noarch 2.085-1.fc40 fedora 685.0 KiB perl-IPC-Open3 noarch 1.22-506.fc40 fedora 22.4 KiB perl-MIME-Base64 s390x 3.16-503.fc40 fedora 45.8 KiB perl-Mozilla-CA noarch 20231213-3.fc40 fedora 9.1 KiB perl-Net-SSLeay s390x 1.94-3.fc40 fedora 1.4 MiB perl-POSIX s390x 2.13-506.fc40 fedora 244.8 KiB perl-PathTools s390x 3.89-502.fc40 fedora 179.4 KiB perl-Pod-Escapes noarch 1:1.07-503.fc40 fedora 24.9 KiB perl-Pod-Perldoc noarch 3.28.01-503.fc40 fedora 163.1 KiB perl-Pod-Simple noarch 1:3.45-6.fc40 fedora 559.8 KiB perl-Pod-Usage noarch 4:2.03-504.fc40 updates 84.7 KiB perl-Scalar-List-Utils s390x 5:1.63-503.fc40 fedora 149.2 KiB perl-SelectSaver noarch 1.02-506.fc40 fedora 2.2 KiB perl-Socket s390x 4:2.038-1.fc40 updates 127.8 KiB perl-Storable s390x 1:3.32-502.fc40 fedora 232.1 KiB perl-Symbol noarch 1.09-506.fc40 fedora 6.8 KiB perl-Term-ANSIColor noarch 5.01-504.fc40 fedora 97.5 KiB perl-Term-Cap noarch 1.18-503.fc40 fedora 29.3 KiB perl-Text-ParseWords noarch 3.31-502.fc40 fedora 13.5 KiB perl-Text-Tabs+Wrap noarch 2024.001-1.fc40 fedora 22.5 KiB perl-Thread-Queue noarch 3.14-503.fc40 fedora 28.8 KiB perl-Time-Local noarch 2:1.350-5.fc40 fedora 68.9 KiB perl-URI noarch 5.28-1.fc40 updates 240.2 KiB perl-base noarch 2.27-506.fc40 fedora 12.5 KiB perl-constant noarch 1.33-503.fc40 fedora 26.2 KiB perl-if noarch 0.61.000-506.fc40 fedora 5.8 KiB perl-interpreter s390x 4:5.38.2-506.fc40 fedora 119.5 KiB perl-libnet noarch 3.15-503.fc40 fedora 289.0 KiB perl-libs s390x 4:5.38.2-506.fc40 fedora 10.2 MiB perl-locale noarch 1.10-506.fc40 fedora 6.2 KiB perl-mro s390x 1.28-506.fc40 fedora 41.4 KiB perl-overload noarch 1.37-506.fc40 fedora 71.5 KiB perl-overloading noarch 0.02-506.fc40 fedora 4.8 KiB perl-parent noarch 1:0.241-502.fc40 fedora 9.7 KiB perl-podlators noarch 1:5.01-502.fc40 fedora 308.1 KiB perl-threads s390x 1:2.36-503.fc40 fedora 114.9 KiB perl-threads-shared s390x 1.68-502.fc40 fedora 83.4 KiB perl-vars noarch 1.05-506.fc40 fedora 3.9 KiB pixman s390x 0.43.4-1.fc40 updates 584.4 KiB poppler s390x 24.02.0-2.fc40 fedora 4.0 MiB poppler-data noarch 0.4.11-7.fc40 fedora 12.3 MiB poppler-glib s390x 24.02.0-2.fc40 fedora 609.7 KiB protobuf-c s390x 1.5.0-3.fc40 fedora 57.7 KiB python-pip-wheel noarch 23.3.2-1.fc40 fedora 1.5 MiB python3-iniconfig noarch 1.1.1-16.fc40 fedora 20.5 KiB python3-libs s390x 3.12.3-2.fc40 updates 41.8 MiB python3-packaging noarch 23.2-4.fc40 fedora 421.1 KiB python3-pluggy noarch 1.3.0-3.fc40 fedora 182.5 KiB rav1e-libs s390x 0.7.1-2.fc40 updates 2.5 MiB rhash s390x 1.4.3-4.fc40 fedora 356.3 KiB rsvg-pixbuf-loader s390x 2.57.1-6.fc40 updates 15.3 KiB rust-std-static s390x 1.79.0-3.fc40 updates 149.0 MiB sendmail-milter s390x 8.18.1-1.fc40 fedora 80.8 KiB shared-mime-info s390x 2.3-5.fc40 updates 5.2 MiB subunit s390x 1.4.4-2.fc40 fedora 70.8 KiB subunit-devel s390x 1.4.4-2.fc40 fedora 5.3 KiB svt-av1-libs s390x 2.1.0-1.fc40 updates 3.7 MiB systemd-pam s390x 255.7-1.fc40 updates 1.1 MiB tpm2-tss s390x 4.1.3-1.fc40 updates 1.6 MiB tzdata noarch 2024a-5.fc40 updates 1.6 MiB unbound-libs s390x 1.20.0-1.fc40 updates 1.5 MiB urw-base35-bookman-fonts noarch 20200910-20.fc40 updates 1.4 MiB urw-base35-c059-fonts noarch 20200910-20.fc40 updates 1.4 MiB urw-base35-d050000l-fonts noarch 20200910-20.fc40 updates 84.3 KiB urw-base35-fonts noarch 20200910-20.fc40 updates 5.3 KiB urw-base35-fonts-common noarch 20200910-20.fc40 updates 37.4 KiB urw-base35-gothic-fonts noarch 20200910-20.fc40 updates 1.2 MiB urw-base35-nimbus-mono-ps-fonts noarch 20200910-20.fc40 updates 1.0 MiB urw-base35-nimbus-roman-fonts noarch 20200910-20.fc40 updates 1.4 MiB urw-base35-nimbus-sans-fonts noarch 20200910-20.fc40 updates 2.4 MiB urw-base35-p052-fonts noarch 20200910-20.fc40 updates 1.5 MiB urw-base35-standard-symbols-ps-fonts noarch 20200910-20.fc40 updates 64.9 KiB urw-base35-z003-fonts noarch 20200910-20.fc40 updates 390.8 KiB vim-filesystem noarch 2:9.1.452-1.fc40 updates 40.0 B xml-common noarch 0.6.3-63.fc40 fedora 78.4 KiB xz-devel s390x 1:5.4.6-3.fc40 fedora 255.8 KiB Transaction Summary: Installing: 281 packages Total size of inbound packages is 340 MiB. Need to download 194 MiB. After this operation 1 GiB will be used (install 1 GiB, remove 0 B). [ 1/281] bzip2-devel-0:1.0.8-18.fc40.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/281] graphviz-0:9.0.0-11.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/281] make-1:4.4.1-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/281] openssl-devel-1:3.2.1-2.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/281] gcc-c++-0:14.1.1-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/281] pcre2-devel-0:10.44-1.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/281] python3-0:3.12.3-2.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/281] systemd-rpm-macros-0:255.7-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/281] zlib-ng-compat-devel-0:2.1.6- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/281] cairo-0:1.18.0-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/281] freetype-0:2.13.2-5.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/281] gd-0:2.3.3-16.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/281] gdk-pixbuf2-0:2.42.10-8.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/281] gts-0:0.7.6-48.20121130.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/281] lasi-0:1.1.3-13.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/281] libXrender-0:0.9.11-6.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/281] libwebp-0:1.3.2-5.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/281] poppler-glib-0:24.02.0-2.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/281] groff-base-0:1.23.0-6.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/281] json-c-0:0.17-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/281] guile30-0:3.0.7-12.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/281] libmpc-0:1.3.1-5.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/281] gcc-0:14.1.1-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/281] libstdc++-devel-0:14.1.1-6.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/281] gnutls-0:3.8.5-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/281] python3-libs-0:3.12.3-2.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/281] perl-File-Basename-0:2.86-506 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/281] perl-interpreter-4:5.38.2-506 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/281] perl-libs-4:5.38.2-506.fc40.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/281] libXext-0:1.3.6-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/281] libpng-2:1.6.40-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/281] libXpm-0:3.5.17-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/281] libimagequant-0:4.0.3-3.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/281] libjpeg-turbo-0:3.0.2-1.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/281] libtiff-0:4.6.0-2.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/281] netpbm-0:11.02.00-6.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/281] poppler-0:24.02.0-2.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/281] automake-0:1.16.5-16.fc40.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/281] gc-0:8.2.2-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/281] cpp-0:14.1.1-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/281] nettle-0:3.9.1-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/281] libb2-0:0.98.1-11.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/281] mpdecimal-0:2.5.1-9.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/281] python-pip-wheel-0:23.3.2-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/281] perl-Carp-0:1.54-502.fc40.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/281] perl-Exporter-0:5.78-3.fc40.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/281] perl-DynaLoader-0:1.54-506.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/281] perl-Encode-4:3.21-505.fc40.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/281] perl-PathTools-0:3.89-502.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/281] jbigkit-libs-0:2.1-29.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/281] liblerc-0:4.0.0-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/281] gpgmepp-0:1.23.2-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/281] lcms2-0:2.16-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/281] openjpeg2-0:2.5.2-1.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/281] poppler-data-0:0.4.11-7.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/281] autoconf-0:2.71-10.fc40.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/281] perl-Class-Struct-0:0.68-506. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/281] perl-Errno-0:1.37-506.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/281] perl-File-Path-0:2.18-503.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/281] perl-File-stat-0:1.13-506.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/281] perl-IO-0:1.52-506.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/281] perl-Thread-Queue-0:3.14-503. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/281] perl-constant-0:1.33-503.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/281] perl-threads-1:2.36-503.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/281] perl-vars-0:1.05-506.fc40.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/281] perl-Getopt-Std-0:1.13-506.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/281] perl-MIME-Base64-0:3.16-503.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/281] perl-Storable-1:3.32-502.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/281] perl-overload-0:1.37-506.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/281] perl-parent-1:0.241-502.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/281] perl-Scalar-List-Utils-5:1.63 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/281] gpgme-0:1.23.2-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/281] libassuan-0:2.5.7-1.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/281] m4-0:1.4.19-9.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/281] perl-Data-Dumper-0:2.188-503. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/281] perl-File-Compare-0:1.100.700 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/281] perl-File-Copy-0:2.41-506.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 78/281] perl-File-Find-0:1.43-506.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 79/281] perl-File-Temp-1:0.231.100-50 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/281] perl-POSIX-0:2.13-506.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/281] perl-Text-ParseWords-0:3.31-5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/281] perl-Fcntl-0:1.15-506.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/281] perl-Symbol-0:1.09-506.fc40.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/281] perl-SelectSaver-0:1.02-506.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/281] perl-threads-shared-0:1.68-50 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/281] perl-mro-0:1.28-506.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/281] perl-overloading-0:0.02-506.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/281] gnupg2-0:2.4.4-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/281] perl-B-0:1.88-506.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/281] perl-locale-0:1.10-506.fc40.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/281] libgcrypt-0:1.10.3-3.fc40.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/281] libksba-0:1.6.6-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/281] npth-0:1.7-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/281] perl-if-0:0.61.000-506.fc40.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/281] glibc-devel-0:2.39-15.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/281] libxcrypt-devel-0:4.4.36-5.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/281] glibc-headers-s390-0:2.39-15. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/281] gcc-plugin-annobin-0:14.1.1-6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/281] pcre2-utf16-0:10.44-1.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/281] pcre2-utf32-0:10.44-1.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/281] expat-0:2.6.2-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/281] tzdata-0:2024a-5.fc40.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/281] kernel-headers-0:6.9.4-200.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/281] annobin-plugin-gcc-0:12.57-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/281] annobin-docs-0:12.57-1.fc40.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/281] libasan-0:14.1.1-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/281] libatomic-0:14.1.1-6.fc40.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/281] libubsan-0:14.1.1-6.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/281] glib2-0:2.80.3-2.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/281] fontconfig-0:2.15.0-6.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/281] fonts-filesystem-1:2.0.5-14.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/281] xml-common-0:0.6.3-63.fc40.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/281] nspr-0:4.35.0-24.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/281] nss-0:3.101.0-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/281] crypto-policies-scripts-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/281] nss-softokn-0:3.101.0-1.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/281] nss-util-0:3.101.0-1.fc40.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/281] nss-softokn-freebl-0:3.101.0- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/281] nss-sysinit-0:3.101.0-1.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/281] perl-Socket-4:2.038-1.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/281] perl-Getopt-Long-1:2.57-4.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/281] perl-base-0:2.27-506.fc40.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [123/281] libgpg-error-0:1.49-1.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [124/281] libX11-0:1.8.9-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [125/281] libX11-common-0:1.8.9-1.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [126/281] pango-0:1.54.0-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [127/281] libXft-0:2.3.8-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [128/281] libthai-0:0.1.29-8.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [129/281] libdatrie-0:0.2.13-9.fc40.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [130/281] harfbuzz-0:8.4.0-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [131/281] graphite2-0:1.3.14-15.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [132/281] libgs-0:10.02.1-9.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [133/281] adobe-mappings-cmap-0:2023062 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [134/281] adobe-mappings-cmap-deprecate 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [135/281] adobe-mappings-pdf-0:20190401 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [136/281] google-droid-sans-fonts-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [137/281] jbig2dec-libs-0:0.20-4.fc40.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [138/281] libXt-0:1.3.0-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [139/281] libijs-0:0.35-22.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [140/281] libpaper-1:2.1.1-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [141/281] libICE-0:1.1.1-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [142/281] libSM-0:1.2.4-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [143/281] librsvg2-0:2.57.1-6.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [144/281] cairo-gobject-0:1.18.0-3.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [145/281] rsvg-pixbuf-loader-0:2.57.1-6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [146/281] urw-base35-fonts-0:20200910-2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [147/281] urw-base35-fonts-common-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [148/281] urw-base35-z003-fonts-0:20200 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [149/281] urw-base35-standard-symbols-p 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [150/281] urw-base35-p052-fonts-0:20200 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [151/281] urw-base35-nimbus-sans-fonts- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [152/281] urw-base35-nimbus-roman-fonts 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [153/281] urw-base35-nimbus-mono-ps-fon 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [154/281] urw-base35-gothic-fonts-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [155/281] urw-base35-d050000l-fonts-0:2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [156/281] urw-base35-c059-fonts-0:20200 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [157/281] urw-base35-bookman-fonts-0:20 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [158/281] tpm2-tss-0:4.1.3-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [159/281] shared-mime-info-0:2.3-5.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [160/281] libavif-0:1.0.4-3.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [161/281] svt-av1-libs-0:2.1.0-1.fc40.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [162/281] emacs-filesystem-1:29.4-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [163/281] libxcb-0:1.17.0-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [164/281] libXau-0:1.0.11-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [165/281] pixman-0:0.43.4-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [166/281] fribidi-0:1.0.14-2.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [167/281] cups-libs-1:2.4.8-3.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [168/281] avahi-libs-0:0.8-26.fc40.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [169/281] dbus-libs-1:1.14.10-3.fc40.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [170/281] libaom-0:3.9.0-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [171/281] libjxl-1:0.8.2-6.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [172/281] libdav1d-0:1.4.3-1.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [173/281] rav1e-libs-0:0.7.1-2.fc40.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [174/281] default-fonts-core-sans-0:4.0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [175/281] abattis-cantarell-vf-fonts-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [176/281] google-noto-sans-vf-fonts-0:2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [177/281] google-noto-fonts-common-0:20 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [178/281] highway-0:1.2.0-2.fc40.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [179/281] perl-Pod-Usage-4:2.03-504.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [180/281] perl-Pod-Perldoc-0:3.28.01-50 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [181/281] perl-podlators-1:5.01-502.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [182/281] perl-HTTP-Tiny-0:0.088-5.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [183/281] perl-IPC-Open3-0:1.22-506.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [184/281] perl-Pod-Simple-1:3.45-6.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [185/281] perl-Term-ANSIColor-0:5.01-50 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [186/281] perl-Term-Cap-0:1.18-503.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [187/281] perl-IO-Socket-SSL-0:2.085-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [188/281] perl-Mozilla-CA-0:20231213-3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [189/281] perl-Net-SSLeay-0:1.94-3.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [190/281] perl-Time-Local-2:1.350-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [191/281] perl-Pod-Escapes-1:1.07-503.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [192/281] perl-Text-Tabs+Wrap-0:2024.00 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [193/281] ncurses-0:6.4-12.20240127.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [194/281] perl-IO-Socket-IP-0:0.42-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [195/281] perl-AutoLoader-0:5.74-506.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [196/281] perl-URI-0:5.28-1.fc40.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [197/281] perl-libnet-0:3.15-503.fc40.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [198/281] perl-Digest-MD5-0:2.59-3.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [199/281] perl-FileHandle-0:2.05-506.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [200/281] perl-Digest-0:1.20-502.fc40.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [201/281] bc-0:1.07.1-21.fc40.s390x 100% | 479.4 KiB/s | 126.1 KiB | 00m00s [202/281] gettext-devel-0:0.22.5-2.fc40 100% | 753.7 KiB/s | 241.2 KiB | 00m00s [203/281] gmp-devel-1:6.2.1-8.fc40.s390 100% | 2.3 MiB/s | 174.3 KiB | 00m00s [204/281] json-c-devel-0:0.17-3.fc40.s3 100% | 1.4 MiB/s | 54.3 KiB | 00m00s [205/281] libprelude-devel-0:5.2.0-23.f 100% | 1.8 MiB/s | 82.2 KiB | 00m00s [206/281] ncurses-devel-0:6.4-12.202401 100% | 4.7 MiB/s | 562.3 KiB | 00m00s [207/281] groff-0:1.23.0-6.fc40.s390x 100% | 6.1 MiB/s | 1.4 MiB | 00m00s [208/281] cmake-0:3.28.2-1.fc40.s390x 100% | 16.2 MiB/s | 9.3 MiB | 00m01s [209/281] sendmail-milter-devel-0:8.18. 100% | 3.1 MiB/s | 117.2 KiB | 00m00s [210/281] python3-pytest-0:7.4.3-3.fc40 100% | 22.3 MiB/s | 1.9 MiB | 00m00s [211/281] tcl-1:8.6.13-2.fc40.s390x 100% | 20.9 MiB/s | 1.2 MiB | 00m00s [212/281] check-devel-0:0.15.2-15.fc40. 100% | 293.9 KiB/s | 40.3 KiB | 00m00s [213/281] libcurl-devel-0:8.6.0-8.fc40. 100% | 10.8 MiB/s | 852.5 KiB | 00m00s [214/281] git-core-0:2.45.2-2.fc40.s390 100% | 53.4 MiB/s | 4.9 MiB | 00m00s [215/281] cargo-0:1.79.0-3.fc40.s390x 100% | 19.5 MiB/s | 6.7 MiB | 00m00s [216/281] libxml2-devel-0:2.12.8-1.fc40 100% | 20.5 MiB/s | 524.1 KiB | 00m00s [217/281] gnutls-devel-0:3.8.5-1.fc40.s 100% | 26.7 MiB/s | 2.4 MiB | 00m00s [218/281] nmap-ncat-3:7.95-1.fc40.s390x 100% | 4.0 MiB/s | 252.7 KiB | 00m00s [219/281] cargo-rpm-macros-0:26.3-1.fc4 100% | 663.6 KiB/s | 15.3 KiB | 00m00s [220/281] systemd-0:255.7-1.fc40.s390x 100% | 52.4 MiB/s | 4.9 MiB | 00m00s [221/281] ocaml-0:5.1.1-4.fc40.s390x 100% | 48.5 MiB/s | 32.9 MiB | 00m01s [222/281] systemd-devel-0:255.7-1.fc40. 100% | 21.9 MiB/s | 651.4 KiB | 00m00s [223/281] cmake-data-0:3.28.2-1.fc40.no 100% | 39.8 MiB/s | 2.3 MiB | 00m00s [224/281] cmake-filesystem-0:3.28.2-1.f 100% | 499.2 KiB/s | 17.5 KiB | 00m00s [225/281] jsoncpp-0:1.9.5-7.fc40.s390x 100% | 2.2 MiB/s | 95.6 KiB | 00m00s [226/281] libuv-1:1.48.0-1.fc40.s390x 100% | 5.6 MiB/s | 254.1 KiB | 00m00s [227/281] rhash-0:1.4.3-4.fc40.s390x 100% | 5.1 MiB/s | 200.1 KiB | 00m00s [228/281] valgrind-1:3.23.0-2.fc40.s390 100% | 23.8 MiB/s | 6.1 MiB | 00m00s [229/281] gettext-0:0.22.5-2.fc40.s390x 100% | 23.5 MiB/s | 1.1 MiB | 00m00s [230/281] gettext-common-devel-0:0.22.5 100% | 10.6 MiB/s | 413.1 KiB | 00m00s [231/281] gettext-libs-0:0.22.5-2.fc40. 100% | 15.3 MiB/s | 687.5 KiB | 00m00s [232/281] rust-0:1.79.0-3.fc40.s390x 100% | 60.7 MiB/s | 29.5 MiB | 00m00s [233/281] gmp-c++-1:6.2.1-8.fc40.s390x 100% | 330.5 KiB/s | 18.2 KiB | 00m00s [234/281] libprelude-0:5.2.0-23.fc40.s3 100% | 8.0 MiB/s | 327.1 KiB | 00m00s [235/281] libtool-ltdl-devel-0:2.4.7-10 100% | 3.8 MiB/s | 163.9 KiB | 00m00s [236/281] ncurses-c++-libs-0:6.4-12.202 100% | 1.1 MiB/s | 38.2 KiB | 00m00s [237/281] python3-packaging-0:23.2-4.fc 100% | 3.5 MiB/s | 125.2 KiB | 00m00s [238/281] python3-iniconfig-0:1.1.1-16. 100% | 309.1 KiB/s | 17.9 KiB | 00m00s [239/281] python3-pluggy-0:1.3.0-3.fc40 100% | 1.5 MiB/s | 55.0 KiB | 00m00s [240/281] ocaml-runtime-0:5.1.1-4.fc40. 100% | 29.4 MiB/s | 3.3 MiB | 00m00s [241/281] sendmail-milter-0:8.18.1-1.fc 100% | 1.0 MiB/s | 41.0 KiB | 00m00s [242/281] libssh2-0:1.11.0-4.fc40.s390x 100% | 3.7 MiB/s | 136.6 KiB | 00m00s [243/281] check-0:0.15.2-15.fc40.s390x 100% | 3.4 MiB/s | 86.4 KiB | 00m00s [244/281] subunit-devel-0:1.4.4-2.fc40. 100% | 197.8 KiB/s | 11.1 KiB | 00m00s [245/281] check-static-0:0.15.2-15.fc40 100% | 1.4 MiB/s | 38.1 KiB | 00m00s [246/281] less-0:643-4.fc40.s390x 100% | 5.0 MiB/s | 186.0 KiB | 00m00s [247/281] openssh-clients-0:9.6p1-1.fc4 100% | 17.6 MiB/s | 774.2 KiB | 00m00s [248/281] libtasn1-devel-0:4.19.0-6.fc4 100% | 2.3 MiB/s | 84.2 KiB | 00m00s [249/281] libidn2-devel-0:2.3.7-1.fc40. 100% | 1.2 MiB/s | 71.2 KiB | 00m00s [250/281] nettle-devel-0:3.9.1-6.fc40.s 100% | 15.8 MiB/s | 710.5 KiB | 00m00s [251/281] gnutls-c++-0:3.8.5-1.fc40.s39 100% | 1.1 MiB/s | 26.2 KiB | 00m00s [252/281] gnutls-dane-0:3.8.5-1.fc40.s3 100% | 2.5 MiB/s | 40.7 KiB | 00m00s [253/281] p11-kit-devel-0:0.25.3-4.fc40 100% | 1.5 MiB/s | 87.2 KiB | 00m00s [254/281] xz-devel-1:5.4.6-3.fc40.s390x 100% | 1.8 MiB/s | 66.9 KiB | 00m00s [255/281] dbus-1:1.14.10-3.fc40.s390x 100% | 220.4 KiB/s | 7.9 KiB | 00m00s [256/281] libpcap-14:1.10.4-4.fc40.s390 100% | 2.7 MiB/s | 175.6 KiB | 00m00s [257/281] systemd-pam-0:255.7-1.fc40.s3 100% | 14.1 MiB/s | 388.8 KiB | 00m00s [258/281] kmod-libs-0:31-5.fc40.s390x 100% | 1.9 MiB/s | 71.5 KiB | 00m00s [259/281] gettext-runtime-0:0.22.5-2.fc 100% | 3.3 MiB/s | 123.3 KiB | 00m00s [260/281] subunit-0:1.4.4-2.fc40.s390x 100% | 904.0 KiB/s | 32.5 KiB | 00m00s [261/281] libfido2-0:1.14.0-4.fc40.s390 100% | 2.6 MiB/s | 93.8 KiB | 00m00s [262/281] openssh-0:9.6p1-1.fc40.2.s390 100% | 10.9 MiB/s | 434.4 KiB | 00m00s [263/281] libtasn1-tools-0:4.19.0-6.fc4 100% | 772.7 KiB/s | 27.0 KiB | 00m00s [264/281] libibverbs-0:48.0-4.fc40.s390 100% | 7.8 MiB/s | 460.6 KiB | 00m00s [265/281] gettext-envsubst-0:0.22.5-2.f 100% | 1.1 MiB/s | 38.6 KiB | 00m00s [266/281] libcbor-0:0.11.0-1.fc40.s390x 100% | 925.8 KiB/s | 33.3 KiB | 00m00s [267/281] libnl3-0:3.9.0-3.fc40.s390x 100% | 8.9 MiB/s | 355.0 KiB | 00m00s [268/281] libzstd-devel-0:1.5.6-1.fc40. 100% | 3.4 MiB/s | 51.7 KiB | 00m00s [269/281] libseccomp-0:2.5.5-1.fc40.s39 100% | 3.5 MiB/s | 71.7 KiB | 00m00s [270/281] cmake-rpm-macros-0:3.28.2-1.f 100% | 486.0 KiB/s | 17.0 KiB | 00m00s [271/281] libedit-0:3.1-51.20240517cvs. 100% | 8.1 MiB/s | 116.4 KiB | 00m00s [272/281] unbound-libs-0:1.20.0-1.fc40. 100% | 10.4 MiB/s | 553.5 KiB | 00m00s [273/281] protobuf-c-0:1.5.0-3.fc40.s39 100% | 737.4 KiB/s | 34.7 KiB | 00m00s [274/281] cargo2rpm-0:0.1.16-1.fc40.noa 100% | 4.1 MiB/s | 182.6 KiB | 00m00s [275/281] libgit2-0:1.7.2-3.fc40.s390x 100% | 61.0 MiB/s | 562.2 KiB | 00m00s [276/281] dbus-broker-0:36-2.fc40.s390x 100% | 12.1 MiB/s | 174.0 KiB | 00m00s [277/281] dbus-common-1:1.14.10-3.fc40. 100% | 422.3 KiB/s | 14.8 KiB | 00m00s [278/281] vim-filesystem-2:9.1.452-1.fc 100% | 996.2 KiB/s | 16.9 KiB | 00m00s [279/281] llhttp-0:9.2.1-1.fc40.s390x 100% | 1.7 MiB/s | 35.6 KiB | 00m00s [280/281] rust-std-static-0:1.79.0-3.fc 100% | 37.7 MiB/s | 35.2 MiB | 00m01s [281/281] llvm-libs-0:18.1.6-2.fc40.s39 100% | 52.2 MiB/s | 38.3 MiB | 00m01s -------------------------------------------------------------------------------- [281/281] Total 100% | 24.0 MiB/s | 193.7 MiB | 00m08s Running transaction [ 1/283] Verify package files 100% | 215.0 B/s | 281.0 B | 00m01s [ 2/283] Prepare transaction 100% | 1.4 KiB/s | 281.0 B | 00m00s [ 3/283] Installing libpng-2:1.6.40-3. 100% | 124.4 MiB/s | 254.8 KiB | 00m00s [ 4/283] Installing nspr-0:4.35.0-24.f 100% | 178.5 MiB/s | 365.7 KiB | 00m00s [ 5/283] Installing libgpg-error-0:1.4 100% | 174.3 MiB/s | 892.7 KiB | 00m00s [ 6/283] Installing fonts-filesystem-1 100% | 0.0 B/s | 788.0 B | 00m00s [ 7/283] Installing urw-base35-fonts-c 100% | 37.5 MiB/s | 38.4 KiB | 00m00s [ 8/283] Installing expat-0:2.6.2-1.fc 100% | 155.5 MiB/s | 318.5 KiB | 00m00s [ 9/283] Installing libjpeg-turbo-0:3. 100% | 243.9 MiB/s | 749.3 KiB | 00m00s [ 10/283] Installing cmake-filesystem-0 100% | 7.0 MiB/s | 7.1 KiB | 00m00s [ 11/283] Installing nss-util-0:3.101.0 100% | 118.7 MiB/s | 243.1 KiB | 00m00s [ 12/283] Installing nettle-0:3.9.1-6.f 100% | 207.4 MiB/s | 849.4 KiB | 00m00s [ 13/283] Installing gnutls-0:3.8.5-1.f 100% | 240.9 MiB/s | 3.1 MiB | 00m00s [ 14/283] Installing glib2-0:2.80.3-2.f 100% | 271.7 MiB/s | 14.9 MiB | 00m00s [ 15/283] Installing libwebp-0:1.3.2-5. 100% | 215.3 MiB/s | 661.4 KiB | 00m00s [ 16/283] Installing libassuan-0:2.5.7- 100% | 169.3 MiB/s | 173.4 KiB | 00m00s [ 17/283] Installing libmpc-0:1.3.1-5.f 100% | 169.9 MiB/s | 174.0 KiB | 00m00s [ 18/283] Installing gettext-libs-0:0.2 100% | 199.3 MiB/s | 1.8 MiB | 00m00s [ 19/283] Installing shared-mime-info-0 100% | 170.4 MiB/s | 2.6 MiB | 00m00s >>> Running post-install scriptlet: shared-mime-info-0:2.3-5.fc40.s390x >>> Stop post-install scriptlet: shared-mime-info-0:2.3-5.fc40.s390x [ 20/283] Installing gdk-pixbuf2-0:2.42 100% | 208.4 MiB/s | 2.5 MiB | 00m00s [ 21/283] Installing emacs-filesystem-1 100% | 0.0 B/s | 544.0 B | 00m00s [ 22/283] Installing libICE-0:1.1.1-3.f 100% | 94.9 MiB/s | 194.3 KiB | 00m00s [ 23/283] Installing adobe-mappings-cma 100% | 267.0 MiB/s | 14.4 MiB | 00m00s [ 24/283] Installing libedit-0:3.1-51.2 100% | 137.4 MiB/s | 281.4 KiB | 00m00s [ 25/283] Installing openjpeg2-0:2.5.2- 100% | 238.0 MiB/s | 487.5 KiB | 00m00s [ 26/283] Installing lcms2-0:2.16-3.fc4 100% | 149.2 MiB/s | 458.4 KiB | 00m00s [ 27/283] Installing subunit-0:1.4.4-2. 100% | 70.9 MiB/s | 72.6 KiB | 00m00s [ 28/283] Installing libssh2-0:1.11.0-4 100% | 153.9 MiB/s | 315.1 KiB | 00m00s [ 29/283] Installing json-c-0:0.17-3.fc 100% | 17.1 MiB/s | 87.4 KiB | 00m00s >>> Running pre-install scriptlet: groff-base-0:1.23.0-6.fc40.s390x >>> Stop pre-install scriptlet: groff-base-0:1.23.0-6.fc40.s390x [ 30/283] Installing groff-base-0:1.23. 100% | 117.5 MiB/s | 4.3 MiB | 00m00s >>> Running post-install scriptlet: groff-base-0:1.23.0-6.fc40.s390x >>> Stop post-install scriptlet: groff-base-0:1.23.0-6.fc40.s390x >>> Running pre-install scriptlet: tpm2-tss-0:4.1.3-1.fc40.s390x >>> Stop pre-install scriptlet: tpm2-tss-0:4.1.3-1.fc40.s390x [ 31/283] Installing tpm2-tss-0:4.1.3-1 100% | 203.6 MiB/s | 1.6 MiB | 00m00s [ 32/283] Installing subunit-devel-0:1. 100% | 0.0 B/s | 6.3 KiB | 00m00s [ 33/283] Installing check-0:0.15.2-15. 100% | 151.9 MiB/s | 155.5 KiB | 00m00s [ 34/283] Installing llvm-libs-0:18.1.6 100% | 316.6 MiB/s | 180.8 MiB | 00m01s [ 35/283] Installing adobe-mappings-cma 100% | 190.5 MiB/s | 585.2 KiB | 00m00s [ 36/283] Installing libSM-0:1.2.4-3.fc 100% | 104.0 MiB/s | 106.5 KiB | 00m00s [ 37/283] Installing cpp-0:14.1.1-6.fc4 100% | 262.5 MiB/s | 25.5 MiB | 00m00s [ 38/283] Installing libprelude-0:5.2.0 100% | 357.5 MiB/s | 2.1 MiB | 00m00s [ 39/283] Installing gnutls-c++-0:3.8.5 100% | 70.5 MiB/s | 72.2 KiB | 00m00s [ 40/283] Installing nss-softokn-freebl 100% | 107.8 MiB/s | 772.4 KiB | 00m00s [ 41/283] Installing nss-softokn-0:3.10 100% | 188.1 MiB/s | 2.1 MiB | 00m00s [ 42/283] Installing urw-base35-z003-fo 100% | 42.5 MiB/s | 391.8 KiB | 00m00s >>> Running post-install scriptlet: urw-base35-z003-fonts-0:20200910-20.fc40.noa >>> Stop post-install scriptlet: urw-base35-z003-fonts-0:20200910-20.fc40.noarch [ 43/283] Installing urw-base35-standar 100% | 16.1 MiB/s | 66.0 KiB | 00m00s >>> Running post-install scriptlet: urw-base35-standard-symbols-ps-fonts-0:20200 >>> Stop post-install scriptlet: urw-base35-standard-symbols-ps-fonts-0:20200910 [ 44/283] Installing urw-base35-p052-fo 100% | 165.3 MiB/s | 1.5 MiB | 00m00s >>> Running post-install scriptlet: urw-base35-p052-fonts-0:20200910-20.fc40.noa >>> Stop post-install scriptlet: urw-base35-p052-fonts-0:20200910-20.fc40.noarch [ 45/283] Installing urw-base35-nimbus- 100% | 199.5 MiB/s | 2.4 MiB | 00m00s >>> Running post-install scriptlet: urw-base35-nimbus-sans-fonts-0:20200910-20.f >>> Stop post-install scriptlet: urw-base35-nimbus-sans-fonts-0:20200910-20.fc40 [ 46/283] Installing urw-base35-nimbus- 100% | 151.8 MiB/s | 1.4 MiB | 00m00s >>> Running post-install scriptlet: urw-base35-nimbus-roman-fonts-0:20200910-20. >>> Stop post-install scriptlet: urw-base35-nimbus-roman-fonts-0:20200910-20.fc4 [ 47/283] Installing urw-base35-nimbus- 100% | 150.3 MiB/s | 1.1 MiB | 00m00s >>> Running post-install scriptlet: urw-base35-nimbus-mono-ps-fonts-0:20200910-2 >>> Stop post-install scriptlet: urw-base35-nimbus-mono-ps-fonts-0:20200910-20.f [ 48/283] Installing urw-base35-gothic- 100% | 145.4 MiB/s | 1.2 MiB | 00m00s >>> Running post-install scriptlet: urw-base35-gothic-fonts-0:20200910-20.fc40.n >>> Stop post-install scriptlet: urw-base35-gothic-fonts-0:20200910-20.fc40.noar [ 49/283] Installing urw-base35-d050000 100% | 20.8 MiB/s | 85.4 KiB | 00m00s >>> Running post-install scriptlet: urw-base35-d050000l-fonts-0:20200910-20.fc40 >>> Stop post-install scriptlet: urw-base35-d050000l-fonts-0:20200910-20.fc40.no [ 50/283] Installing urw-base35-c059-fo 100% | 174.4 MiB/s | 1.4 MiB | 00m00s >>> Running post-install scriptlet: urw-base35-c059-fonts-0:20200910-20.fc40.noa >>> Stop post-install scriptlet: urw-base35-c059-fonts-0:20200910-20.fc40.noarch [ 51/283] Installing urw-base35-bookman 100% | 170.6 MiB/s | 1.4 MiB | 00m00s >>> Running post-install scriptlet: urw-base35-bookman-fonts-0:20200910-20.fc40. >>> Stop post-install scriptlet: urw-base35-bookman-fonts-0:20200910-20.fc40.noa [ 52/283] Installing urw-base35-fonts-0 100% | 5.5 MiB/s | 5.6 KiB | 00m00s [ 53/283] Installing abattis-cantarell- 100% | 94.9 MiB/s | 194.4 KiB | 00m00s [ 54/283] Installing libgcrypt-0:1.10.3 100% | 214.3 MiB/s | 1.1 MiB | 00m00s [ 55/283] Installing libksba-0:1.6.6-1. 100% | 204.8 MiB/s | 419.4 KiB | 00m00s [ 56/283] Installing ncurses-0:6.4-12.2 100% | 208.9 MiB/s | 641.9 KiB | 00m00s [ 57/283] Installing perl-Digest-0:1.20 100% | 36.1 MiB/s | 37.0 KiB | 00m00s [ 58/283] Installing perl-B-0:1.88-506. 100% | 169.1 MiB/s | 519.5 KiB | 00m00s [ 59/283] Installing perl-FileHandle-0: 100% | 0.0 B/s | 9.8 KiB | 00m00s [ 60/283] Installing perl-Digest-MD5-0: 100% | 60.0 MiB/s | 61.4 KiB | 00m00s [ 61/283] Installing perl-Data-Dumper-0 100% | 114.6 MiB/s | 117.4 KiB | 00m00s [ 62/283] Installing perl-libnet-0:3.15 100% | 143.7 MiB/s | 294.3 KiB | 00m00s [ 63/283] Installing perl-AutoLoader-0: 100% | 20.5 MiB/s | 20.9 KiB | 00m00s [ 64/283] Installing perl-URI-0:5.28-1. 100% | 82.0 MiB/s | 251.8 KiB | 00m00s [ 65/283] Installing perl-File-Path-0:2 100% | 63.0 MiB/s | 64.5 KiB | 00m00s [ 66/283] Installing perl-locale-0:1.10 100% | 0.0 B/s | 6.6 KiB | 00m00s [ 67/283] Installing perl-if-0:0.61.000 100% | 0.0 B/s | 6.2 KiB | 00m00s [ 68/283] Installing perl-Mozilla-CA-0: 100% | 0.0 B/s | 10.2 KiB | 00m00s [ 69/283] Installing perl-Time-Local-2: 100% | 68.9 MiB/s | 70.5 KiB | 00m00s [ 70/283] Installing perl-Pod-Escapes-1 100% | 25.3 MiB/s | 25.9 KiB | 00m00s [ 71/283] Installing perl-Text-Tabs+Wra 100% | 23.3 MiB/s | 23.8 KiB | 00m00s [ 72/283] Installing perl-IO-Socket-IP- 100% | 98.1 MiB/s | 100.4 KiB | 00m00s [ 73/283] Installing perl-Net-SSLeay-0: 100% | 203.0 MiB/s | 1.4 MiB | 00m00s [ 74/283] Installing perl-IO-Socket-SSL 100% | 224.3 MiB/s | 689.0 KiB | 00m00s [ 75/283] Installing perl-Class-Struct- 100% | 0.0 B/s | 25.9 KiB | 00m00s [ 76/283] Installing perl-POSIX-0:2.13- 100% | 240.3 MiB/s | 246.1 KiB | 00m00s [ 77/283] Installing perl-File-Temp-1:0 100% | 160.2 MiB/s | 164.0 KiB | 00m00s [ 78/283] Installing perl-IPC-Open3-0:1 100% | 0.0 B/s | 23.3 KiB | 00m00s [ 79/283] Installing perl-Term-ANSIColo 100% | 96.8 MiB/s | 99.1 KiB | 00m00s [ 80/283] Installing perl-Term-Cap-0:1. 100% | 29.8 MiB/s | 30.5 KiB | 00m00s [ 81/283] Installing perl-HTTP-Tiny-0:0 100% | 150.6 MiB/s | 154.2 KiB | 00m00s [ 82/283] Installing perl-Pod-Simple-1: 100% | 185.4 MiB/s | 569.4 KiB | 00m00s [ 83/283] Installing perl-Symbol-0:1.09 100% | 0.0 B/s | 7.2 KiB | 00m00s [ 84/283] Installing perl-SelectSaver-0 100% | 0.0 B/s | 2.6 KiB | 00m00s [ 85/283] Installing perl-File-stat-0:1 100% | 0.0 B/s | 13.2 KiB | 00m00s [ 86/283] Installing perl-Socket-4:2.03 100% | 126.8 MiB/s | 129.8 KiB | 00m00s [ 87/283] Installing perl-podlators-1:5 100% | 152.4 MiB/s | 312.1 KiB | 00m00s [ 88/283] Installing perl-Pod-Perldoc-0 100% | 82.3 MiB/s | 168.6 KiB | 00m00s [ 89/283] Installing perl-Text-ParseWor 100% | 0.0 B/s | 14.5 KiB | 00m00s [ 90/283] Installing perl-Fcntl-0:1.15- 100% | 32.8 MiB/s | 33.5 KiB | 00m00s [ 91/283] Installing perl-mro-0:1.28-50 100% | 41.5 MiB/s | 42.5 KiB | 00m00s [ 92/283] Installing perl-overloading-0 100% | 0.0 B/s | 5.5 KiB | 00m00s [ 93/283] Installing perl-IO-0:1.52-506 100% | 151.4 MiB/s | 155.1 KiB | 00m00s [ 94/283] Installing perl-base-0:2.27-5 100% | 0.0 B/s | 12.9 KiB | 00m00s [ 95/283] Installing perl-Pod-Usage-4:2 100% | 84.2 MiB/s | 86.3 KiB | 00m00s [ 96/283] Installing perl-File-Basename 100% | 0.0 B/s | 14.6 KiB | 00m00s [ 97/283] Installing perl-Errno-0:1.37- 100% | 0.0 B/s | 8.8 KiB | 00m00s [ 98/283] Installing perl-constant-0:1. 100% | 26.7 MiB/s | 27.4 KiB | 00m00s [ 99/283] Installing perl-vars-0:1.05-5 100% | 0.0 B/s | 4.3 KiB | 00m00s [100/283] Installing perl-Getopt-Std-0: 100% | 0.0 B/s | 11.6 KiB | 00m00s [101/283] Installing perl-MIME-Base64-0 100% | 46.9 MiB/s | 48.1 KiB | 00m00s [102/283] Installing perl-parent-1:0.24 100% | 0.0 B/s | 10.4 KiB | 00m00s [103/283] Installing perl-Scalar-List-U 100% | 148.9 MiB/s | 152.5 KiB | 00m00s [104/283] Installing perl-overload-0:1. 100% | 70.3 MiB/s | 71.9 KiB | 00m00s [105/283] Installing perl-Storable-1:3. 100% | 114.1 MiB/s | 233.7 KiB | 00m00s [106/283] Installing perl-Getopt-Long-1 100% | 143.4 MiB/s | 146.9 KiB | 00m00s [107/283] Installing perl-Carp-0:1.54-5 100% | 46.5 MiB/s | 47.7 KiB | 00m00s [108/283] Installing perl-Exporter-0:5. 100% | 54.2 MiB/s | 55.5 KiB | 00m00s [109/283] Installing perl-DynaLoader-0: 100% | 31.7 MiB/s | 32.5 KiB | 00m00s [110/283] Installing perl-PathTools-0:3 100% | 89.8 MiB/s | 183.9 KiB | 00m00s [111/283] Installing perl-Encode-4:3.21 100% | 291.2 MiB/s | 9.6 MiB | 00m00s [112/283] Installing perl-libs-4:5.38.2 100% | 224.2 MiB/s | 10.3 MiB | 00m00s [113/283] Installing perl-interpreter-4 100% | 118.4 MiB/s | 121.2 KiB | 00m00s [114/283] Installing perl-threads-1:2.3 100% | 114.2 MiB/s | 116.9 KiB | 00m00s [115/283] Installing perl-threads-share 100% | 83.7 MiB/s | 85.7 KiB | 00m00s [116/283] Installing perl-Thread-Queue- 100% | 29.6 MiB/s | 30.3 KiB | 00m00s [117/283] Installing perl-File-Compare- 100% | 0.0 B/s | 6.0 KiB | 00m00s [118/283] Installing perl-File-Copy-0:2 100% | 0.0 B/s | 20.2 KiB | 00m00s [119/283] Installing perl-File-Find-0:1 100% | 41.4 MiB/s | 42.4 KiB | 00m00s [120/283] Installing highway-0:1.2.0-2. 100% | 297.5 MiB/s | 1.5 MiB | 00m00s [121/283] Installing libjxl-1:0.8.2-6.f 100% | 230.0 MiB/s | 2.5 MiB | 00m00s [122/283] Installing libaom-0:3.9.0-1.f 100% | 268.6 MiB/s | 3.5 MiB | 00m00s [123/283] Installing google-noto-fonts- 100% | 0.0 B/s | 18.3 KiB | 00m00s [124/283] Installing google-noto-sans-v 100% | 208.2 MiB/s | 1.2 MiB | 00m00s [125/283] Installing google-droid-sans- 100% | 272.1 MiB/s | 6.3 MiB | 00m00s [126/283] Installing default-fonts-core 100% | 17.8 MiB/s | 18.2 KiB | 00m00s [127/283] Installing rav1e-libs-0:0.7.1 100% | 249.4 MiB/s | 2.5 MiB | 00m00s [128/283] Installing libdav1d-0:1.4.3-1 100% | 161.7 MiB/s | 662.5 KiB | 00m00s [129/283] Installing dbus-libs-1:1.14.1 100% | 194.3 MiB/s | 398.0 KiB | 00m00s [130/283] Installing avahi-libs-0:0.8-2 100% | 179.9 MiB/s | 184.2 KiB | 00m00s [131/283] Installing cups-libs-1:2.4.8- 100% | 177.8 MiB/s | 728.3 KiB | 00m00s [132/283] Installing fribidi-0:1.0.14-2 100% | 186.4 MiB/s | 381.7 KiB | 00m00s [133/283] Installing llhttp-0:9.2.1-1.f 100% | 83.5 MiB/s | 85.5 KiB | 00m00s [134/283] Installing libgit2-0:1.7.2-3. 100% | 216.5 MiB/s | 1.3 MiB | 00m00s [135/283] Installing pixman-0:0.43.4-1. 100% | 190.6 MiB/s | 585.5 KiB | 00m00s [136/283] Installing libXau-0:1.0.11-6. 100% | 66.5 MiB/s | 68.1 KiB | 00m00s [137/283] Installing libxcb-0:1.17.0-1. 100% | 197.6 MiB/s | 1.2 MiB | 00m00s [138/283] Installing vim-filesystem-2:9 100% | 4.6 MiB/s | 4.7 KiB | 00m00s [139/283] Installing dbus-common-1:1.14 100% | 797.1 KiB/s | 13.6 KiB | 00m00s >>> Running post-install scriptlet: dbus-common-1:1.14.10-3.fc40.noarch >>> Stop post-install scriptlet: dbus-common-1:1.14.10-3.fc40.noarch >>> Running pre-install scriptlet: dbus-broker-0:36-2.fc40.s390x >>> Stop pre-install scriptlet: dbus-broker-0:36-2.fc40.s390x [140/283] Installing dbus-broker-0:36-2 100% | 64.5 MiB/s | 396.3 KiB | 00m00s >>> Running post-install scriptlet: dbus-broker-0:36-2.fc40.s390x >>> Stop post-install scriptlet: dbus-broker-0:36-2.fc40.s390x [141/283] Installing dbus-1:1.14.10-3.f 100% | 0.0 B/s | 124.0 B | 00m00s [142/283] Installing svt-av1-libs-0:2.1 100% | 233.7 MiB/s | 3.7 MiB | 00m00s [143/283] Installing libavif-0:1.0.4-3. 100% | 192.3 MiB/s | 196.9 KiB | 00m00s [144/283] Installing libpaper-1:2.1.1-3 100% | 49.1 MiB/s | 50.3 KiB | 00m00s [145/283] Installing libijs-0:0.35-22.f 100% | 64.8 MiB/s | 66.4 KiB | 00m00s [146/283] Installing jbig2dec-libs-0:0. 100% | 174.2 MiB/s | 178.4 KiB | 00m00s [147/283] Installing adobe-mappings-pdf 100% | 258.6 MiB/s | 4.4 MiB | 00m00s [148/283] Installing graphite2-0:1.3.14 100% | 102.3 MiB/s | 209.6 KiB | 00m00s [149/283] Installing libdatrie-0:0.2.13 100% | 61.4 MiB/s | 62.8 KiB | 00m00s [150/283] Installing libthai-0:0.1.29-8 100% | 154.1 MiB/s | 789.1 KiB | 00m00s [151/283] Installing libX11-common-0:1. 100% | 131.7 MiB/s | 1.2 MiB | 00m00s [152/283] Installing libX11-0:1.8.9-1.f 100% | 229.0 MiB/s | 1.4 MiB | 00m00s [153/283] Installing libXrender-0:0.9.1 100% | 53.8 MiB/s | 55.1 KiB | 00m00s [154/283] Installing libXext-0:1.3.6-1. 100% | 96.6 MiB/s | 98.9 KiB | 00m00s [155/283] Installing libXpm-0:3.5.17-3. 100% | 157.8 MiB/s | 161.6 KiB | 00m00s [156/283] Installing libXt-0:1.3.0-3.fc 100% | 93.5 MiB/s | 478.7 KiB | 00m00s >>> Running pre-install scriptlet: xml-common-0:0.6.3-63.fc40.noarch >>> Stop pre-install scriptlet: xml-common-0:0.6.3-63.fc40.noarch [157/283] Installing xml-common-0:0.6.3 100% | 79.2 MiB/s | 81.1 KiB | 00m00s [158/283] Installing cairo-0:1.18.0-3.f 100% | 223.3 MiB/s | 1.8 MiB | 00m00s [159/283] Installing harfbuzz-0:8.4.0-1 100% | 221.6 MiB/s | 2.7 MiB | 00m00s [160/283] Installing freetype-0:2.13.2- 100% | 152.5 MiB/s | 936.7 KiB | 00m00s [161/283] Installing fontconfig-0:2.15. 100% | 685.8 KiB/s | 820.9 KiB | 00m01s >>> Running post-install scriptlet: fontconfig-0:2.15.0-6.fc40.s390x >>> Stop post-install scriptlet: fontconfig-0:2.15.0-6.fc40.s390x [162/283] Installing cairo-gobject-0:1. 100% | 42.8 MiB/s | 43.8 KiB | 00m00s [163/283] Installing libXft-0:2.3.8-6.f 100% | 84.8 MiB/s | 173.8 KiB | 00m00s [164/283] Installing pango-0:1.54.0-1.f 100% | 172.6 MiB/s | 1.0 MiB | 00m00s [165/283] Installing librsvg2-0:2.57.1- 100% | 249.7 MiB/s | 5.2 MiB | 00m00s [166/283] Installing rsvg-pixbuf-loader 100% | 0.0 B/s | 16.3 KiB | 00m00s [167/283] Installing lasi-0:1.1.3-13.fc 100% | 124.7 MiB/s | 127.7 KiB | 00m00s [168/283] Installing libubsan-0:14.1.1- 100% | 160.2 MiB/s | 492.2 KiB | 00m00s [169/283] Installing libatomic-0:14.1.1 100% | 32.4 MiB/s | 33.2 KiB | 00m00s [170/283] Installing libasan-0:14.1.1-6 100% | 274.4 MiB/s | 1.6 MiB | 00m00s [171/283] Installing annobin-docs-0:12. 100% | 31.7 MiB/s | 97.3 KiB | 00m00s [172/283] Installing kernel-headers-0:6 100% | 177.3 MiB/s | 6.4 MiB | 00m00s [173/283] Installing protobuf-c-0:1.5.0 100% | 11.6 MiB/s | 59.3 KiB | 00m00s [174/283] Installing tzdata-0:2024a-5.f 100% | 59.4 MiB/s | 1.9 MiB | 00m00s [175/283] Installing libseccomp-0:2.5.5 100% | 182.6 MiB/s | 187.0 KiB | 00m00s [176/283] Installing pcre2-utf32-0:10.4 100% | 290.2 MiB/s | 594.3 KiB | 00m00s [177/283] Installing pcre2-utf16-0:10.4 100% | 203.9 MiB/s | 626.4 KiB | 00m00s [178/283] Installing libzstd-devel-0:1. 100% | 66.2 MiB/s | 203.2 KiB | 00m00s [179/283] Installing glibc-headers-s390 100% | 116.2 MiB/s | 2.2 MiB | 00m00s [180/283] Installing libxcrypt-devel-0: 100% | 31.8 MiB/s | 32.6 KiB | 00m00s [181/283] Installing glibc-devel-0:2.39 100% | 225.6 MiB/s | 462.1 KiB | 00m00s [182/283] Installing npth-0:1.7-1.fc40. 100% | 49.3 MiB/s | 50.4 KiB | 00m00s [183/283] Installing gnupg2-0:2.4.4-1.f 100% | 267.8 MiB/s | 9.9 MiB | 00m00s [184/283] Installing gpgme-0:1.23.2-3.f 100% | 207.3 MiB/s | 636.9 KiB | 00m00s [185/283] Installing gpgmepp-0:1.23.2-3 100% | 214.2 MiB/s | 438.7 KiB | 00m00s [186/283] Installing m4-0:1.4.19-9.fc40 100% | 155.0 MiB/s | 634.8 KiB | 00m00s [187/283] Installing autoconf-0:2.71-10 100% | 304.2 MiB/s | 2.4 MiB | 00m00s [188/283] Installing automake-0:1.16.5- 100% | 220.3 MiB/s | 1.8 MiB | 00m00s [189/283] Installing libtool-ltdl-devel 100% | 275.0 MiB/s | 844.7 KiB | 00m00s [190/283] Installing libnl3-0:3.9.0-3.f 100% | 217.1 MiB/s | 1.1 MiB | 00m00s [191/283] Installing libibverbs-0:48.0- 100% | 180.0 MiB/s | 1.3 MiB | 00m00s [192/283] Installing libpcap-14:1.10.4- 100% | 208.8 MiB/s | 427.6 KiB | 00m00s [193/283] Installing libcbor-0:0.11.0-1 100% | 81.2 MiB/s | 83.1 KiB | 00m00s [194/283] Installing libfido2-0:1.14.0- 100% | 116.8 MiB/s | 239.3 KiB | 00m00s [195/283] Installing poppler-data-0:0.4 100% | 263.6 MiB/s | 12.4 MiB | 00m00s [196/283] Installing liblerc-0:4.0.0-6. 100% | 132.1 MiB/s | 270.6 KiB | 00m00s [197/283] Installing jbigkit-libs-0:2.1 100% | 120.3 MiB/s | 123.2 KiB | 00m00s [198/283] Installing libtiff-0:4.6.0-2. 100% | 203.5 MiB/s | 1.2 MiB | 00m00s [199/283] Installing libgs-0:10.02.1-9. 100% | 359.0 MiB/s | 24.1 MiB | 00m00s [200/283] Installing gettext-envsubst-0 100% | 74.3 MiB/s | 76.1 KiB | 00m00s [201/283] Installing gettext-runtime-0: 100% | 119.7 MiB/s | 490.2 KiB | 00m00s [202/283] Installing gettext-0:0.22.5-2 100% | 296.9 MiB/s | 5.3 MiB | 00m00s [203/283] Installing python-pip-wheel-0 100% | 506.6 MiB/s | 1.5 MiB | 00m00s [204/283] Installing mpdecimal-0:2.5.1- 100% | 224.3 MiB/s | 229.7 KiB | 00m00s [205/283] Installing libb2-0:0.98.1-11. 100% | 6.0 MiB/s | 43.1 KiB | 00m00s [206/283] Installing python3-libs-0:3.1 100% | 242.5 MiB/s | 42.2 MiB | 00m00s [207/283] Installing python3-0:3.12.3-2 100% | 32.3 MiB/s | 33.0 KiB | 00m00s [208/283] Installing cmake-rpm-macros-0 100% | 0.0 B/s | 8.0 KiB | 00m00s [209/283] Installing python3-iniconfig- 100% | 22.9 MiB/s | 23.4 KiB | 00m00s [210/283] Installing python3-packaging- 100% | 140.6 MiB/s | 431.9 KiB | 00m00s [211/283] Installing python3-pluggy-0:1 100% | 91.9 MiB/s | 188.3 KiB | 00m00s [212/283] Installing crypto-policies-sc 100% | 80.3 MiB/s | 328.7 KiB | 00m00s [213/283] Installing nss-sysinit-0:3.10 100% | 18.7 MiB/s | 19.1 KiB | 00m00s [214/283] Installing nss-0:3.101.0-1.fc 100% | 131.0 MiB/s | 2.0 MiB | 00m00s >>> Running post-install scriptlet: nss-0:3.101.0-1.fc40.s390x >>> Stop post-install scriptlet: nss-0:3.101.0-1.fc40.s390x [215/283] Installing poppler-0:24.02.0- 100% | 234.4 MiB/s | 4.0 MiB | 00m00s [216/283] Installing poppler-glib-0:24. 100% | 42.6 MiB/s | 610.7 KiB | 00m00s >>> Running pre-install scriptlet: unbound-libs-0:1.20.0-1.fc40.s390x >>> Stop pre-install scriptlet: unbound-libs-0:1.20.0-1.fc40.s390x [217/283] Installing unbound-libs-0:1.2 100% | 211.0 MiB/s | 1.5 MiB | 00m00s [218/283] Installing gnutls-dane-0:3.8. 100% | 72.6 MiB/s | 74.4 KiB | 00m00s [219/283] Installing libtasn1-tools-0:4 100% | 69.2 MiB/s | 70.9 KiB | 00m00s [220/283] Installing libtasn1-devel-0:4 100% | 81.2 MiB/s | 83.1 KiB | 00m00s [221/283] Installing openssh-0:9.6p1-1. 100% | 309.8 MiB/s | 1.9 MiB | 00m00s [222/283] Installing openssh-clients-0: 100% | 210.8 MiB/s | 2.7 MiB | 00m00s >>> Running post-install scriptlet: openssh-clients-0:9.6p1-1.fc40.2.s390x >>> Stop post-install scriptlet: openssh-clients-0:9.6p1-1.fc40.2.s390x [223/283] Installing gc-0:8.2.2-6.fc40. 100% | 54.0 MiB/s | 276.3 KiB | 00m00s [224/283] Installing guile30-0:3.0.7-12 100% | 324.9 MiB/s | 51.7 MiB | 00m00s [225/283] Installing make-1:4.4.1-6.fc4 100% | 206.9 MiB/s | 1.9 MiB | 00m00s [226/283] Installing gcc-0:14.1.1-6.fc4 100% | 270.5 MiB/s | 76.5 MiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:286-1.fc40.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:286-1.fc40.noarch [227/283] Installing rust-std-static-0: 100% | 300.3 MiB/s | 149.0 MiB | 00m00s [228/283] Installing rust-0:1.79.0-3.fc 100% | 284.0 MiB/s | 95.4 MiB | 00m00s [229/283] Installing cargo-0:1.79.0-3.f 100% | 272.6 MiB/s | 23.2 MiB | 00m00s [230/283] Installing cargo2rpm-0:0.1.16 100% | 207.5 MiB/s | 1.2 MiB | 00m00s [231/283] Installing netpbm-0:11.02.00- 100% | 194.9 MiB/s | 598.8 KiB | 00m00s [232/283] Installing gts-0:0.7.6-48.201 100% | 162.5 MiB/s | 665.8 KiB | 00m00s [233/283] Installing libimagequant-0:4. 100% | 206.3 MiB/s | 845.0 KiB | 00m00s [234/283] Installing gd-0:2.3.3-16.fc40 100% | 222.9 MiB/s | 456.6 KiB | 00m00s [235/283] Installing kmod-libs-0:31-5.f 100% | 148.5 MiB/s | 152.1 KiB | 00m00s [236/283] Installing systemd-pam-0:255. 100% | 155.2 MiB/s | 1.1 MiB | 00m00s [237/283] Installing systemd-0:255.7-1. 100% | 101.3 MiB/s | 14.8 MiB | 00m00s >>> Running post-install scriptlet: systemd-0:255.7-1.fc40.s390x >>> Stop post-install scriptlet: systemd-0:255.7-1.fc40.s390x [238/283] Installing xz-devel-1:5.4.6-3 100% | 126.9 MiB/s | 259.9 KiB | 00m00s [239/283] Installing p11-kit-devel-0:0. 100% | 269.1 MiB/s | 551.1 KiB | 00m00s [240/283] Installing libidn2-devel-0:2. 100% | 127.0 MiB/s | 260.1 KiB | 00m00s [241/283] Installing less-0:643-4.fc40. 100% | 83.4 MiB/s | 427.2 KiB | 00m00s [242/283] Installing libstdc++-devel-0: 100% | 277.8 MiB/s | 15.3 MiB | 00m00s [243/283] Installing check-static-0:0.1 100% | 113.5 MiB/s | 116.2 KiB | 00m00s [244/283] Installing sendmail-milter-0: 100% | 80.2 MiB/s | 82.1 KiB | 00m00s [245/283] Installing ocaml-runtime-0:5. 100% | 335.8 MiB/s | 5.7 MiB | 00m00s [246/283] Installing ncurses-c++-libs-0 100% | 158.5 MiB/s | 162.3 KiB | 00m00s [247/283] Installing gmp-c++-1:6.2.1-8. 100% | 31.4 MiB/s | 32.2 KiB | 00m00s [248/283] Installing gmp-devel-1:6.2.1- 100% | 352.2 MiB/s | 360.6 KiB | 00m00s [249/283] Installing nettle-devel-0:3.9 100% | 177.7 MiB/s | 1.4 MiB | 00m00s [250/283] Installing gnutls-devel-0:3.8 100% | 166.9 MiB/s | 5.7 MiB | 00m00s [251/283] Installing gettext-common-dev 100% | 394.4 MiB/s | 403.8 KiB | 00m00s [252/283] Installing rhash-0:1.4.3-4.fc 100% | 117.7 MiB/s | 361.5 KiB | 00m00s [253/283] Installing libuv-1:1.48.0-1.f 100% | 180.1 MiB/s | 553.1 KiB | 00m00s [254/283] Installing jsoncpp-0:1.9.5-7. 100% | 22.1 MiB/s | 249.1 KiB | 00m00s [255/283] Installing cmake-data-0:3.28. 100% | 107.4 MiB/s | 8.5 MiB | 00m00s [256/283] Installing cmake-0:3.28.2-1.f 100% | 305.3 MiB/s | 31.1 MiB | 00m00s [257/283] Installing zlib-ng-compat-dev 100% | 102.2 MiB/s | 104.6 KiB | 00m00s [258/283] Installing libxml2-devel-0:2. 100% | 262.8 MiB/s | 3.4 MiB | 00m00s [259/283] Installing gettext-devel-0:0. 100% | 198.6 MiB/s | 1.0 MiB | 00m00s [260/283] Installing libprelude-devel-0 100% | 101.8 MiB/s | 417.0 KiB | 00m00s [261/283] Installing ncurses-devel-0:6. 100% | 54.6 MiB/s | 1.0 MiB | 00m00s [262/283] Installing ocaml-0:5.1.1-4.fc 100% | 327.9 MiB/s | 147.6 MiB | 00m00s [263/283] Installing sendmail-milter-de 100% | 131.2 MiB/s | 268.7 KiB | 00m00s [264/283] Installing check-devel-0:0.15 100% | 61.8 MiB/s | 126.6 KiB | 00m00s [265/283] Installing gcc-c++-0:14.1.1-6 100% | 254.3 MiB/s | 28.7 MiB | 00m00s [266/283] Installing git-core-0:2.45.2- 100% | 333.9 MiB/s | 22.7 MiB | 00m00s [267/283] Installing graphviz-0:9.0.0-1 100% | 266.4 MiB/s | 21.6 MiB | 00m00s [268/283] Installing cargo-rpm-macros-0 100% | 15.2 MiB/s | 15.5 KiB | 00m00s [269/283] Installing gcc-plugin-annobin 100% | 5.2 MiB/s | 58.4 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:286-1.fc40.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:286-1.fc40.noarch [270/283] Installing annobin-plugin-gcc 100% | 63.6 MiB/s | 977.1 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:286-1.fc40.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:286-1.fc40.noarch [271/283] Installing python3-pytest-0:7 100% | 298.0 MiB/s | 15.2 MiB | 00m00s [272/283] Installing valgrind-1:3.23.0- 100% | 340.9 MiB/s | 31.0 MiB | 00m00s [273/283] Installing nmap-ncat-3:7.95-1 100% | 68.7 MiB/s | 562.8 KiB | 00m00s >>> Running post-install scriptlet: nmap-ncat-3:7.95-1.fc40.s390x >>> Stop post-install scriptlet: nmap-ncat-3:7.95-1.fc40.s390x [274/283] Installing pcre2-devel-0:10.4 100% | 142.5 MiB/s | 2.0 MiB | 00m00s >>> Running pre-install scriptlet: groff-0:1.23.0-6.fc40.s390x >>> Stop pre-install scriptlet: groff-0:1.23.0-6.fc40.s390x [275/283] Installing groff-0:1.23.0-6.f 100% | 186.9 MiB/s | 4.7 MiB | 00m00s >>> Running post-install scriptlet: groff-0:1.23.0-6.fc40.s390x >>> Stop post-install scriptlet: groff-0:1.23.0-6.fc40.s390x [276/283] Installing json-c-devel-0:0.1 100% | 75.8 MiB/s | 155.3 KiB | 00m00s [277/283] Installing systemd-rpm-macros 100% | 3.3 MiB/s | 10.1 KiB | 00m00s [278/283] Installing systemd-devel-0:25 100% | 37.0 MiB/s | 681.6 KiB | 00m00s [279/283] Installing libcurl-devel-0:8. 100% | 88.6 MiB/s | 1.3 MiB | 00m00s [280/283] Installing tcl-1:8.6.13-2.fc4 100% | 163.2 MiB/s | 4.4 MiB | 00m00s [281/283] Installing openssl-devel-1:3. 100% | 54.9 MiB/s | 5.2 MiB | 00m00s [282/283] Installing bzip2-devel-0:1.0. 100% | 303.5 MiB/s | 310.7 KiB | 00m00s [283/283] Installing bc-0:1.07.1-21.fc4 100% | 240.3 KiB/s | 252.6 KiB | 00m01s >>> Running post-transaction scriptlet: urw-base35-z003-fonts-0:20200910-20.fc40 >>> Stop post-transaction scriptlet: urw-base35-z003-fonts-0:20200910-20.fc40.no >>> Running post-transaction scriptlet: urw-base35-standard-symbols-ps-fonts-0:2 >>> Stop post-transaction scriptlet: urw-base35-standard-symbols-ps-fonts-0:2020 >>> Running post-transaction scriptlet: urw-base35-p052-fonts-0:20200910-20.fc40 >>> Stop post-transaction scriptlet: urw-base35-p052-fonts-0:20200910-20.fc40.no >>> Running post-transaction scriptlet: urw-base35-nimbus-sans-fonts-0:20200910- >>> Stop post-transaction scriptlet: urw-base35-nimbus-sans-fonts-0:20200910-20. >>> Running post-transaction scriptlet: urw-base35-nimbus-roman-fonts-0:20200910 >>> Stop post-transaction scriptlet: urw-base35-nimbus-roman-fonts-0:20200910-20 >>> Running post-transaction scriptlet: urw-base35-nimbus-mono-ps-fonts-0:202009 >>> Stop post-transaction scriptlet: urw-base35-nimbus-mono-ps-fonts-0:20200910- >>> Running post-transaction scriptlet: urw-base35-gothic-fonts-0:20200910-20.fc >>> Stop post-transaction scriptlet: urw-base35-gothic-fonts-0:20200910-20.fc40. >>> Running post-transaction scriptlet: urw-base35-d050000l-fonts-0:20200910-20. >>> Stop post-transaction scriptlet: urw-base35-d050000l-fonts-0:20200910-20.fc4 >>> Running post-transaction scriptlet: urw-base35-c059-fonts-0:20200910-20.fc40 >>> Stop post-transaction scriptlet: urw-base35-c059-fonts-0:20200910-20.fc40.no >>> Running post-transaction scriptlet: urw-base35-bookman-fonts-0:20200910-20.f >>> Stop post-transaction scriptlet: urw-base35-bookman-fonts-0:20200910-20.fc40 >>> Running post-transaction scriptlet: fontconfig-0:2.15.0-6.fc40.s390x >>> Stop post-transaction scriptlet: fontconfig-0:2.15.0-6.fc40.s390x >>> Running post-transaction scriptlet: crypto-policies-scripts-0:20240510-1.git >>> Stop post-transaction scriptlet: crypto-policies-scripts-0:20240510-1.gitd28 >>> Running post-transaction scriptlet: nss-0:3.101.0-1.fc40.s390x >>> Stop post-transaction scriptlet: nss-0:3.101.0-1.fc40.s390x >>> Running trigger-install scriptlet: glibc-common-0:2.39-15.fc40.s390x >>> Stop trigger-install scriptlet: glibc-common-0:2.39-15.fc40.s390x >>> Running trigger-install scriptlet: info-0:7.1-2.fc40.s390x >>> Stop trigger-install scriptlet: info-0:7.1-2.fc40.s390x >>> Running trigger-install scriptlet: glib2-0:2.80.3-2.fc40.s390x >>> Stop trigger-install scriptlet: glib2-0:2.80.3-2.fc40.s390x >>> Running trigger-install scriptlet: shared-mime-info-0:2.3-5.fc40.s390x >>> Stop trigger-install scriptlet: shared-mime-info-0:2.3-5.fc40.s390x >>> Running trigger-install scriptlet: gdk-pixbuf2-0:2.42.10-8.fc40.s390x >>> Stop trigger-install scriptlet: gdk-pixbuf2-0:2.42.10-8.fc40.s390x >>> Running trigger-install scriptlet: fontconfig-0:2.15.0-6.fc40.s390x >>> Stop trigger-install scriptlet: fontconfig-0:2.15.0-6.fc40.s390x >>> Running trigger-install scriptlet: systemd-0:255.7-1.fc40.s390x >>> Stop trigger-install scriptlet: systemd-0:255.7-1.fc40.s390x >>> Running trigger-install scriptlet: systemd-0:255.7-1.fc40.s390x >>> Stop trigger-install scriptlet: systemd-0:255.7-1.fc40.s390x >>> Running trigger-install scriptlet: systemd-0:255.7-1.fc40.s390x >>> Stop trigger-install scriptlet: systemd-0:255.7-1.fc40.s390x >>> Running trigger-install scriptlet: systemd-0:255.7-1.fc40.s390x >>> Stop trigger-install scriptlet: systemd-0:255.7-1.fc40.s390x >>> Running trigger-install scriptlet: systemd-0:255.7-1.fc40.s390x >>> Stop trigger-install scriptlet: systemd-0:255.7-1.fc40.s390x >>> Running trigger-install scriptlet: systemd-0:255.7-1.fc40.s390x >>> Stop trigger-install scriptlet: systemd-0:255.7-1.fc40.s390x >>> Running trigger-install scriptlet: graphviz-0:9.0.0-11.fc40.s390x >>> Stop trigger-install scriptlet: graphviz-0:9.0.0-11.fc40.s390x Warning: skipped PGP checks for 6 package(s). Finish: build setup for clamav-1.0.6-1.fc40.src.rpm Start: rpmbuild clamav-1.0.6-1.fc40.src.rpm Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1714089600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mC143n + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf clamav-1.0.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/clamav-1.0.6-norar.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd clamav-1.0.6 + rm -rf /builddir/build/BUILD/clamav-1.0.6-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/clamav-1.0.6-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e '/cbindgen/s/version = *"0.20"/version = "0.24"/' -e '/^bindgen *=/s/= .*/= "0.63"/' libclamav_rust/Cargo.toml + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + cd libclamav_rust + rm -r .cargo + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + cd .. Patch #0 (clamav-rustflags.patch): + echo 'Patch #0 (clamav-rustflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rustflags --fuzz=0 patching file cmake/FindRust.cmake Patch #1 (clamav-default_confs.patch): + echo 'Patch #1 (clamav-default_confs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .default_confs --fuzz=0 patching file clamconf/clamconf.c patching file docs/man/clamav-milter.8.in patching file docs/man/clamav-milter.conf.5.in patching file docs/man/clamd.8.in patching file docs/man/clamd.conf.5.in Hunk #1 succeeded at 779 (offset 14 lines). patching file platform.h.in Patch #2 (clamav-private.patch): + echo 'Patch #2 (clamav-private.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .private --fuzz=0 patching file libclamav.pc.in patching file clamav-config.in Patch #3 (clamav-rpath.patch): + echo 'Patch #3 (clamav-rpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rpath --fuzz=0 patching file CMakeLists.txt Patch #5 (clamav-clamonacc-service.patch): + echo 'Patch #5 (clamav-clamonacc-service.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .clamonacc-service --fuzz=0 patching file clamonacc/clamav-clamonacc.service.in Patch #6 (clamav-freshclam.service.patch): + echo 'Patch #6 (clamav-freshclam.service.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .freshclam-service --fuzz=0 patching file freshclam/clamav-freshclam.service.in Patch #7 (libclamav-pe-Use-endian-wrapper-in-more-places.patch): + echo 'Patch #7 (libclamav-pe-Use-endian-wrapper-in-more-places.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .big-endian --fuzz=0 patching file libclamav/pe.c + install -p -m0644 /builddir/build/SOURCES/README.fedora.md clamav-milter/ + mkdir -p libclamunrar libclamunrar_iface + touch libclamunrar/Makefile.in libclamunrar/all libclamunrar/install + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.gH75kB + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + cd libclamav_rust + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/clamav-1.0.6-1.fc40.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: updates 100% | 1.2 KiB/s | 6.0 KiB | 00m05s fedora 100% | 194.1 KiB/s | 4.5 KiB | 00m00s Copr repository 100% | 268.0 B/s | 1.5 KiB | 00m06s Repositories loaded. Package "bc-1.07.1-21.fc40.s390x" is already installed. Package "bzip2-devel-1.0.8-18.fc40.s390x" is already installed. Package "cargo-1.79.0-3.fc40.s390x" is already installed. Package "check-devel-0.15.2-15.fc40.s390x" is already installed. Package "cmake-3.28.2-1.fc40.s390x" is already installed. Package "libcurl-devel-8.6.0-8.fc40.s390x" is already installed. Package "gcc-c++-14.1.1-6.fc40.s390x" is already installed. Package "gettext-devel-0.22.5-2.fc40.s390x" is already installed. Package "git-core-2.45.2-2.fc40.s390x" is already installed. Package "gmp-devel-1:6.2.1-8.fc40.s390x" is already installed. Package "gnutls-devel-3.8.5-1.fc40.s390x" is already installed. Package "graphviz-9.0.0-11.fc40.s390x" is already installed. Package "groff-1.23.0-6.fc40.s390x" is already installed. Package "json-c-devel-0.17-3.fc40.s390x" is already installed. Package "libprelude-devel-5.2.0-23.fc40.s390x" is already installed. Package "libxml2-devel-2.12.8-1.fc40.s390x" is already installed. Package "make-1:4.4.1-6.fc40.s390x" is already installed. Package "nmap-ncat-3:7.95-1.fc40.s390x" is already installed. Package "ncurses-devel-6.4-12.20240127.fc40.s390x" is already installed. Package "ocaml-5.1.1-4.fc40.s390x" is already installed. Package "openssl-devel-1:3.2.1-2.fc40.s390x" is already installed. Package "pcre2-devel-10.44-1.fc40.s390x" is already installed. Package "python3-3.12.3-2.fc40.s390x" is already installed. Package "python3-pytest-7.4.3-3.fc40.noarch" is already installed. Package "rust-1.79.0-3.fc40.s390x" is already installed. Package "cargo-rpm-macros-26.3-1.fc40.noarch" is already installed. Package "sendmail-milter-devel-8.18.1-1.fc40.s390x" is already installed. Package "systemd-255.7-1.fc40.s390x" is already installed. Package "systemd-devel-255.7-1.fc40.s390x" is already installed. Package Arch Version Repository Size Installing: rust-bindgen0.63+default-devel noarch 0.63.0-2.fc40 fedora 2.3 KiB rust-cbindgen0.24-devel noarch 0.24.5-2.fc40 fedora 1.2 MiB rust-flate2+default-devel noarch 1.0.28-3.fc40 updates 2.1 KiB rust-hex+default-devel noarch 0.4.3-9.fc40 fedora 1.5 KiB rust-image+default-devel noarch 0.24.9-1.fc40 fedora 3.1 KiB rust-libc+default-devel noarch 0.2.155-1.fc40 updates 4.9 KiB rust-log+default-devel noarch 0.4.21-1.fc40 fedora 2.4 KiB rust-log+std-devel noarch 0.4.21-1.fc40 fedora 2.4 KiB rust-num-traits+default-devel noarch 0.2.19-1.fc40 updates 1.3 KiB rust-rustdct+default-devel noarch 0.7.1-4.fc40 fedora 1.1 KiB rust-sha2+default-devel noarch 0.10.8-2.fc40 fedora 1.7 KiB rust-tempfile+default-devel noarch 3.10.1-1.fc40 fedora 1.3 KiB rust-thiserror+default-devel noarch 1.0.61-1.fc40 updates 2.1 KiB rust-transpose+default-devel noarch 0.2.3-1.fc40 fedora 1.1 KiB Installing dependencies: clang s390x 18.1.6-3.fc40 updates 680.8 KiB clang-devel s390x 18.1.6-3.fc40 updates 25.4 MiB clang-libs s390x 18.1.6-3.fc40 updates 183.9 MiB clang-resource-filesystem noarch 18.1.6-3.fc40 updates 522.0 B clang-tools-extra s390x 18.1.6-3.fc40 updates 151.2 MiB llvm s390x 18.1.6-2.fc40 updates 167.9 MiB rust-adler-devel noarch 1.0.2-10.fc40 fedora 32.8 KiB rust-aho-corasick+std-devel noarch 1.1.3-1.fc40 updates 1.5 KiB rust-aho-corasick-devel noarch 1.1.3-1.fc40 updates 805.8 KiB rust-autocfg+default-devel noarch 1.3.0-3.fc40 updates 926.0 B rust-autocfg-devel noarch 1.3.0-3.fc40 updates 52.2 KiB rust-bindgen0.63+log-devel noarch 0.63.0-2.fc40 fedora 2.3 KiB rust-bindgen0.63+logging-devel noarch 0.63.0-2.fc40 fedora 2.3 KiB rust-bindgen0.63+runtime-devel noarch 0.63.0-2.fc40 fedora 2.3 KiB rust-bindgen0.63+which-devel noarch 0.63.0-2.fc40 fedora 2.3 KiB rust-bindgen0.63+which-rustfmt-devel noarch 0.63.0-2.fc40 fedora 2.3 KiB rust-bindgen0.63-devel noarch 0.63.0-2.fc40 fedora 912.5 KiB rust-bitflags+std-devel noarch 2.5.0-1.fc40 fedora 1.9 KiB rust-bitflags-devel noarch 2.5.0-1.fc40 fedora 190.7 KiB rust-bitflags1+default-devel noarch 1.3.2-3.fc40 fedora 1.3 KiB rust-bitflags1-devel noarch 1.3.2-3.fc40 fedora 91.4 KiB rust-block-buffer+default-devel noarch 0.10.4-3.fc40 fedora 917.0 B rust-block-buffer-devel noarch 0.10.4-3.fc40 fedora 33.7 KiB rust-bytemuck+default-devel noarch 1.14.1-1.fc40 fedora 1.7 KiB rust-bytemuck+extern_crate_alloc-devel noarch 1.14.1-1.fc40 fedora 1.7 KiB rust-bytemuck-devel noarch 1.14.1-1.fc40 fedora 189.3 KiB rust-byteorder+default-devel noarch 1.5.0-2.fc40 fedora 1.2 KiB rust-byteorder+std-devel noarch 1.5.0-2.fc40 fedora 1.2 KiB rust-byteorder-devel noarch 1.5.0-2.fc40 fedora 174.0 KiB rust-cexpr+default-devel noarch 0.6.0-9.fc40 fedora 984.0 B rust-cexpr-devel noarch 0.6.0-9.fc40 fedora 62.0 KiB rust-cfg-if+default-devel noarch 1.0.0-11.fc40 fedora 1.3 KiB rust-cfg-if-devel noarch 1.0.0-11.fc40 fedora 19.0 KiB rust-clang-sys+clang_3_5-devel noarch 1.8.1-1.fc40 updates 1.8 KiB rust-clang-sys+clang_3_6-devel noarch 1.8.1-1.fc40 updates 1.8 KiB rust-clang-sys+clang_3_7-devel noarch 1.8.1-1.fc40 updates 1.8 KiB rust-clang-sys+clang_3_8-devel noarch 1.8.1-1.fc40 updates 1.8 KiB rust-clang-sys+clang_3_9-devel noarch 1.8.1-1.fc40 updates 1.8 KiB rust-clang-sys+clang_4_0-devel noarch 1.8.1-1.fc40 updates 1.8 KiB rust-clang-sys+clang_5_0-devel noarch 1.8.1-1.fc40 updates 1.8 KiB rust-clang-sys+clang_6_0-devel noarch 1.8.1-1.fc40 updates 1.8 KiB rust-clang-sys+default-devel noarch 1.8.1-1.fc40 updates 1.8 KiB rust-clang-sys+libloading-devel noarch 1.8.1-1.fc40 updates 1.8 KiB rust-clang-sys+runtime-devel noarch 1.8.1-1.fc40 updates 1.8 KiB rust-clang-sys-devel noarch 1.8.1-1.fc40 updates 206.1 KiB rust-color_quant+default-devel noarch 1.1.0-10.fc40 fedora 798.0 B rust-color_quant-devel noarch 1.1.0-10.fc40 fedora 19.6 KiB rust-cpufeatures+default-devel noarch 0.2.12-2.fc40 fedora 1.1 KiB rust-cpufeatures-devel noarch 0.2.12-2.fc40 fedora 39.8 KiB rust-crc32fast+default-devel noarch 1.4.2-1.fc40 updates 1.1 KiB rust-crc32fast+std-devel noarch 1.4.2-1.fc40 updates 1.1 KiB rust-crc32fast-devel noarch 1.4.2-1.fc40 updates 94.0 KiB rust-crossbeam-deque+default-devel noarch 0.8.5-2.fc40 fedora 1.2 KiB rust-crossbeam-deque+std-devel noarch 0.8.5-2.fc40 fedora 1.2 KiB rust-crossbeam-deque-devel noarch 0.8.5-2.fc40 fedora 123.4 KiB rust-crossbeam-epoch+alloc-devel noarch 0.9.18-2.fc40 fedora 1.2 KiB rust-crossbeam-epoch+std-devel noarch 0.9.18-2.fc40 fedora 1.2 KiB rust-crossbeam-epoch-devel noarch 0.9.18-2.fc40 fedora 184.3 KiB rust-crossbeam-utils+default-devel noarch 0.8.20-1.fc40 updates 1.1 KiB rust-crossbeam-utils+std-devel noarch 0.8.20-1.fc40 updates 1.1 KiB rust-crossbeam-utils-devel noarch 0.8.20-1.fc40 updates 182.5 KiB rust-crypto-common+default-devel noarch 0.1.6-3.fc40 fedora 1.2 KiB rust-crypto-common+std-devel noarch 0.1.6-3.fc40 fedora 1.2 KiB rust-crypto-common-devel noarch 0.1.6-3.fc40 fedora 24.9 KiB rust-digest+alloc-devel noarch 0.10.7-3.fc40 fedora 1.5 KiB rust-digest+block-buffer-devel noarch 0.10.7-3.fc40 fedora 1.5 KiB rust-digest+core-api-devel noarch 0.10.7-3.fc40 fedora 1.5 KiB rust-digest+default-devel noarch 0.10.7-3.fc40 fedora 1.5 KiB rust-digest+std-devel noarch 0.10.7-3.fc40 fedora 1.5 KiB rust-digest-devel noarch 0.10.7-3.fc40 fedora 84.1 KiB rust-either+default-devel noarch 1.12.0-1.fc40 updates 1.3 KiB rust-either+use_std-devel noarch 1.12.0-1.fc40 updates 1.3 KiB rust-either-devel noarch 1.12.0-1.fc40 updates 73.4 KiB rust-errno+std-devel noarch 0.3.8-2.fc40 fedora 986.0 B rust-errno-devel noarch 0.3.8-2.fc40 fedora 28.9 KiB rust-fastrand+alloc-devel noarch 2.1.0-1.fc40 updates 1.1 KiB rust-fastrand+default-devel noarch 2.1.0-1.fc40 updates 1.1 KiB rust-fastrand+std-devel noarch 2.1.0-1.fc40 updates 1.1 KiB rust-fastrand-devel noarch 2.1.0-1.fc40 updates 49.5 KiB rust-fdeflate+default-devel noarch 0.3.4-1.fc40 fedora 1.1 KiB rust-fdeflate-devel noarch 0.3.4-1.fc40 fedora 127.8 KiB rust-flate2+any_impl-devel noarch 1.0.28-3.fc40 updates 2.1 KiB rust-flate2+miniz_oxide-devel noarch 1.0.28-3.fc40 updates 2.1 KiB rust-flate2+rust_backend-devel noarch 1.0.28-3.fc40 updates 2.1 KiB rust-flate2-devel noarch 1.0.28-3.fc40 updates 271.2 KiB rust-generic-array+default-devel noarch 0.14.7-3.fc40 fedora 1.5 KiB rust-generic-array+more_lengths-devel noarch 0.14.7-3.fc40 fedora 1.5 KiB rust-generic-array-devel noarch 0.14.7-3.fc40 fedora 65.1 KiB rust-gif+color_quant-devel noarch 0.13.1-1.fc40 fedora 1.4 KiB rust-gif+default-devel noarch 0.13.1-1.fc40 fedora 1.4 KiB rust-gif+raii_no_panic-devel noarch 0.13.1-1.fc40 fedora 1.4 KiB rust-gif+std-devel noarch 0.13.1-1.fc40 fedora 1.4 KiB rust-gif-devel noarch 0.13.1-1.fc40 fedora 114.1 KiB rust-glob+default-devel noarch 0.3.1-3.fc40 fedora 952.0 B rust-glob-devel noarch 0.3.1-3.fc40 fedora 74.3 KiB rust-hashbrown0.12+raw-devel noarch 0.12.3-3.fc40 fedora 2.1 KiB rust-hashbrown0.12-devel noarch 0.12.3-3.fc40 fedora 575.4 KiB rust-heck0.4+default-devel noarch 0.4.1-1.fc40 fedora 1.1 KiB rust-heck0.4-devel noarch 0.4.1-1.fc40 fedora 42.3 KiB rust-hex+alloc-devel noarch 0.4.3-9.fc40 fedora 1.5 KiB rust-hex+std-devel noarch 0.4.3-9.fc40 fedora 1.5 KiB rust-hex-devel noarch 0.4.3-9.fc40 fedora 37.9 KiB rust-home+default-devel noarch 0.5.9-2.fc40 fedora 1.1 KiB rust-home-devel noarch 0.5.9-2.fc40 fedora 24.6 KiB rust-image+bmp-devel noarch 0.24.9-1.fc40 fedora 3.1 KiB rust-image+dds-devel noarch 0.24.9-1.fc40 fedora 3.1 KiB rust-image+dxt-devel noarch 0.24.9-1.fc40 fedora 3.1 KiB rust-image+farbfeld-devel noarch 0.24.9-1.fc40 fedora 3.1 KiB rust-image+gif-devel noarch 0.24.9-1.fc40 fedora 3.1 KiB rust-image+hdr-devel noarch 0.24.9-1.fc40 fedora 3.1 KiB rust-image+ico-devel noarch 0.24.9-1.fc40 fedora 3.1 KiB rust-image+jpeg-devel noarch 0.24.9-1.fc40 fedora 3.1 KiB rust-image+jpeg_rayon-devel noarch 0.24.9-1.fc40 fedora 3.1 KiB rust-image+png-devel noarch 0.24.9-1.fc40 fedora 3.1 KiB rust-image+pnm-devel noarch 0.24.9-1.fc40 fedora 3.1 KiB rust-image+qoi-devel noarch 0.24.9-1.fc40 fedora 3.1 KiB rust-image+tga-devel noarch 0.24.9-1.fc40 fedora 3.1 KiB rust-image+tiff-devel noarch 0.24.9-1.fc40 fedora 3.1 KiB rust-image+webp-devel noarch 0.24.9-1.fc40 fedora 3.1 KiB rust-image-devel noarch 0.24.9-1.fc40 fedora 12.6 MiB rust-indexmap1+default-devel noarch 1.9.3-3.fc40 fedora 2.0 KiB rust-indexmap1-devel noarch 1.9.3-3.fc40 fedora 273.0 KiB rust-itoa+default-devel noarch 1.0.11-1.fc40 updates 1.1 KiB rust-itoa-devel noarch 1.0.11-1.fc40 updates 27.9 KiB rust-jpeg-decoder+rayon-devel noarch 0.3.1-2.fc40 fedora 1.6 KiB rust-jpeg-decoder-devel noarch 0.3.1-2.fc40 fedora 898.6 KiB rust-lazy_static+default-devel noarch 1.5.0-1.fc40 updates 1.2 KiB rust-lazy_static-devel noarch 1.5.0-1.fc40 updates 34.1 KiB rust-lazycell+default-devel noarch 1.3.0-11.fc40 fedora 1.1 KiB rust-lazycell-devel noarch 1.3.0-11.fc40 fedora 44.8 KiB rust-libc+extra_traits-devel noarch 0.2.155-1.fc40 updates 4.9 KiB rust-libc+std-devel noarch 0.2.155-1.fc40 updates 4.9 KiB rust-libc-devel noarch 0.2.155-1.fc40 updates 4.0 MiB rust-libloading+default-devel noarch 0.8.4-1.fc40 updates 1.2 KiB rust-libloading-devel noarch 0.8.4-1.fc40 updates 108.2 KiB rust-linux-raw-sys0.4+elf-devel noarch 0.4.12-2.fc40 fedora 1.7 KiB rust-linux-raw-sys0.4+errno-devel noarch 0.4.12-2.fc40 fedora 1.7 KiB rust-linux-raw-sys0.4+general-devel noarch 0.4.12-2.fc40 fedora 1.7 KiB rust-linux-raw-sys0.4+ioctl-devel noarch 0.4.12-2.fc40 fedora 1.7 KiB rust-linux-raw-sys0.4+no_std-devel noarch 0.4.12-2.fc40 fedora 1.7 KiB rust-linux-raw-sys0.4-devel noarch 0.4.12-2.fc40 fedora 7.4 MiB rust-log-devel noarch 0.4.21-1.fc40 fedora 181.9 KiB rust-memchr+alloc-devel noarch 2.7.4-1.fc40 updates 1.9 KiB rust-memchr+std-devel noarch 2.7.4-1.fc40 updates 1.9 KiB rust-memchr-devel noarch 2.7.4-1.fc40 updates 564.8 KiB rust-minimal-lexical+std-devel noarch 0.2.1-7.fc40 fedora 1.0 KiB rust-minimal-lexical-devel noarch 0.2.1-7.fc40 fedora 311.6 KiB rust-miniz_oxide+default-devel noarch 0.7.3-1.fc40 updates 1.7 KiB rust-miniz_oxide+simd-adler32-devel noarch 0.7.3-1.fc40 updates 1.7 KiB rust-miniz_oxide+simd-devel noarch 0.7.3-1.fc40 updates 1.7 KiB rust-miniz_oxide+with-alloc-devel noarch 0.7.3-1.fc40 updates 1.7 KiB rust-miniz_oxide-devel noarch 0.7.3-1.fc40 updates 229.3 KiB rust-nom+alloc-devel noarch 7.1.3-3.fc40 fedora 2.3 KiB rust-nom+std-devel noarch 7.1.3-3.fc40 fedora 2.3 KiB rust-nom-devel noarch 7.1.3-3.fc40 fedora 633.1 KiB rust-num-complex+default-devel noarch 0.4.5-1.fc40 fedora 1.7 KiB rust-num-complex+std-devel noarch 0.4.5-1.fc40 fedora 1.7 KiB rust-num-complex-devel noarch 0.4.5-1.fc40 fedora 135.7 KiB rust-num-integer+default-devel noarch 0.1.46-1.fc40 fedora 1.2 KiB rust-num-integer+std-devel noarch 0.1.46-1.fc40 fedora 1.2 KiB rust-num-integer-devel noarch 0.1.46-1.fc40 fedora 106.5 KiB rust-num-traits+i128-devel noarch 0.2.19-1.fc40 updates 1.3 KiB rust-num-traits+std-devel noarch 0.2.19-1.fc40 updates 1.3 KiB rust-num-traits-devel noarch 0.2.19-1.fc40 updates 266.7 KiB rust-peeking_take_while+default-devel noarch 0.1.2-18.fc40 fedora 653.0 B rust-peeking_take_while-devel noarch 0.1.2-18.fc40 fedora 18.0 KiB rust-png+default-devel noarch 0.17.13-1.fc40 fedora 1.8 KiB rust-png-devel noarch 0.17.13-1.fc40 fedora 393.5 KiB rust-primal-check+default-devel noarch 0.3.4-1.fc40 updates 1.0 KiB rust-primal-check-devel noarch 0.3.4-1.fc40 updates 22.5 KiB rust-proc-macro2+default-devel noarch 1.0.86-1.fc40 updates 2.2 KiB rust-proc-macro2+proc-macro-devel noarch 1.0.86-1.fc40 updates 2.2 KiB rust-proc-macro2-devel noarch 1.0.86-1.fc40 updates 208.3 KiB rust-qoi+default-devel noarch 0.4.1-2.fc40 fedora 1.4 KiB rust-qoi+std-devel noarch 0.4.1-2.fc40 fedora 1.4 KiB rust-qoi-devel noarch 0.4.1-2.fc40 fedora 104.5 KiB rust-quote+default-devel noarch 1.0.36-1.fc40 updates 1.3 KiB rust-quote+proc-macro-devel noarch 1.0.36-1.fc40 updates 1.3 KiB rust-quote-devel noarch 1.0.36-1.fc40 updates 119.1 KiB rust-rayon+default-devel noarch 1.10.0-1.fc40 updates 1.2 KiB rust-rayon-core+default-devel noarch 1.12.1-2.fc40 fedora 1.7 KiB rust-rayon-core-devel noarch 1.12.1-2.fc40 fedora 271.0 KiB rust-rayon-devel noarch 1.10.0-1.fc40 updates 887.0 KiB rust-regex+std-devel noarch 1.10.5-1.fc40 updates 3.9 KiB rust-regex+unicode-age-devel noarch 1.10.5-1.fc40 updates 3.9 KiB rust-regex+unicode-bool-devel noarch 1.10.5-1.fc40 updates 3.9 KiB rust-regex+unicode-case-devel noarch 1.10.5-1.fc40 updates 3.9 KiB rust-regex+unicode-devel noarch 1.10.5-1.fc40 updates 3.9 KiB rust-regex+unicode-gencat-devel noarch 1.10.5-1.fc40 updates 3.9 KiB rust-regex+unicode-perl-devel noarch 1.10.5-1.fc40 updates 3.9 KiB rust-regex+unicode-script-devel noarch 1.10.5-1.fc40 updates 3.9 KiB rust-regex+unicode-segment-devel noarch 1.10.5-1.fc40 updates 3.9 KiB rust-regex-automata+alloc-devel noarch 0.4.7-1.fc40 updates 3.7 KiB rust-regex-automata+meta-devel noarch 0.4.7-1.fc40 updates 3.7 KiB rust-regex-automata+nfa-pikevm-devel noarch 0.4.7-1.fc40 updates 3.7 KiB rust-regex-automata+nfa-thompson-devel noarch 0.4.7-1.fc40 updates 3.7 KiB rust-regex-automata+std-devel noarch 0.4.7-1.fc40 updates 3.7 KiB rust-regex-automata+syntax-devel noarch 0.4.7-1.fc40 updates 3.7 KiB rust-regex-automata+unicode-age-devel noarch 0.4.7-1.fc40 updates 3.7 KiB rust-regex-automata+unicode-bool-devel noarch 0.4.7-1.fc40 updates 3.7 KiB rust-regex-automata+unicode-case-devel noarch 0.4.7-1.fc40 updates 3.7 KiB rust-regex-automata+unicode-devel noarch 0.4.7-1.fc40 updates 3.7 KiB rust-regex-automata+unicode-gencat-devel noarch 0.4.7-1.fc40 updates 3.7 KiB rust-regex-automata+unicode-perl-devel noarch 0.4.7-1.fc40 updates 3.7 KiB rust-regex-automata+unicode-script-devel noarch 0.4.7-1.fc40 updates 3.7 KiB rust-regex-automata+unicode-segment-devel noarch 0.4.7-1.fc40 updates 3.7 KiB rust-regex-automata+unicode-word-boundary-devel noarch 0.4.7-1.fc40 updates 3.7 KiB rust-regex-automata-devel noarch 0.4.7-1.fc40 updates 2.6 MiB rust-regex-devel noarch 1.10.5-1.fc40 updates 1.4 MiB rust-regex-syntax+std-devel noarch 0.8.4-1.fc40 updates 1.6 KiB rust-regex-syntax+unicode-age-devel noarch 0.8.4-1.fc40 updates 1.6 KiB rust-regex-syntax+unicode-bool-devel noarch 0.8.4-1.fc40 updates 1.6 KiB rust-regex-syntax+unicode-case-devel noarch 0.8.4-1.fc40 updates 1.6 KiB rust-regex-syntax+unicode-devel noarch 0.8.4-1.fc40 updates 1.6 KiB rust-regex-syntax+unicode-gencat-devel noarch 0.8.4-1.fc40 updates 1.6 KiB rust-regex-syntax+unicode-perl-devel noarch 0.8.4-1.fc40 updates 1.6 KiB rust-regex-syntax+unicode-script-devel noarch 0.8.4-1.fc40 updates 1.6 KiB rust-regex-syntax+unicode-segment-devel noarch 0.8.4-1.fc40 updates 1.6 KiB rust-regex-syntax-devel noarch 0.8.4-1.fc40 updates 1.6 MiB rust-rustc-hash+default-devel noarch 1.1.0-12.fc40 fedora 864.0 B rust-rustc-hash+std-devel noarch 1.1.0-12.fc40 fedora 864.0 B rust-rustc-hash-devel noarch 1.1.0-12.fc40 fedora 23.3 KiB rust-rustdct-devel noarch 0.7.1-4.fc40 fedora 290.3 KiB rust-rustfft+avx-devel noarch 6.2.0-1.fc40 fedora 1.5 KiB rust-rustfft+default-devel noarch 6.2.0-1.fc40 fedora 1.5 KiB rust-rustfft+neon-devel noarch 6.2.0-1.fc40 fedora 1.5 KiB rust-rustfft+sse-devel noarch 6.2.0-1.fc40 fedora 1.5 KiB rust-rustfft-devel noarch 6.2.0-1.fc40 fedora 2.7 MiB rust-rustix+alloc-devel noarch 0.38.34-1.fc40 updates 7.8 KiB rust-rustix+default-devel noarch 0.38.34-1.fc40 updates 7.8 KiB rust-rustix+fs-devel noarch 0.38.34-1.fc40 updates 7.8 KiB rust-rustix+libc-extra-traits-devel noarch 0.38.34-1.fc40 updates 7.8 KiB rust-rustix+std-devel noarch 0.38.34-1.fc40 updates 7.8 KiB rust-rustix+use-libc-auxv-devel noarch 0.38.34-1.fc40 updates 7.8 KiB rust-rustix-devel noarch 0.38.34-1.fc40 updates 1.9 MiB rust-ryu+default-devel noarch 1.0.18-1.fc40 updates 2.0 KiB rust-ryu-devel noarch 1.0.18-1.fc40 updates 153.7 KiB rust-serde+default-devel noarch 1.0.203-1.fc40 updates 1.7 KiB rust-serde+derive-devel noarch 1.0.203-1.fc40 updates 1.7 KiB rust-serde+serde_derive-devel noarch 1.0.203-1.fc40 updates 1.7 KiB rust-serde+std-devel noarch 1.0.203-1.fc40 updates 1.7 KiB rust-serde-devel noarch 1.0.203-1.fc40 updates 506.6 KiB rust-serde_derive+default-devel noarch 1.0.203-1.fc40 updates 1.8 KiB rust-serde_derive-devel noarch 1.0.203-1.fc40 updates 309.5 KiB rust-serde_json+default-devel noarch 1.0.117-1.fc40 updates 2.6 KiB rust-serde_json+std-devel noarch 1.0.117-1.fc40 updates 2.6 KiB rust-serde_json-devel noarch 1.0.117-1.fc40 updates 688.8 KiB rust-sha2+std-devel noarch 0.10.8-2.fc40 fedora 1.7 KiB rust-sha2-devel noarch 0.10.8-2.fc40 fedora 101.5 KiB rust-shlex+default-devel noarch 1.3.0-2.fc40 fedora 1.0 KiB rust-shlex+std-devel noarch 1.3.0-2.fc40 fedora 1.0 KiB rust-shlex-devel noarch 1.3.0-2.fc40 fedora 55.8 KiB rust-simd-adler32+const-generics-devel noarch 0.3.7-2.fc40 fedora 1.1 KiB rust-simd-adler32+default-devel noarch 0.3.7-2.fc40 fedora 1.1 KiB rust-simd-adler32+std-devel noarch 0.3.7-2.fc40 fedora 1.1 KiB rust-simd-adler32-devel noarch 0.3.7-2.fc40 fedora 50.5 KiB rust-strength_reduce+default-devel noarch 0.2.4-5.fc40 fedora 1.1 KiB rust-strength_reduce-devel noarch 0.2.4-5.fc40 fedora 77.9 KiB rust-syn+clone-impls-devel noarch 2.0.67-1.fc40 updates 4.5 KiB rust-syn+default-devel noarch 2.0.67-1.fc40 updates 4.5 KiB rust-syn+derive-devel noarch 2.0.67-1.fc40 updates 4.5 KiB rust-syn+parsing-devel noarch 2.0.67-1.fc40 updates 4.5 KiB rust-syn+printing-devel noarch 2.0.67-1.fc40 updates 4.5 KiB rust-syn+proc-macro-devel noarch 2.0.67-1.fc40 updates 4.5 KiB rust-syn-devel noarch 2.0.67-1.fc40 updates 2.0 MiB rust-syn1+clone-impls-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+default-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+derive-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+extra-traits-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+full-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+parsing-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+printing-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+proc-macro-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+quote-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+visit-mut-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1-devel noarch 1.0.109-3.fc40 fedora 1.8 MiB rust-tempfile-devel noarch 3.10.1-1.fc40 fedora 143.7 KiB rust-thiserror-devel noarch 1.0.61-1.fc40 updates 82.3 KiB rust-thiserror-impl+default-devel noarch 1.0.61-1.fc40 updates 1.1 KiB rust-thiserror-impl-devel noarch 1.0.61-1.fc40 updates 66.4 KiB rust-tiff+default-devel noarch 0.9.1-2.fc40 fedora 1.0 KiB rust-tiff-devel noarch 0.9.1-2.fc40 fedora 1.6 MiB rust-toml0.5+default-devel noarch 0.5.11-3.fc40 fedora 2.3 KiB rust-toml0.5-devel noarch 0.5.11-3.fc40 fedora 263.8 KiB rust-transpose-devel noarch 0.2.3-1.fc40 fedora 36.4 KiB rust-typenum+default-devel noarch 1.17.0-2.fc40 fedora 1.5 KiB rust-typenum-devel noarch 1.17.0-2.fc40 fedora 207.9 KiB rust-unicode-ident+default-devel noarch 1.0.12-2.fc40 fedora 1.6 KiB rust-unicode-ident-devel noarch 1.0.12-2.fc40 fedora 297.2 KiB rust-version_check+default-devel noarch 0.9.4-7.fc40 fedora 890.0 B rust-version_check-devel noarch 0.9.4-7.fc40 fedora 55.4 KiB rust-weezl+alloc-devel noarch 0.1.8-2.fc40 updates 1.7 KiB rust-weezl+default-devel noarch 0.1.8-2.fc40 updates 1.7 KiB rust-weezl+std-devel noarch 0.1.8-2.fc40 updates 1.7 KiB rust-weezl-devel noarch 0.1.8-2.fc40 updates 129.5 KiB rust-which4-devel noarch 4.4.2-2.fc40 fedora 57.9 KiB Transaction Summary: Installing: 310 packages Package "systemd-rpm-macros-255.7-1.fc40.noarch" is already installed. Package "tcl-1:8.6.13-2.fc40.s390x" is already installed. Package "valgrind-1:3.23.0-2.fc40.s390x" is already installed. Package "zlib-ng-compat-devel-2.1.6-5.fc40.s390x" is already installed. Total size of inbound packages is 112 MiB. Need to download 112 MiB. After this operation 584 MiB will be used (install 584 MiB, remove 0 B). [ 1/310] rust-bindgen0.63+default-deve 100% | 111.5 KiB/s | 7.5 KiB | 00m00s [ 2/310] rust-hex+default-devel-0:0.4. 100% | 1.5 KiB/s | 7.7 KiB | 00m05s [ 3/310] rust-image+default-devel-0:0. 100% | 1.8 KiB/s | 9.0 KiB | 00m05s [ 4/310] rust-log+default-devel-0:0.4. 100% | 201.1 KiB/s | 8.0 KiB | 00m00s [ 5/310] rust-log+std-devel-0:0.4.21-1 100% | 146.0 KiB/s | 8.0 KiB | 00m00s [ 6/310] rust-sha2+default-devel-0:0.1 100% | 180.0 KiB/s | 8.3 KiB | 00m00s [ 7/310] rust-rustdct+default-devel-0: 100% | 105.0 KiB/s | 7.6 KiB | 00m00s [ 8/310] rust-tempfile+default-devel-0 100% | 186.7 KiB/s | 8.4 KiB | 00m00s [ 9/310] rust-cbindgen0.24-devel-0:0.2 100% | 102.8 KiB/s | 530.5 KiB | 00m05s [ 10/310] rust-transpose+default-devel- 100% | 100.0 KiB/s | 7.6 KiB | 00m00s [ 11/310] rust-libc+default-devel-0:0.2 100% | 156.0 KiB/s | 9.8 KiB | 00m00s [ 12/310] rust-flate2+default-devel-0:1 100% | 113.3 KiB/s | 8.4 KiB | 00m00s [ 13/310] rust-num-traits+default-devel 100% | 186.2 KiB/s | 8.0 KiB | 00m00s [ 14/310] rust-thiserror+default-devel- 100% | 349.1 KiB/s | 9.4 KiB | 00m00s [ 15/310] rust-bindgen0.63+runtime-deve 100% | 178.9 KiB/s | 7.5 KiB | 00m00s [ 16/310] rust-bindgen0.63+logging-deve 100% | 117.3 KiB/s | 7.4 KiB | 00m00s [ 17/310] rust-bindgen0.63+which-rustfm 100% | 139.9 KiB/s | 7.4 KiB | 00m00s [ 18/310] rust-heck0.4+default-devel-0: 100% | 173.2 KiB/s | 7.1 KiB | 00m00s [ 19/310] rust-indexmap1+default-devel- 100% | 190.8 KiB/s | 7.4 KiB | 00m00s [ 20/310] rust-bindgen0.63-devel-0:0.63 100% | 2.0 MiB/s | 181.8 KiB | 00m00s [ 21/310] rust-syn1+clone-impls-devel-0 100% | 171.6 KiB/s | 7.4 KiB | 00m00s [ 22/310] rust-syn1+full-devel-0:1.0.10 100% | 253.5 KiB/s | 7.4 KiB | 00m00s [ 23/310] rust-syn1+extra-traits-devel- 100% | 111.9 KiB/s | 7.4 KiB | 00m00s [ 24/310] rust-syn1+parsing-devel-0:1.0 100% | 188.8 KiB/s | 7.4 KiB | 00m00s [ 25/310] rust-toml0.5+default-devel-0: 100% | 238.2 KiB/s | 7.6 KiB | 00m00s [ 26/310] rust-syn1+printing-devel-0:1. 100% | 117.5 KiB/s | 7.4 KiB | 00m00s [ 27/310] rust-hex+std-devel-0:0.4.3-9. 100% | 240.1 KiB/s | 7.7 KiB | 00m00s [ 28/310] rust-hex-devel-0:0.4.3-9.fc40 100% | 629.5 KiB/s | 20.8 KiB | 00m00s [ 29/310] rust-image+bmp-devel-0:0.24.9 100% | 282.7 KiB/s | 8.5 KiB | 00m00s [ 30/310] rust-image+dds-devel-0:0.24.9 100% | 405.4 KiB/s | 8.5 KiB | 00m00s [ 31/310] rust-syn1-devel-0:1.0.109-3.f 100% | 2.0 MiB/s | 216.2 KiB | 00m00s [ 32/310] rust-image+dxt-devel-0:0.24.9 100% | 201.9 KiB/s | 8.5 KiB | 00m00s [ 33/310] rust-image+gif-devel-0:0.24.9 100% | 239.7 KiB/s | 8.6 KiB | 00m00s [ 34/310] rust-image+farbfeld-devel-0:0 100% | 223.7 KiB/s | 8.5 KiB | 00m00s [ 35/310] rust-image+ico-devel-0:0.24.9 100% | 305.1 KiB/s | 8.5 KiB | 00m00s [ 36/310] rust-image+hdr-devel-0:0.24.9 100% | 184.4 KiB/s | 8.5 KiB | 00m00s [ 37/310] rust-image+jpeg-devel-0:0.24. 100% | 166.0 KiB/s | 8.6 KiB | 00m00s [ 38/310] rust-image+jpeg_rayon-devel-0 100% | 203.2 KiB/s | 8.7 KiB | 00m00s [ 39/310] rust-image+pnm-devel-0:0.24.9 100% | 242.3 KiB/s | 8.5 KiB | 00m00s [ 40/310] rust-image+png-devel-0:0.24.9 100% | 191.8 KiB/s | 8.6 KiB | 00m00s [ 41/310] rust-image+qoi-devel-0:0.24.9 100% | 233.1 KiB/s | 8.6 KiB | 00m00s [ 42/310] rust-image+tga-devel-0:0.24.9 100% | 223.2 KiB/s | 8.5 KiB | 00m00s [ 43/310] rust-image+tiff-devel-0:0.24. 100% | 215.8 KiB/s | 8.6 KiB | 00m00s [ 44/310] rust-image+webp-devel-0:0.24. 100% | 249.6 KiB/s | 8.5 KiB | 00m00s [ 45/310] rust-log-devel-0:0.4.21-1.fc4 100% | 883.4 KiB/s | 46.8 KiB | 00m00s [ 46/310] rust-rustdct-devel-0:0.7.1-4. 100% | 1.2 MiB/s | 53.6 KiB | 00m00s [ 47/310] rust-sha2-devel-0:0.10.8-2.fc 100% | 1.1 MiB/s | 39.7 KiB | 00m00s [ 48/310] rust-sha2+std-devel-0:0.10.8- 100% | 142.0 KiB/s | 8.4 KiB | 00m00s [ 49/310] rust-tempfile-devel-0:3.10.1- 100% | 1.1 MiB/s | 45.9 KiB | 00m00s [ 50/310] rust-transpose-devel-0:0.2.3- 100% | 543.2 KiB/s | 19.6 KiB | 00m00s [ 51/310] rust-libc+std-devel-0:0.2.155 100% | 208.0 KiB/s | 9.8 KiB | 00m00s [ 52/310] rust-num-traits+std-devel-0:0 100% | 418.6 KiB/s | 8.0 KiB | 00m00s [ 53/310] rust-image-devel-0:0.24.9-1.f 100% | 35.4 MiB/s | 8.3 MiB | 00m00s [ 54/310] rust-libc-devel-0:0.2.155-1.f 100% | 3.7 MiB/s | 429.2 KiB | 00m00s [ 55/310] rust-num-traits-devel-0:0.2.1 100% | 923.9 KiB/s | 58.2 KiB | 00m00s [ 56/310] rust-thiserror-devel-0:1.0.61 100% | 1.3 MiB/s | 54.7 KiB | 00m00s [ 57/310] rust-bindgen0.63+which-devel- 100% | 311.7 KiB/s | 7.5 KiB | 00m00s [ 58/310] rust-cexpr+default-devel-0:0. 100% | 224.5 KiB/s | 7.6 KiB | 00m00s [ 59/310] rust-bindgen0.63+log-devel-0: 100% | 126.9 KiB/s | 7.5 KiB | 00m00s [ 60/310] rust-bitflags1+default-devel- 100% | 133.0 KiB/s | 7.5 KiB | 00m00s [ 61/310] rust-peeking_take_while+defau 100% | 275.9 KiB/s | 8.0 KiB | 00m00s [ 62/310] rust-lazycell+default-devel-0 100% | 178.5 KiB/s | 7.7 KiB | 00m00s [ 63/310] rust-rustc-hash+default-devel 100% | 214.7 KiB/s | 7.7 KiB | 00m00s [ 64/310] rust-shlex+default-devel-0:1. 100% | 202.2 KiB/s | 7.9 KiB | 00m00s [ 65/310] rust-syn1+default-devel-0:1.0 100% | 215.4 KiB/s | 7.5 KiB | 00m00s [ 66/310] rust-syn1+visit-mut-devel-0:1 100% | 184.3 KiB/s | 7.4 KiB | 00m00s [ 67/310] rust-heck0.4-devel-0:0.4.1-1. 100% | 489.4 KiB/s | 19.6 KiB | 00m00s [ 68/310] rust-syn1+quote-devel-0:1.0.1 100% | 233.9 KiB/s | 7.5 KiB | 00m00s [ 69/310] rust-indexmap1-devel-0:1.9.3- 100% | 1.4 MiB/s | 61.0 KiB | 00m00s [ 70/310] rust-hex+alloc-devel-0:0.4.3- 100% | 191.5 KiB/s | 7.7 KiB | 00m00s [ 71/310] rust-toml0.5-devel-0:0.5.11-3 100% | 1.3 MiB/s | 55.1 KiB | 00m00s [ 72/310] rust-unicode-ident+default-de 100% | 161.6 KiB/s | 8.7 KiB | 00m00s [ 73/310] rust-gif+default-devel-0:0.13 100% | 226.1 KiB/s | 7.9 KiB | 00m00s [ 74/310] rust-jpeg-decoder+rayon-devel 100% | 237.5 KiB/s | 8.1 KiB | 00m00s [ 75/310] rust-png+default-devel-0:0.17 100% | 209.2 KiB/s | 8.4 KiB | 00m00s [ 76/310] rust-qoi+default-devel-0:0.4. 100% | 165.8 KiB/s | 7.3 KiB | 00m00s [ 77/310] rust-jpeg-decoder-devel-0:0.3 100% | 7.2 MiB/s | 718.4 KiB | 00m00s [ 78/310] rust-tiff+default-devel-0:0.9 100% | 350.9 KiB/s | 8.1 KiB | 00m00s [ 79/310] rust-bytemuck+default-devel-0 100% | 222.6 KiB/s | 8.7 KiB | 00m00s [ 80/310] rust-bytemuck+extern_crate_al 100% | 323.2 KiB/s | 8.7 KiB | 00m00s [ 81/310] rust-byteorder+default-devel- 100% | 218.3 KiB/s | 7.9 KiB | 00m00s [ 82/310] rust-rustfft+default-devel-0: 100% | 335.5 KiB/s | 7.7 KiB | 00m00s [ 83/310] rust-digest+std-devel-0:0.10. 100% | 264.8 KiB/s | 8.2 KiB | 00m00s [ 84/310] rust-color_quant+default-deve 100% | 154.4 KiB/s | 7.7 KiB | 00m00s [ 85/310] rust-digest+default-devel-0:0 100% | 269.0 KiB/s | 8.1 KiB | 00m00s [ 86/310] rust-cfg-if+default-devel-0:1 100% | 143.8 KiB/s | 7.8 KiB | 00m00s [ 87/310] rust-cpufeatures+default-deve 100% | 165.0 KiB/s | 8.7 KiB | 00m00s [ 88/310] rust-strength_reduce+default- 100% | 226.7 KiB/s | 7.7 KiB | 00m00s [ 89/310] rust-num-integer-devel-0:0.1. 100% | 679.1 KiB/s | 29.9 KiB | 00m00s [ 90/310] rust-thiserror-impl+default-d 100% | 353.0 KiB/s | 9.5 KiB | 00m00s [ 91/310] rust-which4-devel-0:4.4.2-2.f 100% | 477.5 KiB/s | 23.4 KiB | 00m00s [ 92/310] rust-cexpr-devel-0:0.6.0-9.fc 100% | 556.1 KiB/s | 26.7 KiB | 00m00s [ 93/310] rust-bitflags1-devel-0:1.3.2- 100% | 676.5 KiB/s | 39.9 KiB | 00m00s [ 94/310] rust-lazycell-devel-0:1.3.0-1 100% | 750.9 KiB/s | 20.3 KiB | 00m00s [ 95/310] rust-peeking_take_while-devel 100% | 384.0 KiB/s | 15.0 KiB | 00m00s [ 96/310] rust-rustc-hash+std-devel-0:1 100% | 196.8 KiB/s | 7.7 KiB | 00m00s [ 97/310] rust-rustc-hash-devel-0:1.1.0 100% | 423.2 KiB/s | 17.4 KiB | 00m00s [ 98/310] rust-shlex+std-devel-0:1.3.0- 100% | 186.8 KiB/s | 7.8 KiB | 00m00s [ 99/310] rust-shlex-devel-0:1.3.0-2.fc 100% | 726.2 KiB/s | 26.1 KiB | 00m00s [100/310] rust-syn1+derive-devel-0:1.0. 100% | 210.3 KiB/s | 7.4 KiB | 00m00s [101/310] rust-syn1+proc-macro-devel-0: 100% | 170.7 KiB/s | 7.7 KiB | 00m00s [102/310] rust-hashbrown0.12-devel-0:0. 100% | 2.9 MiB/s | 95.7 KiB | 00m00s [103/310] rust-hashbrown0.12+raw-devel- 100% | 128.1 KiB/s | 7.4 KiB | 00m00s [104/310] rust-gif+color_quant-devel-0: 100% | 307.1 KiB/s | 8.0 KiB | 00m00s [105/310] rust-unicode-ident-devel-0:1. 100% | 1.3 MiB/s | 49.7 KiB | 00m00s [106/310] rust-gif+raii_no_panic-devel- 100% | 223.8 KiB/s | 7.8 KiB | 00m00s [107/310] rust-gif+std-devel-0:0.13.1-1 100% | 169.4 KiB/s | 7.8 KiB | 00m00s [108/310] rust-png-devel-0:0.17.13-1.fc 100% | 3.4 MiB/s | 92.6 KiB | 00m00s [109/310] rust-gif-devel-0:0.13.1-1.fc4 100% | 839.4 KiB/s | 36.9 KiB | 00m00s [110/310] rust-qoi+std-devel-0:0.4.1-2. 100% | 207.2 KiB/s | 7.3 KiB | 00m00s [111/310] rust-qoi-devel-0:0.4.1-2.fc40 100% | 1.4 MiB/s | 64.8 KiB | 00m00s [112/310] rust-bytemuck-devel-0:1.14.1- 100% | 1.2 MiB/s | 57.8 KiB | 00m00s [113/310] rust-byteorder+std-devel-0:1. 100% | 156.3 KiB/s | 7.8 KiB | 00m00s [114/310] rust-tiff-devel-0:0.9.1-2.fc4 100% | 12.2 MiB/s | 1.4 MiB | 00m00s [115/310] rust-byteorder-devel-0:1.5.0- 100% | 770.6 KiB/s | 27.0 KiB | 00m00s [116/310] rust-color_quant-devel-0:1.1. 100% | 300.3 KiB/s | 14.4 KiB | 00m00s [117/310] rust-rustfft+avx-devel-0:6.2. 100% | 190.1 KiB/s | 7.6 KiB | 00m00s [118/310] rust-rustfft+neon-devel-0:6.2 100% | 165.3 KiB/s | 7.6 KiB | 00m00s [119/310] rust-rustfft-devel-0:6.2.0-1. 100% | 6.8 MiB/s | 203.1 KiB | 00m00s [120/310] rust-rustfft+sse-devel-0:6.2. 100% | 190.1 KiB/s | 7.6 KiB | 00m00s [121/310] rust-crypto-common+std-devel- 100% | 180.7 KiB/s | 7.8 KiB | 00m00s [122/310] rust-digest+alloc-devel-0:0.1 100% | 167.2 KiB/s | 8.0 KiB | 00m00s [123/310] rust-digest-devel-0:0.10.7-3. 100% | 671.0 KiB/s | 32.9 KiB | 00m00s [124/310] rust-cpufeatures-devel-0:0.2. 100% | 837.4 KiB/s | 22.6 KiB | 00m00s [125/310] rust-cfg-if-devel-0:1.0.0-11. 100% | 294.1 KiB/s | 15.6 KiB | 00m00s [126/310] rust-digest+core-api-devel-0: 100% | 269.4 KiB/s | 8.1 KiB | 00m00s [127/310] rust-home+default-devel-0:0.5 100% | 270.1 KiB/s | 7.8 KiB | 00m00s [128/310] rust-strength_reduce-devel-0: 100% | 672.8 KiB/s | 25.6 KiB | 00m00s [129/310] rust-thiserror-impl-devel-0:1 100% | 562.6 KiB/s | 25.9 KiB | 00m00s [130/310] rust-nom-devel-0:7.1.3-3.fc40 100% | 2.6 MiB/s | 112.4 KiB | 00m00s [131/310] rust-fdeflate+default-devel-0 100% | 198.6 KiB/s | 7.5 KiB | 00m00s [132/310] rust-nom+std-devel-0:7.1.3-3. 100% | 150.6 KiB/s | 8.0 KiB | 00m00s [133/310] rust-num-complex+default-deve 100% | 171.0 KiB/s | 8.0 KiB | 00m00s [134/310] rust-num-integer+default-deve 100% | 188.5 KiB/s | 7.9 KiB | 00m00s [135/310] rust-crypto-common-devel-0:0. 100% | 658.1 KiB/s | 17.1 KiB | 00m00s [136/310] rust-crypto-common+default-de 100% | 222.5 KiB/s | 7.8 KiB | 00m00s [137/310] rust-num-traits+i128-devel-0: 100% | 318.5 KiB/s | 8.0 KiB | 00m00s [138/310] rust-digest+block-buffer-deve 100% | 222.2 KiB/s | 8.2 KiB | 00m00s [139/310] rust-version_check+default-de 100% | 71.2 KiB/s | 7.8 KiB | 00m00s [140/310] rust-nom+alloc-devel-0:7.1.3- 100% | 214.8 KiB/s | 7.7 KiB | 00m00s [141/310] rust-minimal-lexical+std-deve 100% | 167.6 KiB/s | 7.7 KiB | 00m00s [142/310] rust-home-devel-0:0.5.9-2.fc4 100% | 319.0 KiB/s | 16.9 KiB | 00m00s [143/310] rust-minimal-lexical-devel-0: 100% | 2.9 MiB/s | 100.2 KiB | 00m00s [144/310] rust-num-complex-devel-0:0.4. 100% | 1.4 MiB/s | 35.7 KiB | 00m00s [145/310] rust-num-complex+std-devel-0: 100% | 162.7 KiB/s | 8.1 KiB | 00m00s [146/310] rust-version_check-devel-0:0. 100% | 582.1 KiB/s | 22.1 KiB | 00m00s [147/310] rust-generic-array+default-de 100% | 341.9 KiB/s | 7.9 KiB | 00m00s [148/310] rust-fdeflate-devel-0:0.3.4-1 100% | 186.4 KiB/s | 30.2 KiB | 00m00s [149/310] rust-generic-array+more_lengt 100% | 160.8 KiB/s | 7.9 KiB | 00m00s [150/310] rust-num-integer+std-devel-0: 100% | 65.2 KiB/s | 8.0 KiB | 00m00s [151/310] rust-typenum+default-devel-0: 100% | 242.5 KiB/s | 8.0 KiB | 00m00s [152/310] rust-block-buffer+default-dev 100% | 273.3 KiB/s | 7.9 KiB | 00m00s [153/310] rust-simd-adler32+default-dev 100% | 165.9 KiB/s | 7.6 KiB | 00m00s [154/310] rust-typenum-devel-0:1.17.0-2 100% | 1.6 MiB/s | 51.2 KiB | 00m00s [155/310] rust-generic-array-devel-0:0. 100% | 606.1 KiB/s | 24.2 KiB | 00m00s [156/310] rust-block-buffer-devel-0:0.1 100% | 709.9 KiB/s | 19.2 KiB | 00m00s [157/310] rust-simd-adler32+const-gener 100% | 176.1 KiB/s | 7.6 KiB | 00m00s [158/310] rust-simd-adler32+std-devel-0 100% | 179.2 KiB/s | 7.5 KiB | 00m00s [159/310] rust-simd-adler32-devel-0:0.3 100% | 596.1 KiB/s | 18.5 KiB | 00m00s [160/310] rust-either+default-devel-0:1 100% | 194.1 KiB/s | 8.3 KiB | 00m00s [161/310] rust-either-devel-0:1.12.0-1. 100% | 745.1 KiB/s | 26.1 KiB | 00m00s [162/310] rust-rustix+fs-devel-0:0.38.3 100% | 380.1 KiB/s | 9.9 KiB | 00m00s [163/310] rust-either+use_std-devel-0:1 100% | 107.9 KiB/s | 8.3 KiB | 00m00s [164/310] rust-bitflags-devel-0:2.5.0-1 100% | 1.9 MiB/s | 59.7 KiB | 00m00s [165/310] rust-rustix-devel-0:0.38.34-1 100% | 5.2 MiB/s | 355.9 KiB | 00m00s [166/310] rust-errno-devel-0:0.3.8-2.fc 100% | 446.5 KiB/s | 19.2 KiB | 00m00s [167/310] rust-linux-raw-sys0.4+elf-dev 100% | 210.9 KiB/s | 7.4 KiB | 00m00s [168/310] rust-linux-raw-sys0.4+general 100% | 184.9 KiB/s | 7.4 KiB | 00m00s [169/310] rust-linux-raw-sys0.4+errno-d 100% | 125.2 KiB/s | 7.4 KiB | 00m00s [170/310] rust-linux-raw-sys0.4+ioctl-d 100% | 171.8 KiB/s | 7.4 KiB | 00m00s [171/310] rust-linux-raw-sys0.4+no_std- 100% | 231.0 KiB/s | 7.4 KiB | 00m00s [172/310] rust-rustix+default-devel-0:0 100% | 712.4 KiB/s | 10.0 KiB | 00m00s [173/310] rust-linux-raw-sys0.4-devel-0 100% | 4.1 MiB/s | 186.4 KiB | 00m00s [174/310] rust-rustix+std-devel-0:0.38. 100% | 252.7 KiB/s | 10.4 KiB | 00m00s [175/310] rust-rustix+libc-extra-traits 100% | 406.1 KiB/s | 10.2 KiB | 00m00s [176/310] rust-rustix+alloc-devel-0:0.3 100% | 230.0 KiB/s | 9.9 KiB | 00m00s [177/310] rust-errno+std-devel-0:0.3.8- 100% | 313.8 KiB/s | 8.5 KiB | 00m00s [178/310] rust-bitflags+std-devel-0:2.5 100% | 145.8 KiB/s | 8.3 KiB | 00m00s [179/310] rust-rustix+use-libc-auxv-dev 100% | 342.2 KiB/s | 9.9 KiB | 00m00s [180/310] rust-serde+default-devel-0:1. 100% | 759.3 KiB/s | 10.6 KiB | 00m00s [181/310] rust-libc+extra_traits-devel- 100% | 392.7 KiB/s | 9.8 KiB | 00m00s [182/310] rust-serde+std-devel-0:1.0.20 100% | 557.0 KiB/s | 10.6 KiB | 00m00s [183/310] rust-serde_derive+default-dev 100% | 412.3 KiB/s | 10.7 KiB | 00m00s [184/310] rust-serde_derive-devel-0:1.0 100% | 2.2 MiB/s | 64.4 KiB | 00m00s [185/310] rust-serde+derive-devel-0:1.0 100% | 590.5 KiB/s | 10.6 KiB | 00m00s [186/310] rust-weezl+default-devel-0:0. 100% | 578.8 KiB/s | 8.1 KiB | 00m00s [187/310] rust-serde-devel-0:1.0.203-1. 100% | 1.2 MiB/s | 79.5 KiB | 00m00s [188/310] rust-serde+serde_derive-devel 100% | 414.4 KiB/s | 10.8 KiB | 00m00s [189/310] rust-fastrand+default-devel-0 100% | 431.4 KiB/s | 8.2 KiB | 00m00s [190/310] rust-fastrand-devel-0:2.1.0-1 100% | 1.1 MiB/s | 23.4 KiB | 00m00s [191/310] rust-fastrand+std-devel-0:2.1 100% | 194.9 KiB/s | 8.2 KiB | 00m00s [192/310] rust-fastrand+alloc-devel-0:2 100% | 263.1 KiB/s | 8.2 KiB | 00m00s [193/310] rust-proc-macro2+proc-macro-d 100% | 610.1 KiB/s | 11.0 KiB | 00m00s [194/310] rust-proc-macro2+default-deve 100% | 917.7 KiB/s | 11.0 KiB | 00m00s [195/310] rust-proc-macro2-devel-0:1.0. 100% | 1.3 MiB/s | 58.1 KiB | 00m00s [196/310] rust-quote+default-devel-0:1. 100% | 443.8 KiB/s | 8.9 KiB | 00m00s [197/310] rust-quote+proc-macro-devel-0 100% | 273.2 KiB/s | 9.0 KiB | 00m00s [198/310] rust-primal-check+default-dev 100% | 594.4 KiB/s | 7.7 KiB | 00m00s [199/310] rust-primal-check-devel-0:0.3 100% | 936.4 KiB/s | 16.9 KiB | 00m00s [200/310] rust-crc32fast+default-devel- 100% | 417.8 KiB/s | 7.9 KiB | 00m00s [201/310] rust-quote-devel-0:1.0.36-1.f 100% | 649.4 KiB/s | 43.5 KiB | 00m00s [202/310] rust-crc32fast+std-devel-0:1. 100% | 563.4 KiB/s | 7.9 KiB | 00m00s [203/310] rust-crc32fast-devel-0:1.4.2- 100% | 2.4 MiB/s | 44.2 KiB | 00m00s [204/310] rust-miniz_oxide+with-alloc-d 100% | 487.0 KiB/s | 8.3 KiB | 00m00s [205/310] rust-miniz_oxide+default-deve 100% | 437.3 KiB/s | 8.3 KiB | 00m00s [206/310] rust-miniz_oxide-devel-0:0.7. 100% | 2.6 MiB/s | 57.9 KiB | 00m00s [207/310] rust-adler-devel-0:1.0.2-10.f 100% | 657.0 KiB/s | 20.4 KiB | 00m00s [208/310] rust-miniz_oxide+simd-adler32 100% | 401.5 KiB/s | 8.4 KiB | 00m00s [209/310] rust-miniz_oxide+simd-devel-0 100% | 202.4 KiB/s | 8.3 KiB | 00m00s [210/310] rust-memchr+std-devel-0:2.7.4 100% | 648.8 KiB/s | 8.4 KiB | 00m00s [211/310] rust-memchr-devel-0:2.7.4-1.f 100% | 2.8 MiB/s | 91.5 KiB | 00m00s [212/310] rust-rayon-devel-0:1.10.0-1.f 100% | 9.6 MiB/s | 186.0 KiB | 00m00s [213/310] rust-memchr+alloc-devel-0:2.7 100% | 200.2 KiB/s | 8.4 KiB | 00m00s [214/310] rust-rayon+default-devel-0:1. 100% | 194.1 KiB/s | 8.3 KiB | 00m00s [215/310] rust-rayon-core+default-devel 100% | 271.9 KiB/s | 8.2 KiB | 00m00s [216/310] rust-crossbeam-deque+default- 100% | 277.6 KiB/s | 8.1 KiB | 00m00s [217/310] rust-rayon-core-devel-0:1.12. 100% | 1.5 MiB/s | 79.3 KiB | 00m00s [218/310] rust-crossbeam-deque+std-deve 100% | 257.7 KiB/s | 8.2 KiB | 00m00s [219/310] rust-crossbeam-epoch+std-deve 100% | 278.7 KiB/s | 8.9 KiB | 00m00s [220/310] rust-crossbeam-deque-devel-0: 100% | 647.4 KiB/s | 29.1 KiB | 00m00s [221/310] rust-crossbeam-epoch-devel-0: 100% | 1.6 MiB/s | 53.9 KiB | 00m00s [222/310] rust-autocfg-devel-0:1.3.0-3. 100% | 1.4 MiB/s | 25.9 KiB | 00m00s [223/310] rust-autocfg+default-devel-0: 100% | 309.4 KiB/s | 8.0 KiB | 00m00s [224/310] rust-crossbeam-utils+std-deve 100% | 609.2 KiB/s | 8.5 KiB | 00m00s [225/310] rust-crossbeam-utils-devel-0: 100% | 2.7 MiB/s | 54.8 KiB | 00m00s [226/310] rust-crossbeam-epoch+alloc-de 100% | 147.9 KiB/s | 8.7 KiB | 00m00s [227/310] rust-serde_json+default-devel 100% | 519.8 KiB/s | 9.9 KiB | 00m00s [228/310] rust-crossbeam-utils+default- 100% | 306.5 KiB/s | 8.6 KiB | 00m00s [229/310] rust-serde_json+std-devel-0:1 100% | 398.6 KiB/s | 10.0 KiB | 00m00s [230/310] rust-clang-sys+clang_6_0-deve 100% | 437.1 KiB/s | 8.3 KiB | 00m00s [231/310] rust-clang-sys+clang_5_0-deve 100% | 437.1 KiB/s | 8.3 KiB | 00m00s [232/310] rust-serde_json-devel-0:1.0.1 100% | 4.3 MiB/s | 153.1 KiB | 00m00s [233/310] rust-glob+default-devel-0:0.3 100% | 233.1 KiB/s | 7.7 KiB | 00m00s [234/310] rust-clang-sys+clang_3_9-deve 100% | 461.4 KiB/s | 8.3 KiB | 00m00s [235/310] rust-clang-sys+clang_4_0-deve 100% | 140.8 KiB/s | 8.3 KiB | 00m00s [236/310] rust-clang-sys-devel-0:1.8.1- 100% | 583.4 KiB/s | 48.4 KiB | 00m00s [237/310] rust-glob-devel-0:0.3.1-3.fc4 100% | 881.8 KiB/s | 25.6 KiB | 00m00s [238/310] rust-clang-sys+clang_3_8-deve 100% | 276.9 KiB/s | 8.3 KiB | 00m00s [239/310] rust-clang-sys+default-devel- 100% | 589.9 KiB/s | 8.3 KiB | 00m00s [240/310] rust-clang-sys+clang_3_7-deve 100% | 437.1 KiB/s | 8.3 KiB | 00m00s [241/310] rust-clang-sys+libloading-dev 100% | 600.5 KiB/s | 8.4 KiB | 00m00s [242/310] rust-clang-sys+runtime-devel- 100% | 184.4 KiB/s | 8.3 KiB | 00m00s [243/310] rust-clang-sys+clang_3_6-deve 100% | 415.3 KiB/s | 8.3 KiB | 00m00s [244/310] rust-clang-sys+clang_3_5-deve 100% | 435.1 KiB/s | 8.3 KiB | 00m00s [245/310] rust-lazy_static+default-deve 100% | 559.8 KiB/s | 7.8 KiB | 00m00s [246/310] rust-regex+std-devel-0:1.10.5 100% | 401.9 KiB/s | 9.6 KiB | 00m00s [247/310] rust-lazy_static-devel-0:1.5. 100% | 591.6 KiB/s | 21.3 KiB | 00m00s [248/310] rust-regex-devel-0:1.10.5-1.f 100% | 4.5 MiB/s | 246.1 KiB | 00m00s [249/310] rust-regex+unicode-age-devel- 100% | 471.3 KiB/s | 9.4 KiB | 00m00s [250/310] rust-regex+unicode-devel-0:1. 100% | 225.1 KiB/s | 9.7 KiB | 00m00s [251/310] rust-regex+unicode-case-devel 100% | 629.0 KiB/s | 9.4 KiB | 00m00s [252/310] rust-regex+unicode-bool-devel 100% | 449.3 KiB/s | 9.4 KiB | 00m00s [253/310] rust-regex+unicode-perl-devel 100% | 735.1 KiB/s | 9.6 KiB | 00m00s [254/310] rust-regex+unicode-script-dev 100% | 675.0 KiB/s | 9.5 KiB | 00m00s [255/310] rust-regex+unicode-gencat-dev 100% | 337.5 KiB/s | 9.5 KiB | 00m00s [256/310] rust-regex+unicode-segment-de 100% | 630.5 KiB/s | 9.5 KiB | 00m00s [257/310] rust-weezl+std-devel-0:0.1.8- 100% | 449.3 KiB/s | 8.1 KiB | 00m00s [258/310] rust-syn+default-devel-0:2.0. 100% | 598.4 KiB/s | 10.8 KiB | 00m00s [259/310] rust-syn+clone-impls-devel-0: 100% | 558.6 KiB/s | 10.6 KiB | 00m00s [260/310] rust-weezl-devel-0:0.1.8-2.fc 100% | 1.0 MiB/s | 37.7 KiB | 00m00s [261/310] rust-syn+derive-devel-0:2.0.6 100% | 756.8 KiB/s | 10.6 KiB | 00m00s [262/310] rust-syn+printing-devel-0:2.0 100% | 825.8 KiB/s | 10.7 KiB | 00m00s [263/310] rust-syn+proc-macro-devel-0:2 100% | 545.8 KiB/s | 10.9 KiB | 00m00s [264/310] rust-syn+parsing-devel-0:2.0. 100% | 407.6 KiB/s | 10.6 KiB | 00m00s [265/310] rust-itoa+default-devel-0:1.0 100% | 639.2 KiB/s | 8.3 KiB | 00m00s [266/310] rust-itoa-devel-0:1.0.11-1.fc 100% | 994.3 KiB/s | 18.9 KiB | 00m00s [267/310] rust-syn-devel-0:2.0.67-1.fc4 100% | 7.3 MiB/s | 239.0 KiB | 00m00s [268/310] rust-ryu+default-devel-0:1.0. 100% | 422.5 KiB/s | 8.5 KiB | 00m00s [269/310] rust-regex-automata+alloc-dev 100% | 601.9 KiB/s | 9.0 KiB | 00m00s [270/310] rust-ryu-devel-0:1.0.18-1.fc4 100% | 2.1 MiB/s | 56.7 KiB | 00m00s [271/310] rust-regex-automata+syntax-de 100% | 439.0 KiB/s | 9.2 KiB | 00m00s [272/310] rust-regex-automata+meta-deve 100% | 434.0 KiB/s | 9.1 KiB | 00m00s [273/310] rust-regex-automata+std-devel 100% | 239.3 KiB/s | 9.6 KiB | 00m00s [274/310] rust-regex-automata+nfa-pikev 100% | 478.9 KiB/s | 9.1 KiB | 00m00s [275/310] rust-regex-automata+unicode-s 100% | 621.2 KiB/s | 9.3 KiB | 00m00s [276/310] rust-regex-automata+unicode-w 100% | 313.5 KiB/s | 9.1 KiB | 00m00s [277/310] rust-regex-automata+unicode-s 100% | 517.4 KiB/s | 9.3 KiB | 00m00s [278/310] rust-regex-automata-devel-0:0 100% | 4.2 MiB/s | 451.0 KiB | 00m00s [279/310] rust-regex-automata+unicode-g 100% | 490.2 KiB/s | 9.3 KiB | 00m00s [280/310] rust-regex-automata+unicode-p 100% | 238.5 KiB/s | 9.3 KiB | 00m00s [281/310] rust-regex-automata+unicode-d 100% | 420.4 KiB/s | 9.7 KiB | 00m00s [282/310] rust-regex-automata+unicode-c 100% | 489.6 KiB/s | 9.3 KiB | 00m00s [283/310] rust-regex-automata+unicode-a 100% | 489.2 KiB/s | 9.3 KiB | 00m00s [284/310] rust-regex-automata+unicode-b 100% | 357.8 KiB/s | 9.3 KiB | 00m00s [285/310] rust-regex-automata+nfa-thomp 100% | 758.2 KiB/s | 9.1 KiB | 00m00s [286/310] rust-regex-syntax+unicode-seg 100% | 655.7 KiB/s | 8.5 KiB | 00m00s [287/310] rust-regex-syntax+unicode-scr 100% | 501.2 KiB/s | 8.5 KiB | 00m00s [288/310] rust-regex-syntax+unicode-per 100% | 608.0 KiB/s | 8.5 KiB | 00m00s [289/310] rust-regex-syntax-devel-0:0.8 100% | 4.2 MiB/s | 212.9 KiB | 00m00s [290/310] rust-regex-syntax+unicode-gen 100% | 266.3 KiB/s | 8.5 KiB | 00m00s [291/310] rust-regex-syntax+unicode-dev 100% | 304.2 KiB/s | 8.8 KiB | 00m00s [292/310] rust-regex-syntax+unicode-cas 100% | 472.9 KiB/s | 8.5 KiB | 00m00s [293/310] rust-regex-syntax+unicode-boo 100% | 654.8 KiB/s | 8.5 KiB | 00m00s [294/310] rust-regex-syntax+unicode-age 100% | 531.8 KiB/s | 8.5 KiB | 00m00s [295/310] rust-aho-corasick+std-devel-0 100% | 462.6 KiB/s | 8.8 KiB | 00m00s [296/310] rust-regex-syntax+std-devel-0 100% | 403.7 KiB/s | 8.5 KiB | 00m00s [297/310] rust-flate2+rust_backend-deve 100% | 444.5 KiB/s | 8.4 KiB | 00m00s [298/310] rust-aho-corasick-devel-0:1.1 100% | 3.0 MiB/s | 157.9 KiB | 00m00s [299/310] rust-flate2-devel-0:1.0.28-3. 100% | 2.0 MiB/s | 84.2 KiB | 00m00s [300/310] clang-resource-filesystem-0:1 100% | 600.4 KiB/s | 15.0 KiB | 00m00s [301/310] clang-0:18.1.6-3.fc40.s390x 100% | 2.6 MiB/s | 82.8 KiB | 00m00s [302/310] clang-devel-0:18.1.6-3.fc40.s 100% | 30.4 MiB/s | 3.6 MiB | 00m00s [303/310] clang-libs-0:18.1.6-3.fc40.s3 100% | 151.0 MiB/s | 29.6 MiB | 00m00s [304/310] rust-libloading+default-devel 100% | 370.2 KiB/s | 8.1 KiB | 00m00s [305/310] rust-libloading-devel-0:0.8.4 100% | 1.6 MiB/s | 36.0 KiB | 00m00s [306/310] rust-weezl+alloc-devel-0:0.1. 100% | 474.3 KiB/s | 8.1 KiB | 00m00s [307/310] rust-flate2+any_impl-devel-0: 100% | 522.3 KiB/s | 8.4 KiB | 00m00s [308/310] rust-flate2+miniz_oxide-devel 100% | 409.5 KiB/s | 8.6 KiB | 00m00s [309/310] llvm-0:18.1.6-2.fc40.s390x 100% | 174.9 MiB/s | 35.2 MiB | 00m00s [310/310] clang-tools-extra-0:18.1.6-3. 100% | 78.7 MiB/s | 25.0 MiB | 00m00s -------------------------------------------------------------------------------- [310/310] Total 100% | 11.9 MiB/s | 112.0 MiB | 00m09s Running transaction [ 1/312] Verify package files 100% | 592.0 B/s | 310.0 B | 00m01s [ 2/312] Prepare transaction 100% | 3.0 KiB/s | 310.0 B | 00m00s [ 3/312] Installing rust-regex-syntax- 100% | 261.6 MiB/s | 1.6 MiB | 00m00s [ 4/312] Installing rust-regex-automat 100% | 261.9 MiB/s | 2.6 MiB | 00m00s [ 5/312] Installing rust-libc-devel-0: 100% | 240.8 MiB/s | 4.1 MiB | 00m00s [ 6/312] Installing rust-memchr-devel- 100% | 140.8 MiB/s | 576.7 KiB | 00m00s [ 7/312] Installing rust-linux-raw-sys 100% | 531.5 MiB/s | 7.4 MiB | 00m00s [ 8/312] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 9/312] Installing rust-crossbeam-uti 100% | 92.2 MiB/s | 188.9 KiB | 00m00s [ 10/312] Installing rust-simd-adler32- 100% | 52.4 MiB/s | 53.6 KiB | 00m00s [ 11/312] Installing rust-jpeg-decoder- 100% | 221.3 MiB/s | 906.4 KiB | 00m00s [ 12/312] Installing rust-crossbeam-epo 100% | 92.5 MiB/s | 189.4 KiB | 00m00s [ 13/312] Installing rust-crossbeam-uti 100% | 0.0 B/s | 124.0 B | 00m00s [ 14/312] Installing rust-libc+std-deve 100% | 0.0 B/s | 124.0 B | 00m00s [ 15/312] Installing rust-errno-devel-0 100% | 30.5 MiB/s | 31.3 KiB | 00m00s [ 16/312] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 17/312] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 18/312] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 19/312] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 20/312] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 21/312] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 22/312] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 23/312] Installing rust-aho-corasick- 100% | 265.0 MiB/s | 814.0 KiB | 00m00s [ 24/312] Installing rust-weezl-devel-0 100% | 130.8 MiB/s | 133.9 KiB | 00m00s [ 25/312] Installing rust-fastrand-deve 100% | 50.9 MiB/s | 52.1 KiB | 00m00s [ 26/312] Installing rust-either-devel- 100% | 73.9 MiB/s | 75.7 KiB | 00m00s [ 27/312] Installing rust-hex-devel-0:0 100% | 39.4 MiB/s | 40.4 KiB | 00m00s [ 28/312] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 29/312] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 30/312] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 31/312] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 32/312] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 33/312] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 34/312] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 35/312] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 36/312] Installing rust-crossbeam-deq 100% | 123.1 MiB/s | 126.1 KiB | 00m00s [ 37/312] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 38/312] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 39/312] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 40/312] Installing rust-bitflags-deve 100% | 98.0 MiB/s | 200.6 KiB | 00m00s [ 41/312] Installing rust-minimal-lexic 100% | 155.9 MiB/s | 319.3 KiB | 00m00s [ 42/312] Installing rust-nom-devel-0:7 100% | 209.4 MiB/s | 643.3 KiB | 00m00s [ 43/312] Installing rust-byteorder-dev 100% | 172.2 MiB/s | 176.4 KiB | 00m00s [ 44/312] Installing rust-bytemuck-deve 100% | 190.5 MiB/s | 195.1 KiB | 00m00s [ 45/312] Installing rust-bytemuck+defa 100% | 0.0 B/s | 124.0 B | 00m00s [ 46/312] Installing rust-qoi-devel-0:0 100% | 105.9 MiB/s | 108.4 KiB | 00m00s [ 47/312] Installing rust-hashbrown0.12 100% | 284.2 MiB/s | 582.0 KiB | 00m00s [ 48/312] Installing rust-shlex-devel-0 100% | 56.3 MiB/s | 57.7 KiB | 00m00s [ 49/312] Installing rust-rustc-hash-de 100% | 24.3 MiB/s | 24.9 KiB | 00m00s [ 50/312] Installing rust-log-devel-0:0 100% | 181.0 MiB/s | 185.4 KiB | 00m00s [ 51/312] Installing rust-log+default-d 100% | 0.0 B/s | 124.0 B | 00m00s [ 52/312] Installing rust-rustc-hash+st 100% | 0.0 B/s | 124.0 B | 00m00s [ 53/312] Installing rust-rustc-hash+de 100% | 0.0 B/s | 124.0 B | 00m00s [ 54/312] Installing rust-shlex+std-dev 100% | 0.0 B/s | 124.0 B | 00m00s [ 55/312] Installing rust-shlex+default 100% | 0.0 B/s | 124.0 B | 00m00s [ 56/312] Installing rust-hashbrown0.12 100% | 0.0 B/s | 124.0 B | 00m00s [ 57/312] Installing rust-qoi+std-devel 100% | 0.0 B/s | 124.0 B | 00m00s [ 58/312] Installing rust-qoi+default-d 100% | 0.0 B/s | 124.0 B | 00m00s [ 59/312] Installing rust-bytemuck+exte 100% | 0.0 B/s | 124.0 B | 00m00s [ 60/312] Installing rust-byteorder+std 100% | 0.0 B/s | 124.0 B | 00m00s [ 61/312] Installing rust-byteorder+def 100% | 0.0 B/s | 124.0 B | 00m00s [ 62/312] Installing rust-nom+alloc-dev 100% | 0.0 B/s | 124.0 B | 00m00s [ 63/312] Installing rust-minimal-lexic 100% | 0.0 B/s | 124.0 B | 00m00s [ 64/312] Installing rust-bitflags+std- 100% | 0.0 B/s | 124.0 B | 00m00s [ 65/312] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 66/312] Installing rust-hex+alloc-dev 100% | 0.0 B/s | 124.0 B | 00m00s [ 67/312] Installing rust-hex+std-devel 100% | 0.0 B/s | 124.0 B | 00m00s [ 68/312] Installing rust-either+use_st 100% | 0.0 B/s | 124.0 B | 00m00s [ 69/312] Installing rust-either+defaul 100% | 0.0 B/s | 124.0 B | 00m00s [ 70/312] Installing rust-fastrand+allo 100% | 0.0 B/s | 124.0 B | 00m00s [ 71/312] Installing rust-fastrand+std- 100% | 0.0 B/s | 124.0 B | 00m00s [ 72/312] Installing rust-fastrand+defa 100% | 121.1 KiB/s | 124.0 B | 00m00s [ 73/312] Installing rust-weezl+alloc-d 100% | 0.0 B/s | 124.0 B | 00m00s [ 74/312] Installing rust-weezl+std-dev 100% | 0.0 B/s | 124.0 B | 00m00s [ 75/312] Installing rust-weezl+default 100% | 0.0 B/s | 124.0 B | 00m00s [ 76/312] Installing rust-gif-devel-0:0 100% | 114.4 MiB/s | 117.1 KiB | 00m00s [ 77/312] Installing rust-gif+raii_no_p 100% | 0.0 B/s | 124.0 B | 00m00s [ 78/312] Installing rust-gif+std-devel 100% | 0.0 B/s | 124.0 B | 00m00s [ 79/312] Installing rust-errno+std-dev 100% | 0.0 B/s | 124.0 B | 00m00s [ 80/312] Installing rust-libc+default- 100% | 0.0 B/s | 124.0 B | 00m00s [ 81/312] Installing rust-cpufeatures-d 100% | 41.7 MiB/s | 42.7 KiB | 00m00s [ 82/312] Installing rust-cpufeatures+d 100% | 0.0 B/s | 124.0 B | 00m00s [ 83/312] Installing rust-crossbeam-uti 100% | 0.0 B/s | 124.0 B | 00m00s [ 84/312] Installing rust-crossbeam-epo 100% | 121.1 KiB/s | 124.0 B | 00m00s [ 85/312] Installing rust-crossbeam-epo 100% | 121.1 KiB/s | 124.0 B | 00m00s [ 86/312] Installing rust-crossbeam-deq 100% | 121.1 KiB/s | 124.0 B | 00m00s [ 87/312] Installing rust-crossbeam-deq 100% | 121.1 KiB/s | 124.0 B | 00m00s [ 88/312] Installing rust-rayon-core-de 100% | 136.6 MiB/s | 279.7 KiB | 00m00s [ 89/312] Installing rust-rayon-core+de 100% | 121.1 KiB/s | 124.0 B | 00m00s [ 90/312] Installing rust-rayon-devel-0 100% | 177.7 MiB/s | 909.8 KiB | 00m00s [ 91/312] Installing rust-rayon+default 100% | 0.0 B/s | 124.0 B | 00m00s [ 92/312] Installing rust-jpeg-decoder+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 93/312] Installing rust-simd-adler32+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 94/312] Installing rust-simd-adler32+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 95/312] Installing rust-simd-adler32+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 96/312] Installing rust-fdeflate-deve 100% | 126.7 MiB/s | 129.7 KiB | 00m00s [ 97/312] Installing rust-fdeflate+defa 100% | 0.0 B/s | 124.0 B | 00m00s [ 98/312] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 99/312] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [100/312] Installing rust-regex-automat 100% | 121.1 KiB/s | 124.0 B | 00m00s [101/312] Installing rust-regex-devel-0 100% | 174.4 MiB/s | 1.4 MiB | 00m00s [102/312] Installing rust-regex+unicode 100% | 0.0 B/s | 124.0 B | 00m00s [103/312] Installing rust-regex+unicode 100% | 0.0 B/s | 124.0 B | 00m00s [104/312] Installing rust-regex+unicode 100% | 0.0 B/s | 124.0 B | 00m00s [105/312] Installing rust-regex+unicode 100% | 0.0 B/s | 124.0 B | 00m00s [106/312] Installing rust-regex+unicode 100% | 0.0 B/s | 124.0 B | 00m00s [107/312] Installing rust-regex+unicode 100% | 0.0 B/s | 124.0 B | 00m00s [108/312] Installing rust-regex+unicode 100% | 0.0 B/s | 124.0 B | 00m00s [109/312] Installing rust-regex+unicode 100% | 0.0 B/s | 124.0 B | 00m00s [110/312] Installing rust-linux-raw-sys 100% | 0.0 B/s | 124.0 B | 00m00s [111/312] Installing rust-linux-raw-sys 100% | 0.0 B/s | 124.0 B | 00m00s [112/312] Installing rust-linux-raw-sys 100% | 0.0 B/s | 124.0 B | 00m00s [113/312] Installing rust-linux-raw-sys 100% | 0.0 B/s | 124.0 B | 00m00s [114/312] Installing rust-linux-raw-sys 100% | 121.1 KiB/s | 124.0 B | 00m00s [115/312] Installing rust-rustix-devel- 100% | 151.1 MiB/s | 2.0 MiB | 00m00s [116/312] Installing rust-rustix+fs-dev 100% | 0.0 B/s | 124.0 B | 00m00s [117/312] Installing rust-rustix+alloc- 100% | 0.0 B/s | 124.0 B | 00m00s [118/312] Installing rust-rustix+use-li 100% | 0.0 B/s | 124.0 B | 00m00s [119/312] Installing rust-memchr+alloc- 100% | 0.0 B/s | 124.0 B | 00m00s [120/312] Installing rust-memchr+std-de 100% | 0.0 B/s | 124.0 B | 00m00s [121/312] Installing rust-aho-corasick+ 100% | 0.0 B/s | 124.0 B | 00m00s [122/312] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [123/312] Installing rust-regex+std-dev 100% | 0.0 B/s | 124.0 B | 00m00s [124/312] Installing rust-nom+std-devel 100% | 0.0 B/s | 124.0 B | 00m00s [125/312] Installing rust-cexpr-devel-0 100% | 64.2 MiB/s | 65.7 KiB | 00m00s [126/312] Installing rust-cexpr+default 100% | 0.0 B/s | 124.0 B | 00m00s [127/312] Installing rust-libc+extra_tr 100% | 0.0 B/s | 124.0 B | 00m00s [128/312] Installing rust-rustix+libc-e 100% | 0.0 B/s | 124.0 B | 00m00s [129/312] Installing rust-rustix+std-de 100% | 0.0 B/s | 124.0 B | 00m00s [130/312] Installing rust-rustix+defaul 100% | 0.0 B/s | 124.0 B | 00m00s [131/312] Installing clang-resource-fil 100% | 1.5 MiB/s | 1.6 KiB | 00m00s [132/312] Installing clang-libs-0:18.1. 100% | 387.3 MiB/s | 184.0 MiB | 00m00s [133/312] Installing clang-0:18.1.6-3.f 100% | 333.7 MiB/s | 683.5 KiB | 00m00s [134/312] Installing clang-tools-extra- 100% | 372.3 MiB/s | 151.2 MiB | 00m00s [135/312] Installing clang-devel-0:18.1 100% | 330.9 MiB/s | 25.5 MiB | 00m00s [136/312] Installing rust-ryu-devel-0:1 100% | 78.3 MiB/s | 160.3 KiB | 00m00s [137/312] Installing rust-ryu+default-d 100% | 0.0 B/s | 124.0 B | 00m00s [138/312] Installing rust-itoa-devel-0: 100% | 29.4 MiB/s | 30.1 KiB | 00m00s [139/312] Installing rust-itoa+default- 100% | 0.0 B/s | 124.0 B | 00m00s [140/312] Installing rust-lazy_static-d 100% | 37.3 MiB/s | 38.2 KiB | 00m00s [141/312] Installing rust-lazy_static+d 100% | 0.0 B/s | 124.0 B | 00m00s [142/312] Installing rust-glob-devel-0: 100% | 74.3 MiB/s | 76.1 KiB | 00m00s [143/312] Installing rust-glob+default- 100% | 0.0 B/s | 124.0 B | 00m00s [144/312] Installing rust-clang-sys-dev 100% | 204.8 MiB/s | 209.7 KiB | 00m00s [145/312] Installing rust-clang-sys+def 100% | 0.0 B/s | 124.0 B | 00m00s [146/312] Installing rust-clang-sys+cla 100% | 0.0 B/s | 124.0 B | 00m00s [147/312] Installing rust-clang-sys+cla 100% | 0.0 B/s | 124.0 B | 00m00s [148/312] Installing rust-clang-sys+cla 100% | 0.0 B/s | 124.0 B | 00m00s [149/312] Installing rust-clang-sys+cla 100% | 0.0 B/s | 124.0 B | 00m00s [150/312] Installing rust-clang-sys+cla 100% | 0.0 B/s | 124.0 B | 00m00s [151/312] Installing rust-clang-sys+cla 100% | 0.0 B/s | 124.0 B | 00m00s [152/312] Installing rust-clang-sys+cla 100% | 0.0 B/s | 124.0 B | 00m00s [153/312] Installing rust-clang-sys+cla 100% | 0.0 B/s | 124.0 B | 00m00s [154/312] Installing rust-autocfg-devel 100% | 54.8 MiB/s | 56.1 KiB | 00m00s [155/312] Installing rust-autocfg+defau 100% | 0.0 B/s | 124.0 B | 00m00s [156/312] Installing rust-num-traits-de 100% | 132.8 MiB/s | 272.0 KiB | 00m00s [157/312] Installing rust-num-traits+st 100% | 0.0 B/s | 124.0 B | 00m00s [158/312] Installing rust-num-traits+de 100% | 0.0 B/s | 124.0 B | 00m00s [159/312] Installing rust-num-traits+i1 100% | 0.0 B/s | 124.0 B | 00m00s [160/312] Installing rust-num-integer-d 100% | 107.0 MiB/s | 109.6 KiB | 00m00s [161/312] Installing rust-num-complex-d 100% | 134.7 MiB/s | 138.0 KiB | 00m00s [162/312] Installing rust-num-complex+s 100% | 0.0 B/s | 124.0 B | 00m00s [163/312] Installing rust-num-complex+d 100% | 0.0 B/s | 124.0 B | 00m00s [164/312] Installing rust-num-integer+s 100% | 0.0 B/s | 124.0 B | 00m00s [165/312] Installing rust-num-integer+d 100% | 0.0 B/s | 124.0 B | 00m00s [166/312] Installing rust-primal-check- 100% | 23.5 MiB/s | 24.1 KiB | 00m00s [167/312] Installing rust-primal-check+ 100% | 0.0 B/s | 124.0 B | 00m00s [168/312] Installing rust-indexmap1-dev 100% | 136.3 MiB/s | 279.0 KiB | 00m00s [169/312] Installing rust-indexmap1+def 100% | 0.0 B/s | 124.0 B | 00m00s [170/312] Installing rust-adler-devel-0 100% | 34.4 MiB/s | 35.2 KiB | 00m00s [171/312] Installing rust-miniz_oxide-d 100% | 227.5 MiB/s | 233.0 KiB | 00m00s [172/312] Installing rust-miniz_oxide+w 100% | 0.0 B/s | 124.0 B | 00m00s [173/312] Installing rust-miniz_oxide+d 100% | 0.0 B/s | 124.0 B | 00m00s [174/312] Installing rust-miniz_oxide+s 100% | 0.0 B/s | 124.0 B | 00m00s [175/312] Installing rust-miniz_oxide+s 100% | 0.0 B/s | 124.0 B | 00m00s [176/312] Installing rust-typenum-devel 100% | 207.5 MiB/s | 212.4 KiB | 00m00s [177/312] Installing rust-typenum+defau 100% | 0.0 B/s | 124.0 B | 00m00s [178/312] Installing rust-version_check 100% | 56.0 MiB/s | 57.4 KiB | 00m00s [179/312] Installing rust-version_check 100% | 0.0 B/s | 124.0 B | 00m00s [180/312] Installing rust-generic-array 100% | 66.5 MiB/s | 68.1 KiB | 00m00s [181/312] Installing rust-generic-array 100% | 0.0 B/s | 124.0 B | 00m00s [182/312] Installing rust-block-buffer- 100% | 35.0 MiB/s | 35.8 KiB | 00m00s [183/312] Installing rust-block-buffer+ 100% | 0.0 B/s | 124.0 B | 00m00s [184/312] Installing rust-generic-array 100% | 0.0 B/s | 124.0 B | 00m00s [185/312] Installing rust-crypto-common 100% | 25.9 MiB/s | 26.5 KiB | 00m00s [186/312] Installing rust-crypto-common 100% | 0.0 B/s | 124.0 B | 00m00s [187/312] Installing rust-crypto-common 100% | 0.0 B/s | 124.0 B | 00m00s [188/312] Installing rust-digest-devel- 100% | 86.2 MiB/s | 88.2 KiB | 00m00s [189/312] Installing rust-digest+alloc- 100% | 0.0 B/s | 124.0 B | 00m00s [190/312] Installing rust-digest+std-de 100% | 0.0 B/s | 124.0 B | 00m00s [191/312] Installing rust-digest+block- 100% | 0.0 B/s | 124.0 B | 00m00s [192/312] Installing rust-digest+core-a 100% | 0.0 B/s | 124.0 B | 00m00s [193/312] Installing rust-digest+defaul 100% | 0.0 B/s | 124.0 B | 00m00s [194/312] Installing rust-home-devel-0: 100% | 0.0 B/s | 26.3 KiB | 00m00s [195/312] Installing rust-home+default- 100% | 0.0 B/s | 124.0 B | 00m00s [196/312] Installing rust-which4-devel- 100% | 59.0 MiB/s | 60.4 KiB | 00m00s [197/312] Installing rust-strength_redu 100% | 78.8 MiB/s | 80.7 KiB | 00m00s [198/312] Installing rust-strength_redu 100% | 0.0 B/s | 124.0 B | 00m00s [199/312] Installing rust-transpose-dev 100% | 38.0 MiB/s | 39.0 KiB | 00m00s [200/312] Installing rust-transpose+def 100% | 0.0 B/s | 124.0 B | 00m00s [201/312] Installing rust-rustfft-devel 100% | 342.0 MiB/s | 2.7 MiB | 00m00s [202/312] Installing rust-rustfft+avx-d 100% | 0.0 B/s | 124.0 B | 00m00s [203/312] Installing rust-rustfft+neon- 100% | 0.0 B/s | 124.0 B | 00m00s [204/312] Installing rust-rustfft+sse-d 100% | 0.0 B/s | 124.0 B | 00m00s [205/312] Installing rust-rustfft+defau 100% | 0.0 B/s | 124.0 B | 00m00s [206/312] Installing rust-rustdct-devel 100% | 145.7 MiB/s | 298.4 KiB | 00m00s [207/312] Installing rust-cfg-if-devel- 100% | 20.3 MiB/s | 20.8 KiB | 00m00s [208/312] Installing rust-cfg-if+defaul 100% | 0.0 B/s | 124.0 B | 00m00s [209/312] Installing rust-sha2-devel-0: 100% | 104.7 MiB/s | 107.2 KiB | 00m00s [210/312] Installing rust-crc32fast-dev 100% | 94.7 MiB/s | 97.0 KiB | 00m00s [211/312] Installing rust-crc32fast+std 100% | 0.0 B/s | 124.0 B | 00m00s [212/312] Installing rust-crc32fast+def 100% | 0.0 B/s | 124.0 B | 00m00s [213/312] Installing rust-flate2-devel- 100% | 92.1 MiB/s | 282.9 KiB | 00m00s [214/312] Installing rust-flate2+any_im 100% | 0.0 B/s | 124.0 B | 00m00s [215/312] Installing rust-flate2+miniz_ 100% | 0.0 B/s | 124.0 B | 00m00s [216/312] Installing rust-flate2+rust_b 100% | 0.0 B/s | 124.0 B | 00m00s [217/312] Installing rust-flate2+defaul 100% | 0.0 B/s | 124.0 B | 00m00s [218/312] Installing rust-tiff-devel-0: 100% | 264.2 MiB/s | 1.6 MiB | 00m00s [219/312] Installing rust-tiff+default- 100% | 0.0 B/s | 124.0 B | 00m00s [220/312] Installing rust-sha2+std-deve 100% | 0.0 B/s | 124.0 B | 00m00s [221/312] Installing rust-tempfile-deve 100% | 72.8 MiB/s | 149.0 KiB | 00m00s [222/312] Installing rust-tempfile+defa 100% | 0.0 B/s | 124.0 B | 00m00s [223/312] Installing rust-libloading-de 100% | 110.2 MiB/s | 112.8 KiB | 00m00s [224/312] Installing rust-libloading+de 100% | 0.0 B/s | 124.0 B | 00m00s [225/312] Installing rust-clang-sys+lib 100% | 0.0 B/s | 124.0 B | 00m00s [226/312] Installing rust-clang-sys+run 100% | 0.0 B/s | 124.0 B | 00m00s [227/312] Installing rust-color_quant-d 100% | 0.0 B/s | 21.2 KiB | 00m00s [228/312] Installing rust-color_quant+d 100% | 121.1 KiB/s | 124.0 B | 00m00s [229/312] Installing rust-image-devel-0 100% | 343.5 MiB/s | 12.7 MiB | 00m00s [230/312] Installing rust-image+bmp-dev 100% | 0.0 B/s | 124.0 B | 00m00s [231/312] Installing rust-image+dxt-dev 100% | 0.0 B/s | 124.0 B | 00m00s [232/312] Installing rust-image+dds-dev 100% | 0.0 B/s | 124.0 B | 00m00s [233/312] Installing rust-image+farbfel 100% | 0.0 B/s | 124.0 B | 00m00s [234/312] Installing rust-image+hdr-dev 100% | 0.0 B/s | 124.0 B | 00m00s [235/312] Installing rust-image+jpeg-de 100% | 0.0 B/s | 124.0 B | 00m00s [236/312] Installing rust-image+jpeg_ra 100% | 0.0 B/s | 124.0 B | 00m00s [237/312] Installing rust-image+pnm-dev 100% | 0.0 B/s | 124.0 B | 00m00s [238/312] Installing rust-image+qoi-dev 100% | 0.0 B/s | 124.0 B | 00m00s [239/312] Installing rust-image+tga-dev 100% | 0.0 B/s | 124.0 B | 00m00s [240/312] Installing rust-image+tiff-de 100% | 30.3 KiB/s | 124.0 B | 00m00s [241/312] Installing rust-image+webp-de 100% | 0.0 B/s | 124.0 B | 00m00s [242/312] Installing rust-gif+color_qua 100% | 0.0 B/s | 124.0 B | 00m00s [243/312] Installing rust-gif+default-d 100% | 0.0 B/s | 124.0 B | 00m00s [244/312] Installing rust-image+gif-dev 100% | 0.0 B/s | 124.0 B | 00m00s [245/312] Installing rust-unicode-ident 100% | 147.4 MiB/s | 302.0 KiB | 00m00s [246/312] Installing rust-unicode-ident 100% | 0.0 B/s | 124.0 B | 00m00s [247/312] Installing rust-proc-macro2-d 100% | 104.0 MiB/s | 213.0 KiB | 00m00s [248/312] Installing rust-syn1-devel-0: 100% | 304.3 MiB/s | 1.8 MiB | 00m00s [249/312] Installing rust-quote-devel-0 100% | 121.9 MiB/s | 124.9 KiB | 00m00s [250/312] Installing rust-syn-devel-0:2 100% | 283.6 MiB/s | 2.0 MiB | 00m00s [251/312] Installing rust-proc-macro2+p 100% | 0.0 B/s | 124.0 B | 00m00s [252/312] Installing rust-quote+proc-ma 100% | 0.0 B/s | 124.0 B | 00m00s [253/312] Installing rust-quote+default 100% | 0.0 B/s | 124.0 B | 00m00s [254/312] Installing rust-syn+proc-macr 100% | 0.0 B/s | 124.0 B | 00m00s [255/312] Installing rust-proc-macro2+d 100% | 0.0 B/s | 124.0 B | 00m00s [256/312] Installing rust-syn+clone-imp 100% | 0.0 B/s | 124.0 B | 00m00s [257/312] Installing rust-syn+derive-de 100% | 0.0 B/s | 124.0 B | 00m00s [258/312] Installing rust-syn+parsing-d 100% | 0.0 B/s | 124.0 B | 00m00s [259/312] Installing rust-syn+printing- 100% | 0.0 B/s | 124.0 B | 00m00s [260/312] Installing rust-syn1+clone-im 100% | 0.0 B/s | 124.0 B | 00m00s [261/312] Installing rust-syn1+extra-tr 100% | 0.0 B/s | 124.0 B | 00m00s [262/312] Installing rust-syn1+full-dev 100% | 0.0 B/s | 124.0 B | 00m00s [263/312] Installing rust-syn1+parsing- 100% | 0.0 B/s | 124.0 B | 00m00s [264/312] Installing rust-serde_derive- 100% | 153.4 MiB/s | 314.1 KiB | 00m00s [265/312] Installing rust-serde_derive+ 100% | 0.0 B/s | 124.0 B | 00m00s [266/312] Installing rust-serde-devel-0 100% | 249.9 MiB/s | 511.9 KiB | 00m00s [267/312] Installing rust-serde+std-dev 100% | 0.0 B/s | 124.0 B | 00m00s [268/312] Installing rust-serde_json-de 100% | 172.2 MiB/s | 705.4 KiB | 00m00s [269/312] Installing rust-serde_json+st 100% | 0.0 B/s | 124.0 B | 00m00s [270/312] Installing rust-serde_json+de 100% | 0.0 B/s | 124.0 B | 00m00s [271/312] Installing rust-serde+default 100% | 0.0 B/s | 124.0 B | 00m00s [272/312] Installing rust-toml0.5-devel 100% | 261.2 MiB/s | 267.5 KiB | 00m00s [273/312] Installing rust-toml0.5+defau 100% | 0.0 B/s | 124.0 B | 00m00s [274/312] Installing rust-serde+serde_d 100% | 0.0 B/s | 124.0 B | 00m00s [275/312] Installing rust-serde+derive- 100% | 0.0 B/s | 124.0 B | 00m00s [276/312] Installing rust-syn+default-d 100% | 0.0 B/s | 124.0 B | 00m00s [277/312] Installing rust-thiserror-imp 100% | 67.4 MiB/s | 69.0 KiB | 00m00s [278/312] Installing rust-thiserror-imp 100% | 0.0 B/s | 124.0 B | 00m00s [279/312] Installing rust-thiserror-dev 100% | 48.2 MiB/s | 98.8 KiB | 00m00s [280/312] Installing rust-syn1+proc-mac 100% | 0.0 B/s | 124.0 B | 00m00s [281/312] Installing rust-syn1+quote-de 100% | 0.0 B/s | 124.0 B | 00m00s [282/312] Installing rust-syn1+printing 100% | 0.0 B/s | 124.0 B | 00m00s [283/312] Installing rust-syn1+visit-mu 100% | 0.0 B/s | 124.0 B | 00m00s [284/312] Installing rust-syn1+derive-d 100% | 0.0 B/s | 124.0 B | 00m00s [285/312] Installing rust-syn1+default- 100% | 0.0 B/s | 124.0 B | 00m00s [286/312] Installing rust-peeking_take_ 100% | 0.0 B/s | 19.4 KiB | 00m00s [287/312] Installing rust-peeking_take_ 100% | 0.0 B/s | 124.0 B | 00m00s [288/312] Installing rust-lazycell-deve 100% | 0.0 B/s | 46.5 KiB | 00m00s [289/312] Installing rust-lazycell+defa 100% | 0.0 B/s | 124.0 B | 00m00s [290/312] Installing rust-bitflags1-dev 100% | 48.8 MiB/s | 99.9 KiB | 00m00s [291/312] Installing rust-bitflags1+def 100% | 0.0 B/s | 124.0 B | 00m00s [292/312] Installing rust-bindgen0.63-d 100% | 225.2 MiB/s | 922.5 KiB | 00m00s [293/312] Installing rust-bindgen0.63+r 100% | 0.0 B/s | 124.0 B | 00m00s [294/312] Installing rust-bindgen0.63+l 100% | 0.0 B/s | 124.0 B | 00m00s [295/312] Installing rust-bindgen0.63+l 100% | 0.0 B/s | 124.0 B | 00m00s [296/312] Installing rust-bindgen0.63+w 100% | 0.0 B/s | 124.0 B | 00m00s [297/312] Installing rust-bindgen0.63+w 100% | 0.0 B/s | 124.0 B | 00m00s [298/312] Installing rust-png-devel-0:0 100% | 195.2 MiB/s | 399.7 KiB | 00m00s [299/312] Installing rust-png+default-d 100% | 0.0 B/s | 124.0 B | 00m00s [300/312] Installing rust-image+png-dev 100% | 0.0 B/s | 124.0 B | 00m00s [301/312] Installing rust-image+ico-dev 100% | 0.0 B/s | 124.0 B | 00m00s [302/312] Installing rust-heck0.4-devel 100% | 44.1 MiB/s | 45.2 KiB | 00m00s [303/312] Installing rust-heck0.4+defau 100% | 30.3 KiB/s | 124.0 B | 00m00s [304/312] Installing rust-cbindgen0.24- 100% | 54.2 MiB/s | 1.4 MiB | 00m00s [305/312] Installing rust-image+default 100% | 0.0 B/s | 124.0 B | 00m00s [306/312] Installing rust-bindgen0.63+d 100% | 0.0 B/s | 124.0 B | 00m00s [307/312] Installing rust-thiserror+def 100% | 0.0 B/s | 124.0 B | 00m00s [308/312] Installing rust-sha2+default- 100% | 0.0 B/s | 124.0 B | 00m00s [309/312] Installing rust-rustdct+defau 100% | 0.0 B/s | 124.0 B | 00m00s [310/312] Installing rust-hex+default-d 100% | 0.0 B/s | 124.0 B | 00m00s [311/312] Installing rust-log+std-devel 100% | 121.1 KiB/s | 124.0 B | 00m00s [312/312] Installing llvm-0:18.1.6-2.fc 100% | 237.6 MiB/s | 168.0 MiB | 00m01s >>> Running trigger-install scriptlet: glibc-common-0:2.39-15.fc40.s390x >>> Stop trigger-install scriptlet: glibc-common-0:2.39-15.fc40.s390x Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1714089600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.g33sqZ + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + cd libclamav_rust + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/clamav-1.0.6-1.fc40.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: updates 100% | 102.5 KiB/s | 6.0 KiB | 00m00s fedora 100% | 66.6 KiB/s | 4.5 KiB | 00m00s Copr repository 100% | 45.0 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "bc-1.07.1-21.fc40.s390x" is already installed. Package "bzip2-devel-1.0.8-18.fc40.s390x" is already installed. Package "cargo-1.79.0-3.fc40.s390x" is already installed. Package "check-devel-0.15.2-15.fc40.s390x" is already installed. Package "cmake-3.28.2-1.fc40.s390x" is already installed. Package "libcurl-devel-8.6.0-8.fc40.s390x" is already installed. Package "gcc-c++-14.1.1-6.fc40.s390x" is already installed. Package "gettext-devel-0.22.5-2.fc40.s390x" is already installed. Package "git-core-2.45.2-2.fc40.s390x" is already installed. Package "gmp-devel-1:6.2.1-8.fc40.s390x" is already installed. Package "gnutls-devel-3.8.5-1.fc40.s390x" is already installed. Package "graphviz-9.0.0-11.fc40.s390x" is already installed. Package "groff-1.23.0-6.fc40.s390x" is already installed. Package "json-c-devel-0.17-3.fc40.s390x" is already installed. Package "libprelude-devel-5.2.0-23.fc40.s390x" is already installed. Package "libxml2-devel-2.12.8-1.fc40.s390x" is already installed. Package "make-1:4.4.1-6.fc40.s390x" is already installed. Package "nmap-ncat-3:7.95-1.fc40.s390x" is already installed. Package "ncurses-devel-6.4-12.20240127.fc40.s390x" is already installed. Package "ocaml-5.1.1-4.fc40.s390x" is already installed. Package "openssl-devel-1:3.2.1-2.fc40.s390x" is already installed. Package "pcre2-devel-10.44-1.fc40.s390x" is already installed. Package "python3-3.12.3-2.fc40.s390x" is already installed. Package "python3-pytest-7.4.3-3.fc40.noarch" is already installed. Package "rust-1.79.0-3.fc40.s390x" is already installed. Package "cargo-rpm-macros-26.3-1.fc40.noarch" is already installed. Package "sendmail-milter-devel-8.18.1-1.fc40.s390x" is already installed. Package "systemd-255.7-1.fc40.s390x" is already installed. Package "systemd-devel-255.7-1.fc40.s390x" is already installed. Package "systemd-rpm-macros-255.7-1.fc40.noarch" is already installed. Package "tcl-1:8.6.13-2.fc40.s390x" is already installed. Package "valgrind-1:3.23.0-2.fc40.s390x" is already installed. Package "zlib-ng-compat-devel-2.1.6-5.fc40.s390x" is already installed. Nothing to do. Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1714089600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.AMoVRf + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + cd libclamav_rust + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.h7DWiu + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd clamav-1.0.6 ++ echo -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ++ sed '/-Wl,--as-needed/!s/$/ -Wl,--as-needed/' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export have_cv_ipv6=yes + have_cv_ipv6=yes + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON '-DRUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' -DAPP_CONFIG_DIRECTORY=/etc -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/clamav -DCLAMAV_USER=clamupdate -DCLAMAV_GROUP=clamupdate -DDATABASE_DIRECTORY=/var/lib/clamav -DENABLE_UNRAR=OFF -- The C compiler identification is GNU 14.1.1 -- The CXX compiler identification is GNU 14.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /usr/bin/git (found version "2.45.2") -- Rust tool `cargo` found: /usr/bin/cargo, 1.79.0 -- Rust tool `rustc` found: /usr/bin/rustc, 1.79.0 -- Rust tool `rustup` not found. -- Rust tool `rust-gdb` not found. -- Rust tool `rust-lldb` not found. -- Rust tool `rustdoc` found: /usr/bin/rustdoc, 1.79.0 -- Rust tool `rustfmt` not found. -- Rust tool `bindgen` not found. -- Rust's native static libs: -lgcc_s;-lutil;-lrt;-lpthread;-lm;-ldl;-lc -- Found Rust: /usr/bin/cargo (found version "1.79.0") -- Found Libcheck: /usr/include -- Found Python3: /usr/bin/python3.12 (found version "3.12.3") found components: Interpreter -- Valgrind found: /usr/bin/valgrind, 3.23.0 -- Found Threads: TRUE -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.2.1") -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.0") -- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.12.8") -- Found PCRE2: /usr/lib64/libpcre2-8.so -- Performing Test Iconv_IS_BUILT_IN -- Performing Test Iconv_IS_BUILT_IN - Success -- Found Iconv: /usr/lib64/libc.so -- Found JSONC: /usr/lib64/libjson-c.so -- Found CURL: /usr/lib64/libcurl.so (found version "8.6.0") -- Found CURSES: /usr/lib64/libncurses.so;/usr/lib64/libtinfo.so -- Found Milter: /usr/lib64/libmilter.so -- Found SYSTEMD: /usr/lib64/libsystemd.so (found version "255") -- systemd services install dir: /usr/lib/systemd/system -- Performing Test CXX_FLAG__std_c_14 -- Performing Test CXX_FLAG__std_c_14 - Success -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for grp.h -- Looking for grp.h - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for netdb.h -- Looking for netdb.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for poll.h -- Looking for poll.h - found -- Looking for pwd.h -- Looking for pwd.h - found -- Looking for stdbool.h -- Looking for stdbool.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for sys/cdefs.h -- Looking for sys/cdefs.h - found -- Looking for sys/dl.h -- Looking for sys/dl.h - not found -- Looking for sys/fileio.h -- Looking for sys/fileio.h - not found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for sys/queue.h -- Looking for sys/queue.h - found -- Looking for sys/select.h -- Looking for sys/select.h - found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/times.h -- Looking for sys/times.h - found -- Looking for sys/uio.h -- Looking for sys/uio.h - found -- Looking for syslog.h -- Looking for syslog.h - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for time.h -- Looking for time.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for sys/fanotify.h -- Looking for sys/fanotify.h - found -- Looking for resolv.h -- Looking for resolv.h - found -- Looking for dirent.h -- Looking for dirent.h - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for sys/inttypes.h -- Looking for sys/inttypes.h - not found -- Looking for sys/int_types.h -- Looking for sys/int_types.h - not found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of ssize_t -- Check size of ssize_t - done -- Check size of off_t -- Check size of off_t - done -- Check size of int -- Check size of int - done -- Check size of short -- Check size of short - done -- Check size of long -- Check size of long - done -- Check size of long long -- Check size of long long - done -- Performing Test HAVE_RESTRICT -- Performing Test HAVE_RESTRICT - Success -- Performing Test HAVE_ATTRIB_PACKED -- Performing Test HAVE_ATTRIB_PACKED - Success -- Performing Test HAVE_ATTRIB_ALIGNED -- Performing Test HAVE_ATTRIB_ALIGNED - Success -- Performing Test HAVE_SYSTEM_LFS_FTS -- Performing Test HAVE_SYSTEM_LFS_FTS - Success -- Looking for recvmsg -- Looking for recvmsg - found -- Looking for sendmsg -- Looking for sendmsg - found -- Performing Test HAVE_CONTROL_IN_MSGHDR -- Performing Test HAVE_CONTROL_IN_MSGHDR - Success -- Performing Test HAVE_STRUCT_TM_TM_GMTOFF -- Performing Test HAVE_STRUCT_TM_TM_GMTOFF - Success -- Check size of int * -- Check size of int * - done -- Check size of time_t -- Check size of time_t - done -- Looking for _Exit -- Looking for _Exit - found -- Looking for accept4 -- Looking for accept4 - not found -- Looking for snprintf -- Looking for snprintf - found -- Looking for stat64 -- Looking for stat64 - not found -- Looking for strcasestr -- Looking for strcasestr - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for strlcat -- Looking for strlcat - found -- Looking for strlcpy -- Looking for strlcpy - found -- Looking for strndup -- Looking for strndup - found -- Looking for strnlen -- Looking for strnlen - found -- Looking for strnstr -- Looking for strnstr - not found -- Looking for sysctlbyname -- Looking for sysctlbyname - not found -- Looking for timegm -- Looking for timegm - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for fseeko -- Looking for fseeko - found -- Looking for getaddrinfo -- Looking for getaddrinfo - found -- Looking for getpagesize -- Looking for getpagesize - found -- Looking for mkstemp -- Looking for mkstemp - not found -- Looking for poll -- Looking for poll - found -- Looking for setgroups -- Looking for setgroups - not found -- Looking for setsid -- Looking for setsid - found -- Looking for initgroups -- Looking for initgroups - found -- Performing Test C_FLAG__Wall -- Performing Test C_FLAG__Wall - Success -- Performing Test C_FLAG__Wextra -- Performing Test C_FLAG__Wextra - Success -- Performing Test C_FLAG__Wformat_security -- Performing Test C_FLAG__Wformat_security - Success -- Performing Test CXX_FLAG__Wall -- Performing Test CXX_FLAG__Wall - Success -- Performing Test CXX_FLAG__Wformat_security -- Performing Test CXX_FLAG__Wformat_security - Success -- Performing Test CXX_FLAG__Wno_comment -- Performing Test CXX_FLAG__Wno_comment - Success -- Performing Test HAVE_MMAP -- Performing Test HAVE_MMAP - Success -- Performing Test HAVE_MMAP_MAP_ANONYMOUS -- Performing Test HAVE_MMAP_MAP_ANONYMOUS - Success -- Performing Test HAVE_SYSCONF_SC_PAGESIZE -- Performing Test HAVE_SYSCONF_SC_PAGESIZE - Success -- Configuration Options Summary -- Package Version: ClamAV 1.0.6 libclamav version: 11:0:0 libfreshclam version: 2:2:0 Install prefix: /usr Install database dir: /var/lib/clamav Install config dir: /etc Host system: Linux-6.7.3-200.fc39.s390x Target system: Linux-6.7.3-200.fc39.s390x Compiler: Build type: RelWithDebInfo C compiler: /usr/bin/gcc C++ compiler: /usr/bin/g++ Rust toolchain: /usr/bin/cargo (1.79.0) CFLAGS: -O2 -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection CXXFLAGS: -O2 -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection WARNCFLAGS: -Wall -Wextra -Wformat-security -- Engine Options -- Bytecode Runtime: interpreter -- Test Dependencies -- Unit Test Framework: libcheck /usr/include /usr/lib64/libcheck.so Feature Test Framework: python3 /usr/bin/python3.12 test command pytest;-v -- libclamav Dependencies -- Compression support: bzip2 /usr/include /usr/lib64/libbz2.so zlib /usr/include /usr/lib64/libz.so XML support: libxml2 /usr/include/libxml2;/usr/include/libxml2;/usr/include /usr/lib64/libxml2.so RegEx support: libpcre2 /usr/include /usr/lib64/libpcre2-8.so Crypto support: openssl /usr/include /usr/lib64/libssl.so;/usr/lib64/libcrypto.so JSON support: json-c /usr/include/json-c /usr/lib64/libjson-c.so Threading support: -- libfreshclam Extra Dependencies -- HTTP support: curl /usr/include /usr/lib64/libcurl.so -- Application Extra Dependencies -- GUI support: ncurses /usr/include /usr/lib64/libncurses.so;/usr/lib64/libtinfo.so -- Warning: libjson-c is known to share symbol names with other JSON libraries which may result in crashes for applications that use libclamav. Consider providing a static json-c library that was compiled with: CFLAGS="-fPIC". Default build settings for json-c 0.15+ should also work. Use the `-DENABLE_JSON_SHARED=OFF` option to prefer detection of the static library, or use -DJSONC_INCLUDE_DIR and -DJSONC_LIBRARY to specify the static JSON library. Build Options: Build apps: ON Shared library: ON Static library: OFF Enable UnRAR: OFF Examples: OFF Tests: ON Build man pages: ON Build doxygen HTML: OFF Maintainer Mode: OFF Build Extras: Build milter: ON (toggle with -DENABLE_MILTER=ON/OFF) Build clamonacc: ON (toggle with -DENABLE_CLAMONACC=ON/OFF) pthread Locale support: iconv /usr/include /usr/lib64/libc.so systemd: unit directory /usr/lib/systemd/system systemd ctl support: libsystemd /usr/include /usr/lib64/libsystemd.so Milter Support: libmilter /usr/include /usr/lib64/libmilter.so -- Configuring done (10.8s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j2 --verbose Change Dir: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j2 /usr/bin/cmake -S/builddir/build/BUILD/clamav-1.0.6 -B/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/CMakeFiles /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libclammspack/CMakeFiles/clammspack.dir/build.make libclammspack/CMakeFiles/clammspack.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libclammspack /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/CMakeFiles/clammspack.dir/DependInfo.cmake "--color=" /usr/bin/gmake -f libclamav/CMakeFiles/regex.dir/build.make libclamav/CMakeFiles/regex.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/CMakeFiles/regex.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libclammspack/CMakeFiles/clammspack.dir/build.make libclammspack/CMakeFiles/clammspack.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libclamav/CMakeFiles/regex.dir/build.make libclamav/CMakeFiles/regex.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 0%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/cabc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/cabc.c.o -MF CMakeFiles/clammspack.dir/mspack/cabc.c.o.d -o CMakeFiles/clammspack.dir/mspack/cabc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/cabc.c [ 0%] Building C object libclamav/CMakeFiles/regex.dir/regex/strlcpy.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/regex.dir/regex/strlcpy.c.o -MF CMakeFiles/regex.dir/regex/strlcpy.c.o.d -o CMakeFiles/regex.dir/regex/strlcpy.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/strlcpy.c [ 0%] Building C object libclamav/CMakeFiles/regex.dir/regex/regcomp.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/regex.dir/regex/regcomp.c.o -MF CMakeFiles/regex.dir/regex/regcomp.c.o.d -o CMakeFiles/regex.dir/regex/regcomp.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c [ 1%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/cabd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/cabd.c.o -MF CMakeFiles/clammspack.dir/mspack/cabd.c.o.d -o CMakeFiles/clammspack.dir/mspack/cabd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/cabd.c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c: In function ‘cli_regcomp_real’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c:188:22: warning: comparison of integer expressions of different signedness: ‘sopno’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 188 | if (p->ssize < len) { | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c: In function ‘freeset’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c:1097:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1097 | for (i = 0; i < css; i++) | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c: In function ‘freezeset’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c:1125:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1125 | for (i = 0; i < css; i++) | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c:1128:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1128 | if (i == css) | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c: In function ‘firstch’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c:1149:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1149 | for (i = 0; i < css; i++) | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c: In function ‘nch’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c:1166:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1166 | for (i = 0; i < css; i++) | ^ [ 1%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/chmc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/chmc.c.o -MF CMakeFiles/clammspack.dir/mspack/chmc.c.o.d -o CMakeFiles/clammspack.dir/mspack/chmc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/chmc.c [ 1%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/chmd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/chmd.c.o -MF CMakeFiles/clammspack.dir/mspack/chmd.c.o.d -o CMakeFiles/clammspack.dir/mspack/chmd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/chmd.c [ 2%] Building C object libclamav/CMakeFiles/regex.dir/regex/regerror.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/regex.dir/regex/regerror.c.o -MF CMakeFiles/regex.dir/regex/regerror.c.o.d -o CMakeFiles/regex.dir/regex/regerror.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regerror.c [ 2%] Building C object libclamav/CMakeFiles/regex.dir/regex/regexec.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/regex.dir/regex/regexec.c.o -MF CMakeFiles/regex.dir/regex/regexec.c.o.d -o CMakeFiles/regex.dir/regex/regexec.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regexec.c In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regexec.c:81: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c: In function ‘smatcher’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:219:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 219 | for (i = 1; i <= m->g->nsub; i++) | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:226:44: warning: assignment to ‘const char **’ from incompatible pointer type ‘char **’ [-Wincompatible-pointer-types] 226 | m->lastpos = (char **)cli_malloc((g->nplus+1) * | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:277:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 277 | for (i = 1; i < nmatch; i++) | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:278:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 278 | if (i <= m->g->nsub) | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c: In function ‘sdissect’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:311:21: warning: variable ‘dp’ set but not used [-Wunused-but-set-variable] 311 | const char *dp; | ^~ In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regexec.c:130: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c: In function ‘lmatcher’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:219:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 219 | for (i = 1; i <= m->g->nsub; i++) | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:226:44: warning: assignment to ‘const char **’ from incompatible pointer type ‘char **’ [-Wincompatible-pointer-types] 226 | m->lastpos = (char **)cli_malloc((g->nplus+1) * | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:277:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 277 | for (i = 1; i < nmatch; i++) | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:278:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 278 | if (i <= m->g->nsub) | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c: In function ‘ldissect’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:311:21: warning: variable ‘dp’ set but not used [-Wunused-but-set-variable] 311 | const char *dp; | ^~ [ 2%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/crc32.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/crc32.c.o -MF CMakeFiles/clammspack.dir/mspack/crc32.c.o.d -o CMakeFiles/clammspack.dir/mspack/crc32.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/crc32.c [ 3%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/hlpc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/hlpc.c.o -MF CMakeFiles/clammspack.dir/mspack/hlpc.c.o.d -o CMakeFiles/clammspack.dir/mspack/hlpc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/hlpc.c [ 3%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/hlpd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/hlpd.c.o -MF CMakeFiles/clammspack.dir/mspack/hlpd.c.o.d -o CMakeFiles/clammspack.dir/mspack/hlpd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/hlpd.c [ 3%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/kwajc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/kwajc.c.o -MF CMakeFiles/clammspack.dir/mspack/kwajc.c.o.d -o CMakeFiles/clammspack.dir/mspack/kwajc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/kwajc.c [ 3%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/kwajd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/kwajd.c.o -MF CMakeFiles/clammspack.dir/mspack/kwajd.c.o.d -o CMakeFiles/clammspack.dir/mspack/kwajd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/kwajd.c [ 4%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/litc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/litc.c.o -MF CMakeFiles/clammspack.dir/mspack/litc.c.o.d -o CMakeFiles/clammspack.dir/mspack/litc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/litc.c [ 4%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/litd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/litd.c.o -MF CMakeFiles/clammspack.dir/mspack/litd.c.o.d -o CMakeFiles/clammspack.dir/mspack/litd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/litd.c [ 4%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/lzssd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/lzssd.c.o -MF CMakeFiles/clammspack.dir/mspack/lzssd.c.o.d -o CMakeFiles/clammspack.dir/mspack/lzssd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/lzssd.c [ 4%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/lzxc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/lzxc.c.o -MF CMakeFiles/clammspack.dir/mspack/lzxc.c.o.d -o CMakeFiles/clammspack.dir/mspack/lzxc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/lzxc.c [ 5%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/lzxd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/lzxd.c.o -MF CMakeFiles/clammspack.dir/mspack/lzxd.c.o.d -o CMakeFiles/clammspack.dir/mspack/lzxd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/lzxd.c [ 5%] Building C object libclamav/CMakeFiles/regex.dir/regex/regfree.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/regex.dir/regex/regfree.c.o -MF CMakeFiles/regex.dir/regex/regfree.c.o.d -o CMakeFiles/regex.dir/regex/regfree.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regfree.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 5%] Built target regex /usr/bin/gmake -f libclamav/CMakeFiles/lzma_sdk.dir/build.make libclamav/CMakeFiles/lzma_sdk.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/CMakeFiles/lzma_sdk.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libclamav/CMakeFiles/lzma_sdk.dir/build.make libclamav/CMakeFiles/lzma_sdk.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 5%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zAlloc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zAlloc.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zAlloc.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zAlloc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zAlloc.c [ 6%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zBuf.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zBuf.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zBuf.c [ 6%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf2.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf2.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zBuf2.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zBuf2.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zBuf2.c [ 6%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrc.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zCrc.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zCrc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zCrc.c [ 6%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrcOpt.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrcOpt.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zCrcOpt.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zCrcOpt.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zCrcOpt.c [ 7%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zDec.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zDec.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zDec.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zDec.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zDec.c [ 7%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/mszipc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/mszipc.c.o -MF CMakeFiles/clammspack.dir/mspack/mszipc.c.o.d -o CMakeFiles/clammspack.dir/mspack/mszipc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/mszipc.c [ 7%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/mszipd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/mszipd.c.o -MF CMakeFiles/clammspack.dir/mspack/mszipd.c.o.d -o CMakeFiles/clammspack.dir/mspack/mszipd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/mszipd.c [ 7%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zFile.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zFile.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zFile.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zFile.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zFile.c [ 7%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/oabc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/oabc.c.o -MF CMakeFiles/clammspack.dir/mspack/oabc.c.o.d -o CMakeFiles/clammspack.dir/mspack/oabc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/oabc.c [ 7%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zIn.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zIn.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zIn.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zIn.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zIn.c [ 8%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/oabd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/oabd.c.o -MF CMakeFiles/clammspack.dir/mspack/oabd.c.o.d -o CMakeFiles/clammspack.dir/mspack/oabd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/oabd.c [ 8%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/qtmd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/qtmd.c.o -MF CMakeFiles/clammspack.dir/mspack/qtmd.c.o.d -o CMakeFiles/clammspack.dir/mspack/qtmd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/qtmd.c [ 8%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/system.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/system.c.o -MF CMakeFiles/clammspack.dir/mspack/system.c.o.d -o CMakeFiles/clammspack.dir/mspack/system.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/system.c [ 8%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zStream.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zStream.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zStream.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zStream.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zStream.c [ 8%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/szddc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/szddc.c.o -MF CMakeFiles/clammspack.dir/mspack/szddc.c.o.d -o CMakeFiles/clammspack.dir/mspack/szddc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/szddc.c [ 9%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/szddd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/szddd.c.o -MF CMakeFiles/clammspack.dir/mspack/szddd.c.o.d -o CMakeFiles/clammspack.dir/mspack/szddd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/szddd.c [ 9%] Linking C shared library libclammspack.so cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/cmake -E cmake_link_script CMakeFiles/clammspack.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libclammspack.so.0 -o libclammspack.so.0.8.0 CMakeFiles/clammspack.dir/mspack/cabc.c.o CMakeFiles/clammspack.dir/mspack/cabd.c.o CMakeFiles/clammspack.dir/mspack/chmc.c.o CMakeFiles/clammspack.dir/mspack/chmd.c.o CMakeFiles/clammspack.dir/mspack/crc32.c.o CMakeFiles/clammspack.dir/mspack/hlpc.c.o CMakeFiles/clammspack.dir/mspack/hlpd.c.o CMakeFiles/clammspack.dir/mspack/kwajc.c.o CMakeFiles/clammspack.dir/mspack/kwajd.c.o CMakeFiles/clammspack.dir/mspack/litc.c.o CMakeFiles/clammspack.dir/mspack/litd.c.o CMakeFiles/clammspack.dir/mspack/lzssd.c.o CMakeFiles/clammspack.dir/mspack/lzxc.c.o CMakeFiles/clammspack.dir/mspack/lzxd.c.o CMakeFiles/clammspack.dir/mspack/mszipc.c.o CMakeFiles/clammspack.dir/mspack/mszipd.c.o CMakeFiles/clammspack.dir/mspack/oabc.c.o CMakeFiles/clammspack.dir/mspack/oabd.c.o CMakeFiles/clammspack.dir/mspack/qtmd.c.o CMakeFiles/clammspack.dir/mspack/system.c.o CMakeFiles/clammspack.dir/mspack/szddc.c.o CMakeFiles/clammspack.dir/mspack/szddd.c.o [ 10%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Bcj2.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Bcj2.c.o -MF CMakeFiles/lzma_sdk.dir/7z/Bcj2.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/Bcj2.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/Bcj2.c [ 10%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra.c.o -MF CMakeFiles/lzma_sdk.dir/7z/Bra.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/Bra.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/Bra.c [ 10%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra86.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra86.c.o -MF CMakeFiles/lzma_sdk.dir/7z/Bra86.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/Bra86.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/Bra86.c [ 10%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/BraIA64.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/BraIA64.c.o -MF CMakeFiles/lzma_sdk.dir/7z/BraIA64.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/BraIA64.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/BraIA64.c [ 11%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/CpuArch.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/CpuArch.c.o -MF CMakeFiles/lzma_sdk.dir/7z/CpuArch.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/CpuArch.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/CpuArch.c [ 11%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Delta.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Delta.c.o -MF CMakeFiles/lzma_sdk.dir/7z/Delta.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/Delta.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/Delta.c [ 11%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Lzma2Dec.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Lzma2Dec.c.o -MF CMakeFiles/lzma_sdk.dir/7z/Lzma2Dec.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/Lzma2Dec.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/Lzma2Dec.c [ 11%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/LzmaDec.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/LzmaDec.c.o -MF CMakeFiles/lzma_sdk.dir/7z/LzmaDec.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/LzmaDec.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/LzmaDec.c [ 12%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7.c.o -MF CMakeFiles/lzma_sdk.dir/7z/Ppmd7.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/Ppmd7.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/Ppmd7.c [ 12%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7Dec.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7Dec.c.o -MF CMakeFiles/lzma_sdk.dir/7z/Ppmd7Dec.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/Ppmd7Dec.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/Ppmd7Dec.c [ 12%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Xz.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Xz.c.o -MF CMakeFiles/lzma_sdk.dir/7z/Xz.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/Xz.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/Xz.c [ 12%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/XzCrc64.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/XzCrc64.c.o -MF CMakeFiles/lzma_sdk.dir/7z/XzCrc64.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/XzCrc64.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzCrc64.c [ 13%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/XzDec.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/XzDec.c.o -MF CMakeFiles/lzma_sdk.dir/7z/XzDec.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/XzDec.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c: In function ‘Lzma2State_Code’: /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:309:80: warning: implicit conversion from ‘ECoderFinishMode’ to ‘ELzmaFinishMode’ [-Wenum-conversion] 309 | SRes res = Lzma2Dec_DecodeToBuf((CLzma2Dec *)pp, dest, destLen, src, srcLen, finishMode, &status); | ^~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c: In function ‘Xz_ParseHeader’: /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:499:56: warning: comparison of integer expressions of different signedness: ‘UInt32’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 499 | if (CrcCalc(buf + XZ_SIG_SIZE, XZ_STREAM_FLAGS_SIZE) != | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c: In function ‘Xz_CheckFooter’: /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:509:21: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘UInt32’ {aka ‘unsigned int’} [-Wsign-compare] 509 | (GetUi32(buf) == CrcCalc(buf + 4, 6) && | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c: In function ‘XzBlock_Parse’: /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:525:35: warning: comparison of integer expressions of different signedness: ‘UInt32’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 525 | if (CrcCalc(header, headerSize) != GetUi32(header + headerSize)) | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:516:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 516 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:535:5: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 535 | READ_VARINT_AND_CHECK(header, pos, headerSize, &p->packSize); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:535:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 535 | READ_VARINT_AND_CHECK(header, pos, headerSize, &p->packSize); | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:516:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 516 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:516:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 516 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:541:5: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 541 | READ_VARINT_AND_CHECK(header, pos, headerSize, &p->unpackSize); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:541:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 541 | READ_VARINT_AND_CHECK(header, pos, headerSize, &p->unpackSize); | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:516:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 516 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:516:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 516 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:548:5: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 548 | READ_VARINT_AND_CHECK(header, pos, headerSize, &filter->id); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:548:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 548 | READ_VARINT_AND_CHECK(header, pos, headerSize, &filter->id); | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:516:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 516 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:516:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 516 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:549:5: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 549 | READ_VARINT_AND_CHECK(header, pos, headerSize, &size); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:549:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 549 | READ_VARINT_AND_CHECK(header, pos, headerSize, &size); | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:516:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 516 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c: In function ‘XzUnpacker_Code’: /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:848:38: warning: comparison of integer expressions of different signedness: ‘UInt32’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 848 | if (CRC_GET_DIGEST(p->crc) != GetUi32(p->buf)) | ^~ cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/cmake -E cmake_symlink_library libclammspack.so.0.8.0 libclammspack.so.0 libclammspack.so gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 13%] Built target clammspack [ 13%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/XzIn.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/XzIn.c.o -MF CMakeFiles/lzma_sdk.dir/7z/XzIn.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/XzIn.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c: In function ‘Xz_ReadIndex2’: /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:87:11: warning: comparison of integer expressions of different signedness: ‘UInt32’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 87 | if (crc != GetUi32(buf + size)) | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:27:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:92:5: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 92 | READ_VARINT_AND_CHECK(buf, pos, size, &numBlocks64); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:92:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 92 | READ_VARINT_AND_CHECK(buf, pos, size, &numBlocks64); | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:27:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:27:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:110:7: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 110 | READ_VARINT_AND_CHECK(buf, pos, size, &block->totalSize); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:110:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 110 | READ_VARINT_AND_CHECK(buf, pos, size, &block->totalSize); | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:27:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:27:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:111:7: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 111 | READ_VARINT_AND_CHECK(buf, pos, size, &block->unpackSize); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:111:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 111 | READ_VARINT_AND_CHECK(buf, pos, size, &block->unpackSize); | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:27:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:79:24: warning: variable ‘crcStartPos’ set but not used [-Wunused-but-set-variable] 79 | size_t i, numBlocks, crcStartPos, pos = 1; | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c: In function ‘Xz_ReadBackward’: /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:201:20: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘UInt32’ {aka ‘unsigned int’} [-Wsign-compare] 201 | if (GetUi32(buf) != CrcCalc(buf + 4, 6)) | ^~ /usr/bin/gmake -f libclamav/CMakeFiles/yara.dir/build.make libclamav/CMakeFiles/yara.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/CMakeFiles/yara.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libclamav/CMakeFiles/yara.dir/build.make libclamav/CMakeFiles/yara.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 13%] Building C object libclamav/CMakeFiles/yara.dir/yara_compiler.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_compiler.c.o -MF CMakeFiles/yara.dir/yara_compiler.c.o.d -o CMakeFiles/yara.dir/yara_compiler.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/yara_compiler.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 13%] Built target lzma_sdk /usr/bin/gmake -f libclamav/CMakeFiles/tomsfastmath.dir/build.make libclamav/CMakeFiles/tomsfastmath.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/CMakeFiles/tomsfastmath.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libclamav/CMakeFiles/tomsfastmath.dir/build.make libclamav/CMakeFiles/tomsfastmath.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 13%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_add.c [ 13%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add_d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add_d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add_d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add_d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_add_d.c [ 13%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_addmod.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_addmod.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_addmod.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_addmod.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_addmod.c [ 13%] Building C object libclamav/CMakeFiles/yara.dir/yara_exec.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_exec.c.o -MF CMakeFiles/yara.dir/yara_exec.c.o.d -o CMakeFiles/yara.dir/yara_exec.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/yara_exec.c [ 14%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_cmp.c [ 14%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_cmp_d.c [ 14%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_mag.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_mag.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_mag.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_mag.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_cmp_mag.c [ 14%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_sub.c [ 15%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub_d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub_d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub_d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub_d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_sub_d.c [ 15%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_submod.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_submod.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_submod.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_submod.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_submod.c [ 15%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_add.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_add.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_add.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_add.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/s_fp_add.c [ 15%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_sub.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_sub.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_sub.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_sub.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/s_fp_sub.c [ 16%] Building C object libclamav/CMakeFiles/yara.dir/yara_hash.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_hash.c.o -MF CMakeFiles/yara.dir/yara_hash.c.o.d -o CMakeFiles/yara.dir/yara_hash.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/yara_hash.c [ 17%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_radix_size.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_radix_size.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_radix_size.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_radix_size.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_radix_size.c [ 17%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_radix.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_radix.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_radix.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_radix.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_read_radix.c [ 17%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_signed_bin.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_signed_bin.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_signed_bin.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_signed_bin.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_read_signed_bin.c [ 17%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_unsigned_bin.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_unsigned_bin.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_unsigned_bin.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_unsigned_bin.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_read_unsigned_bin.c [ 17%] Building C object libclamav/CMakeFiles/yara.dir/yara_parser.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_parser.c.o -MF CMakeFiles/yara.dir/yara_parser.c.o.d -o CMakeFiles/yara.dir/yara_parser.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/yara_parser.c [ 18%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_reverse.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_reverse.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_reverse.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_reverse.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_reverse.c [ 18%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_s_rmap.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_s_rmap.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_s_rmap.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_s_rmap.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_s_rmap.c [ 18%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_signed_bin_size.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_signed_bin_size.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_signed_bin_size.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_signed_bin_size.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_signed_bin_size.c [ 18%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_signed_bin.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_signed_bin.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_signed_bin.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_signed_bin.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_to_signed_bin.c [ 19%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_unsigned_bin.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_unsigned_bin.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_unsigned_bin.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_unsigned_bin.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_to_unsigned_bin.c [ 19%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_toradix.c [ 19%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix_n.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix_n.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix_n.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix_n.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_toradix_n.c [ 19%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_unsigned_bin_size.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_unsigned_bin_size.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_unsigned_bin_size.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_unsigned_bin_size.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_unsigned_bin_size.c [ 19%] Building C object libclamav/CMakeFiles/yara.dir/yara_arena.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_arena.c.o -MF CMakeFiles/yara.dir/yara_arena.c.o.d -o CMakeFiles/yara.dir/yara_arena.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/yara_arena.c [ 20%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_cnt_lsb.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_cnt_lsb.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_cnt_lsb.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_cnt_lsb.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bit/fp_cnt_lsb.c [ 20%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_count_bits.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_count_bits.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_count_bits.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_count_bits.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bit/fp_count_bits.c [ 20%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bit/fp_div_2.c [ 20%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bit/fp_div_2d.c [ 21%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_lshd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_lshd.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_lshd.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_lshd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bit/fp_lshd.c [ 21%] Building C object libclamav/CMakeFiles/yara.dir/yara_grammar.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_grammar.c.o -MF CMakeFiles/yara.dir/yara_grammar.c.o.d -o CMakeFiles/yara.dir/yara_grammar.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/yara_grammar.c [ 21%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_mod_2d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_mod_2d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_mod_2d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_mod_2d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bit/fp_mod_2d.c [ 21%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_rshd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_rshd.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_rshd.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_rshd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bit/fp_rshd.c [ 21%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/divide/fp_div.c [ 22%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div_d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div_d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div_d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div_d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/divide/fp_div_d.c [ 22%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/divide/fp_mod.c [ 22%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod_d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod_d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod_d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod_d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/divide/fp_mod_d.c [ 22%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_2expt.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_2expt.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_2expt.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_2expt.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/exptmod/fp_2expt.c [ 23%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_exptmod.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_exptmod.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_exptmod.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_exptmod.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/exptmod/fp_exptmod.c [ 23%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_ident.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_ident.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_ident.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_ident.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/misc/fp_ident.c [ 23%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_set.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_set.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_set.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_set.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/misc/fp_set.c [ 24%] Building C object libclamav/CMakeFiles/yara.dir/yara_lexer.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_lexer.c.o -MF CMakeFiles/yara.dir/yara_lexer.c.o.d -o CMakeFiles/yara.dir/yara_lexer.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/yara_lexer.c [ 24%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_calc_normalization.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_calc_normalization.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_calc_normalization.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_calc_normalization.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mont/fp_montgomery_calc_normalization.c [ 25%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_reduce.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_reduce.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_reduce.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_reduce.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mont/fp_montgomery_reduce.c yara_lexer.c:2571:24: warning: ‘yy_fatal_error’ defined but not used [-Wunused-function] [ 25%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_setup.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_setup.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_setup.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_setup.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mont/fp_montgomery_setup.c [ 25%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul.c [ 25%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba.c [ 26%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_2.c [ 26%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_2d.c yara_lexer.l: In function ‘yara_yylex’: yara_lexer.l:263:16: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] In file included from /usr/include/stdio.h:980, from yara_lexer.c:32: In function ‘snprintf’, inlined from ‘yara_yylex’ at yara_lexer.l:262:7: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 26 and 1049 bytes into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [ 26%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_12.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_12.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_12.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_12.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_12.c [ 26%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_17.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_17.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_17.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_17.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_17.c [ 27%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_20.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_20.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_20.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_20.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_20.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 27%] Built target yara [ 27%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_24.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_24.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_24.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_24.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_24.c /usr/bin/gmake -f libclamav/CMakeFiles/bytecode_runtime.dir/build.make libclamav/CMakeFiles/bytecode_runtime.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/CMakeFiles/bytecode_runtime.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libclamav/CMakeFiles/bytecode_runtime.dir/build.make libclamav/CMakeFiles/bytecode_runtime.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 27%] Building C object libclamav/CMakeFiles/bytecode_runtime.dir/bytecode_nojit.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/bytecode_runtime.dir/bytecode_nojit.c.o -MF CMakeFiles/bytecode_runtime.dir/bytecode_nojit.c.o.d -o CMakeFiles/bytecode_runtime.dir/bytecode_nojit.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_nojit.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 27%] Built target bytecode_runtime [ 27%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_28.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_28.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_28.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_28.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_28.c /usr/bin/gmake -f libclamav_rust/CMakeFiles/clamav_rust_target.dir/build.make libclamav_rust/CMakeFiles/clamav_rust_target.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libclamav_rust /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav_rust /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav_rust/CMakeFiles/clamav_rust_target.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libclamav_rust/CMakeFiles/clamav_rust_target.dir/build.make libclamav_rust/CMakeFiles/clamav_rust_target.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 27%] Building clamav_rust in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build with: /usr/bin/cargo build --target s390x-unknown-linux-gnu --release --target-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build cd /builddir/build/BUILD/clamav-1.0.6/libclamav_rust && /usr/bin/cmake -E env CARGO_CMD=build CARGO_TARGET_DIR=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build MAINTAINER_MODE=OFF RUSTFLAGS=-Copt-level=3\ -Cdebuginfo=2\ -Ccodegen-units=1\ -Cstrip=none\ -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes\ --cap-lints=warn\ -g /usr/bin/cargo build --target s390x-unknown-linux-gnu --release --target-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build Locking 87 packages to latest compatible versions Adding bitflags v1.3.2 (latest: v2.5.0) Adding syn v1.0.109 (latest: v2.0.67) Compiling autocfg v1.3.0 Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=37b704481396d0a5 -C extra-filename=-37b704481396d0a5 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling libc v0.2.155 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/libc-0.2.155/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' -C metadata=a5af9f1b5320383c -C extra-filename=-a5af9f1b5320383c --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/libc-a5af9f1b5320383c -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling proc-macro2 v1.0.86 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.86/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=7451af0d69098963 -C extra-filename=-7451af0d69098963 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/proc-macro2-7451af0d69098963 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/proc-macro2-7451af0d69098963/build-script-build` Compiling unicode-ident v1.0.12 Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=58ceb0b5c0ea63be -C extra-filename=-58ceb0b5c0ea63be --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.86/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=26ca5aa78330f946 -C extra-filename=-26ca5aa78330f946 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern unicode_ident=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libunicode_ident-58ceb0b5c0ea63be.rmeta --cap-lints allow --cfg wrap_proc_macro` Compiling quote v1.0.36 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.36/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=790b962319fdfbbe -C extra-filename=-790b962319fdfbbe --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libproc_macro2-26ca5aa78330f946.rmeta --cap-lints allow` Compiling rustix v0.38.34 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/rustix-0.38.34/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="libc-extra-traits"' --cfg 'feature="std"' --cfg 'feature="use-libc-auxv"' -C metadata=4597c8ae9810d066 -C extra-filename=-4597c8ae9810d066 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/rustix-4597c8ae9810d066 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling version_check v0.9.4 Running `/usr/bin/rustc --crate-name version_check --edition=2015 /usr/share/cargo/registry/version_check-0.9.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=1bc049f44da02534 -C extra-filename=-1bc049f44da02534 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/libc-a5af9f1b5320383c/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2015 /usr/share/cargo/registry/libc-0.2.155/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' -C metadata=b780eef8bfebaf51 -C extra-filename=-b780eef8bfebaf51 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Compiling syn v2.0.67 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.67/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' -C metadata=86e7e928c9bdfdf1 -C extra-filename=-86e7e928c9bdfdf1 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libproc_macro2-26ca5aa78330f946.rmeta --extern quote=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libquote-790b962319fdfbbe.rmeta --extern unicode_ident=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libunicode_ident-58ceb0b5c0ea63be.rmeta --cap-lints allow` [ 27%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_3.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_3.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_3.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_3.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_3.c [ 28%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_32.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_32.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_32.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_32.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_32.c Compiling num-traits v0.2.19 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/num-traits-0.2.19/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="i128"' --cfg 'feature="std"' -C metadata=542758422a5eda28 -C extra-filename=-542758422a5eda28 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/num-traits-542758422a5eda28 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern autocfg=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libautocfg-37b704481396d0a5.rlib --cap-lints allow` Compiling crossbeam-utils v0.8.20 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/crossbeam-utils-0.8.20/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --warn=unexpected_cfgs -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=b283304a787aafb0 -C extra-filename=-b283304a787aafb0 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/crossbeam-utils-b283304a787aafb0 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/crossbeam-utils-b283304a787aafb0/build-script-build` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/num-traits-542758422a5eda28/build-script-build` Running `/usr/bin/rustc --crate-name num_traits --edition=2021 /usr/share/cargo/registry/num-traits-0.2.19/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="i128"' --cfg 'feature="std"' -C metadata=d5ba35c61957bf4d -C extra-filename=-d5ba35c61957bf4d --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g --cfg has_total_cmp` Running `/usr/bin/rustc --crate-name crossbeam_utils --edition=2021 /usr/share/cargo/registry/crossbeam-utils-0.8.20/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --warn=unexpected_cfgs --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=91a8bcb4c0eaf0e0 -C extra-filename=-91a8bcb4c0eaf0e0 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling errno v0.3.8 Running `/usr/bin/rustc --crate-name errno --edition=2018 /usr/share/cargo/registry/errno-0.3.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' -C metadata=32e0e15c65bf28a1 -C extra-filename=-32e0e15c65bf28a1 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern libc=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/liblibc-b780eef8bfebaf51.rmeta --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/rustix-4597c8ae9810d066/build-script-build` Compiling typenum v1.17.0 Running `/usr/bin/rustc --crate-name build_script_main --edition=2018 /usr/share/cargo/registry/typenum-1.17.0/build/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=9fea4ab32e61204a -C extra-filename=-9fea4ab32e61204a --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/typenum-9fea4ab32e61204a -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling cfg-if v1.0.0 Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=aecf9b6d58658a13 -C extra-filename=-aecf9b6d58658a13 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling linux-raw-sys v0.4.12 Running `/usr/bin/rustc --crate-name linux_raw_sys --edition=2021 /usr/share/cargo/registry/linux-raw-sys-0.4.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="elf"' --cfg 'feature="errno"' --cfg 'feature="general"' --cfg 'feature="ioctl"' --cfg 'feature="no_std"' -C metadata=d9364c9d93db4d75 -C extra-filename=-d9364c9d93db4d75 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling glob v0.3.1 Running `/usr/bin/rustc --crate-name glob --edition=2015 /usr/share/cargo/registry/glob-0.3.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=56a13e48aef0daf0 -C extra-filename=-56a13e48aef0daf0 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling bitflags v2.5.0 Running `/usr/bin/rustc --crate-name bitflags --edition=2021 /usr/share/cargo/registry/bitflags-2.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' -C metadata=fe7f6c6754c817cb -C extra-filename=-fe7f6c6754c817cb --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling serde v1.0.203 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/serde-1.0.203/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' -C metadata=4a64eace74cd85e4 -C extra-filename=-4a64eace74cd85e4 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/serde-4a64eace74cd85e4 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=c750978271ad21cc -C extra-filename=-c750978271ad21cc --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/serde-4a64eace74cd85e4/build-script-build` Running `/usr/bin/rustc --crate-name rustix --edition=2021 /usr/share/cargo/registry/rustix-0.38.34/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="libc-extra-traits"' --cfg 'feature="std"' --cfg 'feature="use-libc-auxv"' -C metadata=924095cbf94501c0 -C extra-filename=-924095cbf94501c0 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern bitflags=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libbitflags-fe7f6c6754c817cb.rmeta --extern libc_errno=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/liberrno-32e0e15c65bf28a1.rmeta --extern libc=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/liblibc-b780eef8bfebaf51.rmeta --extern linux_raw_sys=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/liblinux_raw_sys-d9364c9d93db4d75.rmeta --cap-lints allow --cfg static_assertions --cfg libc --cfg linux_like --cfg linux_kernel` Compiling clang-sys v1.8.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/clang-sys-1.8.1/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clang_3_5"' --cfg 'feature="clang_3_6"' --cfg 'feature="clang_3_7"' --cfg 'feature="clang_3_8"' --cfg 'feature="clang_3_9"' --cfg 'feature="clang_4_0"' --cfg 'feature="clang_5_0"' --cfg 'feature="clang_6_0"' --cfg 'feature="libloading"' --cfg 'feature="runtime"' -C metadata=d15d7c39324668aa -C extra-filename=-d15d7c39324668aa --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/clang-sys-d15d7c39324668aa -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern glob=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libglob-56a13e48aef0daf0.rlib --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/typenum-9fea4ab32e61204a/build-script-main` Compiling crossbeam-epoch v0.9.18 Running `/usr/bin/rustc --crate-name crossbeam_epoch --edition=2021 /usr/share/cargo/registry/crossbeam-epoch-0.9.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=0d39c0a3276ff9da -C extra-filename=-0d39c0a3276ff9da --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern crossbeam_utils=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libcrossbeam_utils-91a8bcb4c0eaf0e0.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling serde_derive v1.0.203 Running `/usr/bin/rustc --crate-name serde_derive --edition=2015 /usr/share/cargo/registry/serde_derive-1.0.203/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=017515ec2914c855 -C extra-filename=-017515ec2914c855 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libproc_macro2-26ca5aa78330f946.rlib --extern quote=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libquote-790b962319fdfbbe.rlib --extern syn=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libsyn-86e7e928c9bdfdf1.rlib --extern proc_macro --cap-lints allow` [ 28%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_4.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_4.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_4.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_4.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_4.c [ 28%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_48.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_48.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_48.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_48.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_48.c Compiling generic-array v0.14.7 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/generic-array-0.14.7/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="more_lengths"' -C metadata=f0174ff517b566d1 -C extra-filename=-f0174ff517b566d1 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/generic-array-f0174ff517b566d1 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern version_check=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libversion_check-1bc049f44da02534.rlib --cap-lints allow` Compiling syn v1.0.109 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/syn-1.0.109/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit-mut"' -C metadata=235cd9df7009dbd3 -C extra-filename=-235cd9df7009dbd3 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/syn-235cd9df7009dbd3 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling rayon-core v1.12.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/rayon-core-1.12.1/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=646fd187d101a5c7 -C extra-filename=-646fd187d101a5c7 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/rayon-core-646fd187d101a5c7 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling simd-adler32 v0.3.7 Running `/usr/bin/rustc --crate-name simd_adler32 --edition=2018 /usr/share/cargo/registry/simd-adler32-0.3.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="const-generics"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=3649b4cd96e1d480 -C extra-filename=-3649b4cd96e1d480 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/rayon-core-646fd187d101a5c7/build-script-build` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/syn-235cd9df7009dbd3/build-script-build` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/generic-array-f0174ff517b566d1/build-script-build` Running `/usr/bin/rustc --crate-name serde --edition=2018 /usr/share/cargo/registry/serde-1.0.203/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' -C metadata=cd2857af1041e00b -C extra-filename=-cd2857af1041e00b --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern serde_derive=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libserde_derive-017515ec2914c855.so --cap-lints allow` Compiling crossbeam-deque v0.8.5 Running `/usr/bin/rustc --crate-name crossbeam_deque --edition=2021 /usr/share/cargo/registry/crossbeam-deque-0.8.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=445de434ed42ef2b -C extra-filename=-445de434ed42ef2b --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern crossbeam_epoch=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libcrossbeam_epoch-0d39c0a3276ff9da.rmeta --extern crossbeam_utils=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libcrossbeam_utils-91a8bcb4c0eaf0e0.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name typenum --edition=2018 /usr/share/cargo/registry/typenum-1.17.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=97c42bb1a3b6c20c -C extra-filename=-97c42bb1a3b6c20c --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/clang-sys-d15d7c39324668aa/build-script-build` Compiling indexmap v1.9.3 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/indexmap-1.9.3/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=cee5e422d2e013a9 -C extra-filename=-cee5e422d2e013a9 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/indexmap-cee5e422d2e013a9 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern autocfg=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libautocfg-37b704481396d0a5.rlib --cap-lints allow` Compiling regex-syntax v0.8.4 Running `/usr/bin/rustc --crate-name regex_syntax --edition=2021 /usr/share/cargo/registry/regex-syntax-0.8.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=9e21dd256315c86c -C extra-filename=-9e21dd256315c86c --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling adler v1.0.2 Running `/usr/bin/rustc --crate-name adler --edition=2015 /usr/share/cargo/registry/adler-1.0.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=9ba88dd96abb26ed -C extra-filename=-9ba88dd96abb26ed --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling minimal-lexical v0.2.1 Running `/usr/bin/rustc --crate-name minimal_lexical --edition=2018 /usr/share/cargo/registry/minimal-lexical-0.2.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' -C metadata=634656712618d71b -C extra-filename=-634656712618d71b --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling serde_json v1.0.117 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/serde_json-1.0.117/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=86f666beacf25b28 -C extra-filename=-86f666beacf25b28 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/serde_json-86f666beacf25b28 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling memchr v2.7.4 Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=72224f4818d6e473 -C extra-filename=-72224f4818d6e473 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling nom v7.1.3 Running `/usr/bin/rustc --crate-name nom --edition=2018 /usr/share/cargo/registry/nom-7.1.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=b65aff3de0a170cb -C extra-filename=-b65aff3de0a170cb --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern memchr=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libmemchr-72224f4818d6e473.rmeta --extern minimal_lexical=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libminimal_lexical-634656712618d71b.rmeta --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/serde_json-86f666beacf25b28/build-script-build` Compiling miniz_oxide v0.7.3 Running `/usr/bin/rustc --crate-name miniz_oxide --edition=2018 /usr/share/cargo/registry/miniz_oxide-0.7.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="simd"' --cfg 'feature="simd-adler32"' --cfg 'feature="with-alloc"' -C metadata=c5641bd2553e7231 -C extra-filename=-c5641bd2553e7231 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern adler=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libadler-9ba88dd96abb26ed.rmeta --extern simd_adler32=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libsimd_adler32-3649b4cd96e1d480.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling regex-automata v0.4.7 Running `/usr/bin/rustc --crate-name regex_automata --edition=2021 /usr/share/cargo/registry/regex-automata-0.4.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="meta"' --cfg 'feature="nfa-pikevm"' --cfg 'feature="nfa-thompson"' --cfg 'feature="std"' --cfg 'feature="syntax"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --cfg 'feature="unicode-word-boundary"' -C metadata=ee7b232eb666cb18 -C extra-filename=-ee7b232eb666cb18 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern regex_syntax=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libregex_syntax-9e21dd256315c86c.rmeta --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/indexmap-cee5e422d2e013a9/build-script-build` Running `/usr/bin/rustc --crate-name generic_array --edition=2015 /usr/share/cargo/registry/generic-array-0.14.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="more_lengths"' -C metadata=e981560210d86f6e -C extra-filename=-e981560210d86f6e --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern typenum=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libtypenum-97c42bb1a3b6c20c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g --cfg relaxed_coherence` Running `/usr/bin/rustc --crate-name rayon_core --edition=2021 /usr/share/cargo/registry/rayon-core-1.12.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=4803752ff07172b1 -C extra-filename=-4803752ff07172b1 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern crossbeam_deque=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libcrossbeam_deque-445de434ed42ef2b.rmeta --extern crossbeam_utils=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libcrossbeam_utils-91a8bcb4c0eaf0e0.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` [ 28%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_6.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_6.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_6.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_6.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_6.c [ 29%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_64.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_64.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_64.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_64.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_64.c Running `/usr/bin/rustc --crate-name syn --edition=2018 /usr/share/cargo/registry/syn-1.0.109/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit-mut"' -C metadata=39e0b477ec14b9e3 -C extra-filename=-39e0b477ec14b9e3 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libproc_macro2-26ca5aa78330f946.rmeta --extern quote=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libquote-790b962319fdfbbe.rmeta --extern unicode_ident=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libunicode_ident-58ceb0b5c0ea63be.rmeta --cap-lints allow --cfg syn_disable_nightly_tests` Compiling crc32fast v1.4.2 Running `/usr/bin/rustc --crate-name crc32fast --edition=2015 /usr/share/cargo/registry/crc32fast-1.4.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=2649746060402e48 -C extra-filename=-2649746060402e48 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libcfg_if-c750978271ad21cc.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling libloading v0.8.4 Running `/usr/bin/rustc --crate-name libloading --edition=2015 /usr/share/cargo/registry/libloading-0.8.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --warn=unexpected_cfgs -C debug-assertions=off -C metadata=b69a60322a6f4b95 -C extra-filename=-b69a60322a6f4b95 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libcfg_if-aecf9b6d58658a13.rmeta --cap-lints allow` Compiling num-integer v0.1.46 Running `/usr/bin/rustc --crate-name num_integer --edition=2018 /usr/share/cargo/registry/num-integer-0.1.46/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=a0ae6d36c956f9df -C extra-filename=-a0ae6d36c956f9df --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern num_traits=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libnum_traits-d5ba35c61957bf4d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/libc-a5af9f1b5320383c/build-script-build` Compiling log v0.4.21 Running `/usr/bin/rustc --crate-name log --edition=2021 /usr/share/cargo/registry/log-0.4.21/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' -C metadata=eaf66d502062edeb -C extra-filename=-eaf66d502062edeb --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling itoa v1.0.11 Running `/usr/bin/rustc --crate-name itoa --edition=2018 /usr/share/cargo/registry/itoa-1.0.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=8feb27980f298abe -C extra-filename=-8feb27980f298abe --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling either v1.12.0 Running `/usr/bin/rustc --crate-name either --edition=2018 /usr/share/cargo/registry/either-1.12.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=bc59322b4d2e57b2 -C extra-filename=-bc59322b4d2e57b2 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling fastrand v2.1.0 Running `/usr/bin/rustc --crate-name fastrand --edition=2018 /usr/share/cargo/registry/fastrand-2.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=6852c741095c0b85 -C extra-filename=-6852c741095c0b85 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling bindgen v0.63.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/bindgen-0.63.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="runtime"' --cfg 'feature="which"' --cfg 'feature="which-rustfmt"' -C metadata=9604ea4ab6c80811 -C extra-filename=-9604ea4ab6c80811 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/bindgen-9604ea4ab6c80811 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling ryu v1.0.18 Running `/usr/bin/rustc --crate-name ryu --edition=2018 /usr/share/cargo/registry/ryu-1.0.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=f3aae307738df34d -C extra-filename=-f3aae307738df34d --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling cbindgen v0.24.5 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/cbindgen-0.24.5/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=9f2dc56e6537d1da -C extra-filename=-9f2dc56e6537d1da --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/cbindgen-9f2dc56e6537d1da -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name either --edition=2018 /usr/share/cargo/registry/either-1.12.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=46bad167e53746bb -C extra-filename=-46bad167e53746bb --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling home v0.5.9 Running `/usr/bin/rustc --crate-name home --edition=2021 /usr/share/cargo/registry/home-0.5.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no '--allow=clippy::all' '--warn=clippy::self_named_module_files' --warn=rust_2018_idioms '--allow=rustdoc::private_intra_doc_links' '--warn=clippy::print_stdout' '--warn=clippy::print_stderr' '--warn=clippy::disallowed_methods' '--warn=clippy::dbg_macro' -C debug-assertions=off -C metadata=f38f70e253a9a652 -C extra-filename=-f38f70e253a9a652 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling hashbrown v0.12.3 Running `/usr/bin/rustc --crate-name hashbrown --edition=2021 /usr/share/cargo/registry/hashbrown-0.12.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="raw"' -C metadata=acc8943da92040df -C extra-filename=-acc8943da92040df --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name indexmap --edition=2021 /usr/share/cargo/registry/indexmap-1.9.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=34a9b97188041700 -C extra-filename=-34a9b97188041700 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern hashbrown=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libhashbrown-acc8943da92040df.rmeta --cap-lints allow --cfg has_std` Compiling which v4.4.2 Running `/usr/bin/rustc --crate-name which --edition=2021 /usr/share/cargo/registry/which-4.4.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=6a1fbb23b399192d -C extra-filename=-6a1fbb23b399192d --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern either=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libeither-bc59322b4d2e57b2.rmeta --extern home=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libhome-f38f70e253a9a652.rmeta --extern rustix=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/librustix-924095cbf94501c0.rmeta --cap-lints allow` Compiling rayon v1.10.0 Running `/usr/bin/rustc --crate-name rayon --edition=2021 /usr/share/cargo/registry/rayon-1.10.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=8e3bed7792f4bcb4 -C extra-filename=-8e3bed7792f4bcb4 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern either=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libeither-46bad167e53746bb.rmeta --extern rayon_core=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/librayon_core-4803752ff07172b1.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/cbindgen-9f2dc56e6537d1da/build-script-build` Running `/usr/bin/rustc --crate-name serde_json --edition=2021 /usr/share/cargo/registry/serde_json-1.0.117/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=53eb3a391d0385c4 -C extra-filename=-53eb3a391d0385c4 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern itoa=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libitoa-8feb27980f298abe.rmeta --extern ryu=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libryu-f3aae307738df34d.rmeta --extern serde=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libserde-cd2857af1041e00b.rmeta --cap-lints allow --cfg limb_width_32` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/bindgen-9604ea4ab6c80811/build-script-build` Compiling tempfile v3.10.1 Running `/usr/bin/rustc --crate-name tempfile --edition=2021 /usr/share/cargo/registry/tempfile-3.10.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=5f0d67d6916dc489 -C extra-filename=-5f0d67d6916dc489 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libcfg_if-aecf9b6d58658a13.rmeta --extern fastrand=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libfastrand-6852c741095c0b85.rmeta --extern rustix=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/librustix-924095cbf94501c0.rmeta --cap-lints allow` Running `/usr/bin/rustc --crate-name libc --edition=2015 /usr/share/cargo/registry/libc-0.2.155/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' -C metadata=8a738f45a16940c7 -C extra-filename=-8a738f45a16940c7 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Running `/usr/bin/rustc --crate-name clang_sys --edition=2021 /usr/share/cargo/registry/clang-sys-1.8.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clang_3_5"' --cfg 'feature="clang_3_6"' --cfg 'feature="clang_3_7"' --cfg 'feature="clang_3_8"' --cfg 'feature="clang_3_9"' --cfg 'feature="clang_4_0"' --cfg 'feature="clang_5_0"' --cfg 'feature="clang_6_0"' --cfg 'feature="libloading"' --cfg 'feature="runtime"' -C metadata=c2ef05953e9b9f98 -C extra-filename=-c2ef05953e9b9f98 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern glob=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libglob-56a13e48aef0daf0.rmeta --extern libc=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/liblibc-b780eef8bfebaf51.rmeta --extern libloading=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/liblibloading-b69a60322a6f4b95.rmeta --cap-lints allow` Compiling flate2 v1.0.28 Running `/usr/bin/rustc --crate-name flate2 --edition=2018 /usr/share/cargo/registry/flate2-1.0.28/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="any_impl"' --cfg 'feature="default"' --cfg 'feature="miniz_oxide"' --cfg 'feature="rust_backend"' -C metadata=77c29206effd807c -C extra-filename=-77c29206effd807c --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern crc32fast=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libcrc32fast-2649746060402e48.rmeta --extern miniz_oxide=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libminiz_oxide-c5641bd2553e7231.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling regex v1.10.5 Running `/usr/bin/rustc --crate-name regex --edition=2021 /usr/share/cargo/registry/regex-1.10.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=67b5fd0a479f1a15 -C extra-filename=-67b5fd0a479f1a15 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern regex_automata=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libregex_automata-ee7b232eb666cb18.rmeta --extern regex_syntax=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libregex_syntax-9e21dd256315c86c.rmeta --cap-lints allow` Compiling cexpr v0.6.0 Running `/usr/bin/rustc --crate-name cexpr --edition=2018 /usr/share/cargo/registry/cexpr-0.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=85fb9930197a9eed -C extra-filename=-85fb9930197a9eed --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern nom=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libnom-b65aff3de0a170cb.rmeta --cap-lints allow` Compiling toml v0.5.11 Running `/usr/bin/rustc --crate-name toml --edition=2018 /usr/share/cargo/registry/toml-0.5.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=a1efb0ba36fd906b -C extra-filename=-a1efb0ba36fd906b --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern serde=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libserde-cd2857af1041e00b.rmeta --cap-lints allow` Compiling rustfft v6.2.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/rustfft-6.2.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="avx"' --cfg 'feature="default"' --cfg 'feature="neon"' --cfg 'feature="sse"' -C metadata=0288787c70631224 -C extra-filename=-0288787c70631224 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/rustfft-0288787c70631224 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern version_check=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libversion_check-1bc049f44da02534.rlib --cap-lints allow` Compiling lazy_static v1.5.0 Running `/usr/bin/rustc --crate-name lazy_static --edition=2015 /usr/share/cargo/registry/lazy_static-1.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=1bbe00be54884020 -C extra-filename=-1bbe00be54884020 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling rustc-hash v1.1.0 Running `/usr/bin/rustc --crate-name rustc_hash --edition=2015 /usr/share/cargo/registry/rustc-hash-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=5e288c0012bfc3b2 -C extra-filename=-5e288c0012bfc3b2 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling shlex v1.3.0 Running `/usr/bin/rustc --crate-name shlex --edition=2015 /usr/share/cargo/registry/shlex-1.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=49e0c6a99dd8473f -C extra-filename=-49e0c6a99dd8473f --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling bitflags v1.3.2 Running `/usr/bin/rustc --crate-name bitflags --edition=2018 /usr/share/cargo/registry/bitflags-1.3.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=7ebaa2a02552b070 -C extra-filename=-7ebaa2a02552b070 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling peeking_take_while v0.1.2 Running `/usr/bin/rustc --crate-name peeking_take_while --edition=2015 /usr/share/cargo/registry/peeking_take_while-0.1.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=c721cc819a24595f -C extra-filename=-c721cc819a24595f --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling lazycell v1.3.0 Running `/usr/bin/rustc --crate-name lazycell --edition=2015 /usr/share/cargo/registry/lazycell-1.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=ec2c20663248123d -C extra-filename=-ec2c20663248123d --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling heck v0.4.1 Running `/usr/bin/rustc --crate-name heck --edition=2018 /usr/share/cargo/registry/heck-0.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=42e7922427164529 -C extra-filename=-42e7922427164529 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling weezl v0.1.8 Running `/usr/bin/rustc --crate-name weezl --edition=2018 /usr/share/cargo/registry/weezl-0.1.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=8f3c24c99dc392fd -C extra-filename=-8f3c24c99dc392fd --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling strength_reduce v0.2.4 Running `/usr/bin/rustc --crate-name strength_reduce --edition=2015 /usr/share/cargo/registry/strength_reduce-0.2.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=e2d45658eed1eebe -C extra-filename=-e2d45658eed1eebe --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling transpose v0.2.3 Running `/usr/bin/rustc --crate-name transpose --edition=2015 /usr/share/cargo/registry/transpose-0.2.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=ff8371fcc6b32ce8 -C extra-filename=-ff8371fcc6b32ce8 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern num_integer=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libnum_integer-a0ae6d36c956f9df.rmeta --extern strength_reduce=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libstrength_reduce-e2d45658eed1eebe.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name cbindgen --edition=2018 /usr/share/cargo/registry/cbindgen-0.24.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=657dc11df52f6e91 -C extra-filename=-657dc11df52f6e91 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern heck=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libheck-42e7922427164529.rmeta --extern indexmap=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libindexmap-34a9b97188041700.rmeta --extern log=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/liblog-eaf66d502062edeb.rmeta --extern proc_macro2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libproc_macro2-26ca5aa78330f946.rmeta --extern quote=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libquote-790b962319fdfbbe.rmeta --extern serde=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libserde-cd2857af1041e00b.rmeta --extern serde_json=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libserde_json-53eb3a391d0385c4.rmeta --extern syn=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libsyn-39e0b477ec14b9e3.rmeta --extern tempfile=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libtempfile-5f0d67d6916dc489.rmeta --extern toml=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libtoml-a1efb0ba36fd906b.rmeta --cap-lints allow` Running `/usr/bin/rustc --crate-name bindgen --edition=2018 /usr/share/cargo/registry/bindgen-0.63.0/./lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="runtime"' --cfg 'feature="which"' --cfg 'feature="which-rustfmt"' -C metadata=d5e411e215a7a004 -C extra-filename=-d5e411e215a7a004 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern bitflags=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libbitflags-7ebaa2a02552b070.rmeta --extern cexpr=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libcexpr-85fb9930197a9eed.rmeta --extern clang_sys=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libclang_sys-c2ef05953e9b9f98.rmeta --extern lazy_static=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/liblazy_static-1bbe00be54884020.rmeta --extern lazycell=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/liblazycell-ec2c20663248123d.rmeta --extern log=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/liblog-eaf66d502062edeb.rmeta --extern peeking_take_while=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libpeeking_take_while-c721cc819a24595f.rmeta --extern proc_macro2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libproc_macro2-26ca5aa78330f946.rmeta --extern quote=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libquote-790b962319fdfbbe.rmeta --extern regex=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libregex-67b5fd0a479f1a15.rmeta --extern rustc_hash=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/librustc_hash-5e288c0012bfc3b2.rmeta --extern shlex=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libshlex-49e0c6a99dd8473f.rmeta --extern syn=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libsyn-39e0b477ec14b9e3.rmeta --extern which=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libwhich-6a1fbb23b399192d.rmeta --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/rustfft-0288787c70631224/build-script-build` Running `/usr/bin/rustc --crate-name errno --edition=2018 /usr/share/cargo/registry/errno-0.3.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' -C metadata=0855a5bed602e0fc -C extra-filename=-0855a5bed602e0fc --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern libc=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/liblibc-8a738f45a16940c7.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling jpeg-decoder v0.3.1 Running `/usr/bin/rustc --crate-name jpeg_decoder --edition=2021 /usr/share/cargo/registry/jpeg-decoder-0.3.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="rayon"' -C metadata=b16352dfffea805d -C extra-filename=-b16352dfffea805d --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern rayon=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/librayon-8e3bed7792f4bcb4.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling primal-check v0.3.4 Running `/usr/bin/rustc --crate-name primal_check --edition=2018 /usr/share/cargo/registry/primal-check-0.3.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=20eaca05d091fa46 -C extra-filename=-20eaca05d091fa46 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern num_integer=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libnum_integer-a0ae6d36c956f9df.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling crypto-common v0.1.6 Running `/usr/bin/rustc --crate-name crypto_common --edition=2018 /usr/share/cargo/registry/crypto-common-0.1.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' -C metadata=a34ba05a6b122ae9 -C extra-filename=-a34ba05a6b122ae9 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern generic_array=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libgeneric_array-e981560210d86f6e.rmeta --extern typenum=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libtypenum-97c42bb1a3b6c20c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling block-buffer v0.10.4 Running `/usr/bin/rustc --crate-name block_buffer --edition=2018 /usr/share/cargo/registry/block-buffer-0.10.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=27f9b498bbc27102 -C extra-filename=-27f9b498bbc27102 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern generic_array=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libgeneric_array-e981560210d86f6e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling fdeflate v0.3.4 Running `/usr/bin/rustc --crate-name fdeflate --edition=2021 /usr/share/cargo/registry/fdeflate-0.3.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=4a7c19540737fb48 -C extra-filename=-4a7c19540737fb48 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern simd_adler32=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libsimd_adler32-3649b4cd96e1d480.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling num-complex v0.4.5 Running `/usr/bin/rustc --crate-name num_complex --edition=2018 /usr/share/cargo/registry/num-complex-0.4.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=77269dd633d18848 -C extra-filename=-77269dd633d18848 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern num_traits=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libnum_traits-d5ba35c61957bf4d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` [ 29%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_7.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_7.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_7.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_7.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_7.c Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/rustix-4597c8ae9810d066/build-script-build` Compiling thiserror v1.0.61 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/thiserror-1.0.61/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=367d0a762870427b -C extra-filename=-367d0a762870427b --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/thiserror-367d0a762870427b -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` [ 29%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_8.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_8.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_8.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_8.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_8.c [ 29%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_9.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_9.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_9.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_9.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_9.c [ 30%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_small_set.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_small_set.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_small_set.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_small_set.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_small_set.c Running `/usr/bin/rustc --crate-name bitflags --edition=2018 /usr/share/cargo/registry/bitflags-1.3.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' -C metadata=80366b8ea5176851 -C extra-filename=-80366b8ea5176851 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling color_quant v1.1.0 Running `/usr/bin/rustc --crate-name color_quant --edition=2015 /usr/share/cargo/registry/color_quant-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=8f740a98c36efdaf -C extra-filename=-8f740a98c36efdaf --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name linux_raw_sys --edition=2021 /usr/share/cargo/registry/linux-raw-sys-0.4.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="elf"' --cfg 'feature="errno"' --cfg 'feature="general"' --cfg 'feature="ioctl"' --cfg 'feature="no_std"' -C metadata=15fd2b05121230f6 -C extra-filename=-15fd2b05121230f6 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name bitflags --edition=2021 /usr/share/cargo/registry/bitflags-2.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' -C metadata=7f2eca3c40efe188 -C extra-filename=-7f2eca3c40efe188 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling bytemuck v1.14.1 Running `/usr/bin/rustc --crate-name bytemuck --edition=2018 /usr/share/cargo/registry/bytemuck-1.14.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="extern_crate_alloc"' -C metadata=dd7c8a50b88d316c -C extra-filename=-dd7c8a50b88d316c --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling qoi v0.4.1 Running `/usr/bin/rustc --crate-name qoi --edition=2021 /usr/share/cargo/registry/qoi-0.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=840e72e66adb0239 -C extra-filename=-840e72e66adb0239 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern bytemuck=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libbytemuck-dd7c8a50b88d316c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name rustix --edition=2021 /usr/share/cargo/registry/rustix-0.38.34/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="libc-extra-traits"' --cfg 'feature="std"' --cfg 'feature="use-libc-auxv"' -C metadata=e623a64d224f3551 -C extra-filename=-e623a64d224f3551 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern bitflags=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libbitflags-7f2eca3c40efe188.rmeta --extern libc_errno=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/liberrno-0855a5bed602e0fc.rmeta --extern libc=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/liblibc-8a738f45a16940c7.rmeta --extern linux_raw_sys=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/liblinux_raw_sys-15fd2b05121230f6.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g --cfg static_assertions --cfg libc --cfg linux_like --cfg linux_kernel` [ 30%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_d.c Compiling gif v0.13.1 Running `/usr/bin/rustc --crate-name gif --edition=2021 /usr/share/cargo/registry/gif-0.13.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="color_quant"' --cfg 'feature="default"' --cfg 'feature="raii_no_panic"' --cfg 'feature="std"' -C metadata=389bb33a4be50fd2 -C extra-filename=-389bb33a4be50fd2 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern color_quant=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libcolor_quant-8f740a98c36efdaf.rmeta --extern weezl=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libweezl-8f3c24c99dc392fd.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` [ 30%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mulmod.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mulmod.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mulmod.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mulmod.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mulmod.c [ 30%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/numtheory/fp_invmod.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/numtheory/fp_invmod.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/numtheory/fp_invmod.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/numtheory/fp_invmod.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/numtheory/fp_invmod.c [ 31%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr.c [ 31%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_12.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_12.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_12.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_12.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_12.c [ 31%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_17.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_17.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_17.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_17.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_17.c [ 31%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_20.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_20.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_20.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_20.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_20.c [ 32%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_24.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_24.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_24.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_24.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_24.c Compiling png v0.17.13 Running `/usr/bin/rustc --crate-name png --edition=2018 /usr/share/cargo/registry/png-0.17.13/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=d00a86b064d0e662 -C extra-filename=-d00a86b064d0e662 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern bitflags=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libbitflags-80366b8ea5176851.rmeta --extern crc32fast=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libcrc32fast-2649746060402e48.rmeta --extern fdeflate=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libfdeflate-4a7c19540737fb48.rmeta --extern flate2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libflate2-77c29206effd807c.rmeta --extern miniz_oxide=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libminiz_oxide-c5641bd2553e7231.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` [ 32%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_28.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_28.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_28.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_28.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_28.c Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/thiserror-367d0a762870427b/build-script-build` Running `/usr/bin/rustc --crate-name rustfft --edition=2018 /usr/share/cargo/registry/rustfft-6.2.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="avx"' --cfg 'feature="default"' --cfg 'feature="neon"' --cfg 'feature="sse"' -C metadata=57cb47577becf77c -C extra-filename=-57cb47577becf77c --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern num_complex=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libnum_complex-77269dd633d18848.rmeta --extern num_integer=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libnum_integer-a0ae6d36c956f9df.rmeta --extern num_traits=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libnum_traits-d5ba35c61957bf4d.rmeta --extern primal_check=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libprimal_check-20eaca05d091fa46.rmeta --extern strength_reduce=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libstrength_reduce-e2d45658eed1eebe.rmeta --extern transpose=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libtranspose-ff8371fcc6b32ce8.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` [ 32%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_3.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_3.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_3.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_3.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_3.c [ 32%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_32.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_32.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_32.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_32.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_32.c Compiling digest v0.10.7 Running `/usr/bin/rustc --crate-name digest --edition=2018 /usr/share/cargo/registry/digest-0.10.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="block-buffer"' --cfg 'feature="core-api"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=6bd39e9f75a7a509 -C extra-filename=-6bd39e9f75a7a509 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern block_buffer=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libblock_buffer-27f9b498bbc27102.rmeta --extern crypto_common=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libcrypto_common-a34ba05a6b122ae9.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling tiff v0.9.1 Running `/usr/bin/rustc --crate-name tiff --edition=2021 /usr/share/cargo/registry/tiff-0.9.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=bed7d167a94d6501 -C extra-filename=-bed7d167a94d6501 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern flate2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libflate2-77c29206effd807c.rmeta --extern jpeg=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libjpeg_decoder-b16352dfffea805d.rmeta --extern weezl=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libweezl-8f3c24c99dc392fd.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling clamav_rust v0.0.1 (/builddir/build/BUILD/clamav-1.0.6/libclamav_rust) Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 libclamav_rust/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=2ed01187eb0f4524 -C extra-filename=-2ed01187eb0f4524 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/clamav_rust-2ed01187eb0f4524 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern bindgen=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libbindgen-d5e411e215a7a004.rlib --extern cbindgen=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libcbindgen-657dc11df52f6e91.rlib` [ 33%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_4.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_4.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_4.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_4.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_4.c [ 33%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_48.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_48.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_48.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_48.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_48.c Compiling thiserror-impl v1.0.61 Running `/usr/bin/rustc --crate-name thiserror_impl --edition=2021 /usr/share/cargo/registry/thiserror-impl-1.0.61/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C metadata=97d428319ebb0e49 -C extra-filename=-97d428319ebb0e49 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libproc_macro2-26ca5aa78330f946.rlib --extern quote=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libquote-790b962319fdfbbe.rlib --extern syn=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libsyn-86e7e928c9bdfdf1.rlib --extern proc_macro --cap-lints allow` Running `/usr/bin/rustc --crate-name fastrand --edition=2018 /usr/share/cargo/registry/fastrand-2.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=62c6487ece9adc5d -C extra-filename=-62c6487ece9adc5d --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling byteorder v1.5.0 Running `/usr/bin/rustc --crate-name byteorder --edition=2021 /usr/share/cargo/registry/byteorder-1.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=41b5a7712baad723 -C extra-filename=-41b5a7712baad723 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling image v0.24.9 Running `/usr/bin/rustc --crate-name image --edition=2021 /usr/share/cargo/registry/image-0.24.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="bmp"' --cfg 'feature="dds"' --cfg 'feature="default"' --cfg 'feature="dxt"' --cfg 'feature="farbfeld"' --cfg 'feature="gif"' --cfg 'feature="hdr"' --cfg 'feature="ico"' --cfg 'feature="jpeg"' --cfg 'feature="jpeg_rayon"' --cfg 'feature="png"' --cfg 'feature="pnm"' --cfg 'feature="qoi"' --cfg 'feature="tga"' --cfg 'feature="tiff"' --cfg 'feature="webp"' -C metadata=128991f7f7d1de32 -C extra-filename=-128991f7f7d1de32 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern bytemuck=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libbytemuck-dd7c8a50b88d316c.rmeta --extern byteorder=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libbyteorder-41b5a7712baad723.rmeta --extern color_quant=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libcolor_quant-8f740a98c36efdaf.rmeta --extern gif=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libgif-389bb33a4be50fd2.rmeta --extern jpeg=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libjpeg_decoder-b16352dfffea805d.rmeta --extern num_traits=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libnum_traits-d5ba35c61957bf4d.rmeta --extern png=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libpng-d00a86b064d0e662.rmeta --extern qoi=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libqoi-840e72e66adb0239.rmeta --extern tiff=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libtiff-bed7d167a94d6501.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` [ 33%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_6.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_6.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_6.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_6.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_6.c [ 33%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_64.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_64.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_64.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_64.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_64.c [ 34%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_7.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_7.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_7.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_7.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_7.c [ 34%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_8.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_8.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_8.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_8.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_8.c [ 34%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_9.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_9.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_9.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_9.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_9.c [ 34%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_generic.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_generic.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_generic.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_generic.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_generic.c [ 35%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_small_set.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_small_set.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_small_set.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_small_set.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_small_set.c [ 35%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqrmod.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqrmod.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqrmod.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqrmod.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqrmod.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 35%] Built target tomsfastmath /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clamav_hdb_scanfiles.dir/build.make unit_tests/input/CMakeFiles/tgt_clamav_hdb_scanfiles.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clamav_hdb_scanfiles.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clamav_hdb_scanfiles.dir/build.make unit_tests/input/CMakeFiles/tgt_clamav_hdb_scanfiles.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 35%] Built target tgt_clamav_hdb_scanfiles Running `/usr/bin/rustc --crate-name tempfile --edition=2021 /usr/share/cargo/registry/tempfile-3.10.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=1b7244d4b8ded66d -C extra-filename=-1b7244d4b8ded66d --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libcfg_if-c750978271ad21cc.rmeta --extern fastrand=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libfastrand-62c6487ece9adc5d.rmeta --extern rustix=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/librustix-e623a64d224f3551.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name thiserror --edition=2021 /usr/share/cargo/registry/thiserror-1.0.61/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=908b598e6fd56709 -C extra-filename=-908b598e6fd56709 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern thiserror_impl=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libthiserror_impl-97d428319ebb0e49.so --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/clamav_rust-2ed01187eb0f4524/build-script-build` Compiling sha2 v0.10.8 Running `/usr/bin/rustc --crate-name sha2 --edition=2018 /usr/share/cargo/registry/sha2-0.10.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=206c9ae9514d7d98 -C extra-filename=-206c9ae9514d7d98 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libcfg_if-c750978271ad21cc.rmeta --extern digest=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libdigest-6bd39e9f75a7a509.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling rustdct v0.7.1 Running `/usr/bin/rustc --crate-name rustdct --edition=2018 /usr/share/cargo/registry/rustdct-0.7.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=97ea4d7720c19793 -C extra-filename=-97ea4d7720c19793 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern rustfft=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/librustfft-57cb47577becf77c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name log --edition=2021 /usr/share/cargo/registry/log-0.4.21/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' -C metadata=ea1d39beb929a6eb -C extra-filename=-ea1d39beb929a6eb --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling hex v0.4.3 Running `/usr/bin/rustc --crate-name hex --edition=2018 /usr/share/cargo/registry/hex-0.4.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=805520be22e2e735 -C extra-filename=-805520be22e2e735 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.cab.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.cab.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.cab.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.cab.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.cab.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 35%] Decrypting test file clam.cab... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.cab.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 35%] Built target tgt_clam.cab /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 35%] Decrypting test file clam.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 35%] Built target tgt_clam.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.zip.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.zip.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.zip.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.zip.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.zip.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 35%] Decrypting test file clam.zip... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.zip.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 35%] Built target tgt_clam.zip /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.arj.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.arj.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.arj.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.arj.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.arj.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 35%] Decrypting test file clam.arj... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.arj.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 35%] Built target tgt_clam.arj /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.rtf.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.rtf.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe.rtf.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.rtf.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.rtf.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 36%] Decrypting test file clam.exe.rtf... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 36%] Built target tgt_clam.exe.rtf /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.szdd.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.szdd.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe.szdd.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.szdd.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.szdd.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 36%] Decrypting test file clam.exe.szdd... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 36%] Built target tgt_clam.exe.szdd /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.tar.gz.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.tar.gz.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.tar.gz.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.tar.gz.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.tar.gz.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 37%] Decrypting test file clam.tar.gz... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 37%] Built target tgt_clam.tar.gz /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.chm.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.chm.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.chm.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.chm.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.chm.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 37%] Decrypting test file clam.chm... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.chm.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 37%] Built target tgt_clam.chm /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.sis.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.sis.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.sis.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.sis.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.sis.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 37%] Decrypting test file clam.sis... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.sis.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 37%] Built target tgt_clam.sis /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-aspack.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-aspack.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-aspack.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-aspack.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-aspack.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 37%] Decrypting test file clam-aspack.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 37%] Built target tgt_clam-aspack.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-pespin.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-pespin.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-pespin.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-pespin.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-pespin.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 37%] Decrypting test file clam-pespin.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 37%] Built target tgt_clam-pespin.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-upx.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-upx.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-upx.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-upx.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-upx.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 37%] Decrypting test file clam-upx.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 37%] Built target tgt_clam-upx.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-fsg.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-fsg.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-fsg.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-fsg.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-fsg.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 37%] Decrypting test file clam-fsg.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 37%] Built target tgt_clam-fsg.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-mew.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-mew.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-mew.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-mew.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-mew.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 38%] Decrypting test file clam-mew.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 38%] Built target tgt_clam-mew.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-nsis.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-nsis.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-nsis.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-nsis.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-nsis.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 38%] Decrypting test file clam-nsis.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 38%] Built target tgt_clam-nsis.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-petite.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-petite.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-petite.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-petite.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-petite.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 38%] Decrypting test file clam-petite.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 38%] Built target tgt_clam-petite.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-upack.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-upack.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-upack.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-upack.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-upack.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 39%] Decrypting test file clam-upack.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 39%] Built target tgt_clam-upack.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-wwpack.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-wwpack.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-wwpack.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-wwpack.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-wwpack.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 39%] Decrypting test file clam-wwpack.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 39%] Built target tgt_clam-wwpack.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.pdf.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.pdf.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.pdf.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.pdf.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.pdf.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 39%] Decrypting test file clam.pdf... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.pdf.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 39%] Built target tgt_clam.pdf /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.mail.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.mail.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.mail.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.mail.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.mail.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 39%] Decrypting test file clam.mail... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.mail.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 39%] Built target tgt_clam.mail /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.ppt.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.ppt.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.ppt.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.ppt.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.ppt.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 39%] Decrypting test file clam.ppt... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.ppt.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 39%] Built target tgt_clam.ppt /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.tnef.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.tnef.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.tnef.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.tnef.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.tnef.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 39%] Decrypting test file clam.tnef... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.tnef.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 39%] Built target tgt_clam.tnef /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.ea05.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.ea05.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.ea05.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.ea05.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.ea05.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Decrypting test file clam.ea05.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Built target tgt_clam.ea05.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.ea06.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.ea06.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.ea06.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.ea06.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.ea06.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Decrypting test file clam.ea06.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Built target tgt_clam.ea06.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.d64.zip.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.d64.zip.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.d64.zip.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.d64.zip.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.d64.zip.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Decrypting test file clam.d64.zip... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Built target tgt_clam.d64.zip /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.base64.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.base64.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.base64.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.base64.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.base64.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Decrypting test file clam.exe.mbox.base64... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Built target tgt_clam.exe.mbox.base64 /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.uu.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.uu.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.uu.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.uu.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.uu.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Decrypting test file clam.exe.mbox.uu... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Built target tgt_clam.exe.mbox.uu /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.binhex.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.binhex.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe.binhex.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.binhex.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.binhex.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Decrypting test file clam.exe.binhex... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Built target tgt_clam.exe.binhex /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.ole.doc.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.ole.doc.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.ole.doc.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.ole.doc.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.ole.doc.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Decrypting test file clam.ole.doc... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Built target tgt_clam.ole.doc /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.impl.zip.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.impl.zip.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.impl.zip.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.impl.zip.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.impl.zip.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Decrypting test file clam.impl.zip... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Built target tgt_clam.impl.zip /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.html.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.html.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe.html.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.html.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.html.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Decrypting test file clam.exe.html... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Built target tgt_clam.exe.html /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.bin-be.cpio.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.bin-be.cpio.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.bin-be.cpio.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.bin-be.cpio.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.bin-be.cpio.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Decrypting test file clam.bin-be.cpio... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Built target tgt_clam.bin-be.cpio /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.bin-le.cpio.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.bin-le.cpio.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.bin-le.cpio.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.bin-le.cpio.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.bin-le.cpio.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Decrypting test file clam.bin-le.cpio... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Built target tgt_clam.bin-le.cpio /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.newc.cpio.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.newc.cpio.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.newc.cpio.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.newc.cpio.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.newc.cpio.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Decrypting test file clam.newc.cpio... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Built target tgt_clam.newc.cpio /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.odc.cpio.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.odc.cpio.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.odc.cpio.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.odc.cpio.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.odc.cpio.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Decrypting test file clam.odc.cpio... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Built target tgt_clam.odc.cpio /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-yc.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-yc.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-yc.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-yc.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-yc.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Decrypting test file clam-yc.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Built target tgt_clam-yc.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_IScab_int.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_IScab_int.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam_IScab_int.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_IScab_int.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_IScab_int.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 42%] Decrypting test file clam_IScab_int.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 42%] Built target tgt_clam_IScab_int.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_IScab_ext.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_IScab_ext.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam_IScab_ext.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_IScab_ext.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_IScab_ext.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 42%] Decrypting test file clam_IScab_ext.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 42%] Built target tgt_clam_IScab_ext.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_ISmsi_int.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_ISmsi_int.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam_ISmsi_int.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_ISmsi_int.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_ISmsi_int.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 42%] Decrypting test file clam_ISmsi_int.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 42%] Built target tgt_clam_ISmsi_int.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_ISmsi_ext.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_ISmsi_ext.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam_ISmsi_ext.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_ISmsi_ext.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_ISmsi_ext.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 42%] Decrypting test file clam_ISmsi_ext.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 42%] Built target tgt_clam_ISmsi_ext.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.7z.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.7z.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.7z.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.7z.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.7z.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 43%] Decrypting test file clam.7z... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.7z.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 43%] Built target tgt_clam.7z /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_cache_emax.tgz.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_cache_emax.tgz.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam_cache_emax.tgz.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_cache_emax.tgz.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_cache_emax.tgz.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 43%] Decrypting test file clam_cache_emax.tgz... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 43%] Built target tgt_clam_cache_emax.tgz /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.iso.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.iso.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.iso.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.iso.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.iso.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 44%] Decrypting test file clam.iso... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.iso.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 44%] Built target tgt_clam.iso /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clamjol.iso.dir/build.make unit_tests/input/CMakeFiles/tgt_clamjol.iso.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clamjol.iso.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clamjol.iso.dir/build.make unit_tests/input/CMakeFiles/tgt_clamjol.iso.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 45%] Decrypting test file clamjol.iso... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 45%] Built target tgt_clamjol.iso /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.bz2.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.bz2.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe.bz2.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.bz2.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.bz2.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 46%] Decrypting test file clam.exe.bz2... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 46%] Built target tgt_clam.exe.bz2 /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.bz2.zip.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.bz2.zip.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.bz2.zip.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.bz2.zip.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.bz2.zip.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 47%] Decrypting test file clam.bz2.zip... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 47%] Built target tgt_clam.bz2.zip /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe_and_mail.tar.gz.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe_and_mail.tar.gz.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe_and_mail.tar.gz.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe_and_mail.tar.gz.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe_and_mail.tar.gz.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 47%] Decrypting test file clam.exe_and_mail.tar.gz... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 47%] Built target tgt_clam.exe_and_mail.tar.gz Running `/usr/bin/rustc --crate-name clamav_rust --edition=2018 libclamav_rust/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type staticlib --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C metadata=caf703bcc77e7a2b -C extra-filename=-caf703bcc77e7a2b --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps --target s390x-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern flate2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libflate2-77c29206effd807c.rlib --extern hex=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libhex-805520be22e2e735.rlib --extern image=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libimage-128991f7f7d1de32.rlib --extern libc=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/liblibc-8a738f45a16940c7.rlib --extern log=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/liblog-ea1d39beb929a6eb.rlib --extern num_traits=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libnum_traits-d5ba35c61957bf4d.rlib --extern rustdct=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/librustdct-97ea4d7720c19793.rlib --extern sha2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libsha2-206c9ae9514d7d98.rlib --extern tempfile=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libtempfile-1b7244d4b8ded66d.rlib --extern thiserror=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libthiserror-908b598e6fd56709.rlib --extern transpose=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/s390x-unknown-linux-gnu/release/deps/libtranspose-ff8371fcc6b32ce8.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Finished `release` profile [optimized] target(s) in 2m 34s gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 47%] Built target clamav_rust_target /usr/bin/gmake -f libclamav/CMakeFiles/clamav.dir/build.make libclamav/CMakeFiles/clamav.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/CMakeFiles/clamav.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libclamav/CMakeFiles/clamav.dir/build.make libclamav/CMakeFiles/clamav.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 47%] Building C object libclamav/CMakeFiles/clamav.dir/blob.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/blob.c.o -MF CMakeFiles/clamav.dir/blob.c.o.d -o CMakeFiles/clamav.dir/blob.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/blob.c [ 48%] Building C object libclamav/CMakeFiles/clamav.dir/conv.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/conv.c.o -MF CMakeFiles/clamav.dir/conv.c.o.d -o CMakeFiles/clamav.dir/conv.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/conv.c [ 48%] Building C object libclamav/CMakeFiles/clamav.dir/fpu.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/fpu.c.o -MF CMakeFiles/clamav.dir/fpu.c.o.d -o CMakeFiles/clamav.dir/fpu.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/fpu.c [ 48%] Building C object libclamav/CMakeFiles/clamav.dir/hashtab.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/hashtab.c.o -MF CMakeFiles/clamav.dir/hashtab.c.o.d -o CMakeFiles/clamav.dir/hashtab.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/hashtab.c [ 48%] Building C object libclamav/CMakeFiles/clamav.dir/iowrap.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/iowrap.c.o -MF CMakeFiles/clamav.dir/iowrap.c.o.d -o CMakeFiles/clamav.dir/iowrap.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/iowrap.c [ 49%] Building C object libclamav/CMakeFiles/clamav.dir/json_api.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/json_api.c.o -MF CMakeFiles/clamav.dir/json_api.c.o.d -o CMakeFiles/clamav.dir/json_api.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/json_api.c [ 49%] Building C object libclamav/CMakeFiles/clamav.dir/others_common.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/others_common.c.o -MF CMakeFiles/clamav.dir/others_common.c.o.d -o CMakeFiles/clamav.dir/others_common.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_malloc’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:224:21: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘int’ [-Wformat=] 224 | cli_warnmsg("cli_malloc(): File or section is too large to scan (%zu bytes). \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 225 | For your safety, ClamAV limits how much memory an operation can allocate to %zu bytes\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_calloc’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:245:21: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘int’ [-Wformat=] 245 | cli_warnmsg("cli_calloc2(): File or section is too large to scan (%zu bytes). \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 246 | For your safety, ClamAV limits how much memory an operation can allocate to %zu bytes\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_realloc’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:266:21: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘int’ [-Wformat=] 266 | cli_warnmsg("cli_realloc(): File or section is too large to scan (%zu bytes). \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 267 | For your safety, ClamAV limits how much memory an operation can allocate to %zu bytes\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_realloc2’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:287:21: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘int’ [-Wformat=] 287 | cli_warnmsg("cli_realloc2(): File or section is too large to scan (%zu bytes). \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | For your safety, ClamAV limits how much memory an operation can allocate to %zu bytes\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_warnmsg’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:145:5: warning: ‘strncpy’ output truncated before terminating nul copying 19 bytes from a string of the same length [-Wstringop-truncation] 145 | strncpy(buff, x, len); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_errmsg’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:145:5: warning: ‘strncpy’ output truncated before terminating nul copying 17 bytes from a string of the same length [-Wstringop-truncation] 145 | strncpy(buff, x, len); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_infomsg’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:145:5: warning: ‘strncpy’ output truncated before terminating nul copying 16 bytes from a string of the same length [-Wstringop-truncation] 145 | strncpy(buff, x, len); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_infomsg_simple’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:145:5: warning: ‘strncpy’ output truncated before terminating nul copying 16 bytes from a string of the same length [-Wstringop-truncation] 145 | strncpy(buff, x, len); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_dbgmsg’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:145:5: warning: ‘strncpy’ output truncated before terminating nul copying 17 bytes from a string of the same length [-Wstringop-truncation] 145 | strncpy(buff, x, len); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_dbgmsg_no_inline’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:145:5: warning: ‘strncpy’ output truncated before terminating nul copying 17 bytes from a string of the same length [-Wstringop-truncation] 145 | strncpy(buff, x, len); \ | ^~~~~~~ [ 49%] Building C object libclamav/CMakeFiles/clamav.dir/qsort.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/qsort.c.o -MF CMakeFiles/clamav.dir/qsort.c.o.d -o CMakeFiles/clamav.dir/qsort.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/qsort.c [ 49%] Building C object libclamav/CMakeFiles/clamav.dir/sf_base64decode.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/sf_base64decode.c.o -MF CMakeFiles/clamav.dir/sf_base64decode.c.o.d -o CMakeFiles/clamav.dir/sf_base64decode.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/sf_base64decode.c [ 50%] Building C object libclamav/CMakeFiles/clamav.dir/str.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/str.c.o -MF CMakeFiles/clamav.dir/str.c.o.d -o CMakeFiles/clamav.dir/str.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/str.c [ 50%] Building C object libclamav/CMakeFiles/clamav.dir/strlcat.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/strlcat.c.o -MF CMakeFiles/clamav.dir/strlcat.c.o.d -o CMakeFiles/clamav.dir/strlcat.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/strlcat.c [ 50%] Building C object libclamav/CMakeFiles/clamav.dir/table.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/table.c.o -MF CMakeFiles/clamav.dir/table.c.o.d -o CMakeFiles/clamav.dir/table.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/table.c [ 50%] Building C object libclamav/CMakeFiles/clamav.dir/text.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/text.c.o -MF CMakeFiles/clamav.dir/text.c.o.d -o CMakeFiles/clamav.dir/text.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/text.c [ 51%] Building C object libclamav/CMakeFiles/clamav.dir/uniq.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/uniq.c.o -MF CMakeFiles/clamav.dir/uniq.c.o.d -o CMakeFiles/clamav.dir/uniq.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/uniq.c [ 51%] Building C object libclamav/CMakeFiles/clamav.dir/www.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/www.c.o -MF CMakeFiles/clamav.dir/www.c.o.d -o CMakeFiles/clamav.dir/www.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/www.c [ 51%] Building C object libclamav/CMakeFiles/clamav.dir/disasm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/disasm.c.o -MF CMakeFiles/clamav.dir/disasm.c.o.d -o CMakeFiles/clamav.dir/disasm.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c: In function ‘cli_disasm_one’: /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1745:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 1745 | w->arg[i][1] = s.args[i].reg; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1746:13: note: here 1746 | default: | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c: In function ‘disasm_x86’: /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1318:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 1318 | reversed = 1; | ~~~~~~~~~^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1319:25: note: here 1319 | case X87_R: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1321:58: warning: this statement may fall through [-Wimplicit-fallthrough=] 1321 | s->args[reversed ^ 1].reg = X86_REG_ST0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1322:25: note: here 1322 | case X87_ONE: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1502:56: warning: this statement may fall through [-Wimplicit-fallthrough=] 1502 | s->args[reversed].size += (s->opsize == 0); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1503:29: note: here 1503 | case SIZE_WORD: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1455:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 1455 | reversed = 1; | ~~~~~~~~~^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1457:21: note: here 1457 | case ADDR_MRM_GEN_EG: | ^~~~ [ 51%] Building C object libclamav/CMakeFiles/clamav.dir/filtering.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/filtering.c.o -MF CMakeFiles/clamav.dir/filtering.c.o.d -o CMakeFiles/clamav.dir/filtering.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/filtering.c /builddir/build/BUILD/clamav-1.0.6/libclamav/filtering.c: In function ‘filter_add_static’: /builddir/build/BUILD/clamav-1.0.6/libclamav/filtering.c:213:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 213 | if (j + 2 > len) | ^ In function ‘get_score’, inlined from ‘filter_add_acpatt’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/filtering.c:644:13: /builddir/build/BUILD/clamav-1.0.6/libclamav/filtering.c:357:8: warning: ‘base’ may be used uninitialized [-Wmaybe-uninitialized] 357 | if (base < 0) { | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/filtering.c: In function ‘filter_add_acpatt’: /builddir/build/BUILD/clamav-1.0.6/libclamav/filtering.c:326:13: note: ‘base’ was declared here 326 | int32_t base; | ^~~~ [ 52%] Building C object libclamav/CMakeFiles/clamav.dir/matcher-ac.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher-ac.c.o -MF CMakeFiles/clamav.dir/matcher-ac.c.o.d -o CMakeFiles/clamav.dir/matcher-ac.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-ac.c /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-ac.c: In function ‘cli_ac_scanbuff’: /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-ac.c:1995:48: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 1995 | return CL_TYPE_IGNORED; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-ac.c:2062:44: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 2062 | return CL_TYPE_IGNORED; | ^~~~~~~~~~~~~~~ [ 52%] Building C object libclamav/CMakeFiles/clamav.dir/matcher-bm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher-bm.c.o -MF CMakeFiles/clamav.dir/matcher-bm.c.o.d -o CMakeFiles/clamav.dir/matcher-bm.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-bm.c [ 52%] Building C object libclamav/CMakeFiles/clamav.dir/matcher-byte-comp.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher-byte-comp.c.o -MF CMakeFiles/clamav.dir/matcher-byte-comp.c.o.d -o CMakeFiles/clamav.dir/matcher-byte-comp.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-byte-comp.c [ 52%] Building C object libclamav/CMakeFiles/clamav.dir/matcher-hash.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher-hash.c.o -MF CMakeFiles/clamav.dir/matcher-hash.c.o.d -o CMakeFiles/clamav.dir/matcher-hash.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-hash.c [ 53%] Building C object libclamav/CMakeFiles/clamav.dir/matcher-pcre.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher-pcre.c.o -MF CMakeFiles/clamav.dir/matcher-pcre.c.o.d -o CMakeFiles/clamav.dir/matcher-pcre.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-pcre.c [ 53%] Building C object libclamav/CMakeFiles/clamav.dir/matcher.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher.c.o -MF CMakeFiles/clamav.dir/matcher.c.o.d -o CMakeFiles/clamav.dir/matcher.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher.c /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher.c:349:12: warning: conflicting types for ‘cli_caloff’ due to enum/integer mismatch; have ‘cl_error_t(const char *, const struct cli_target_info *, cli_target_t, uint32_t *, uint32_t *, uint32_t *)’ {aka ‘cl_error_t(const char *, const struct cli_target_info *, cli_target_t, unsigned int *, unsigned int *, unsigned int *)’} [-Wenum-int-mismatch] 349 | cl_error_t cli_caloff(const char *offstr, const struct cli_target_info *info, cli_target_t target, uint32_t *offdata, uint32_t *offset_min, uint32_t *offset_max) | ^~~~~~~~~~ In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-ac.h:133, from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav_rust.h:13, from /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher.c:36: /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher.h:366:12: note: previous declaration of ‘cli_caloff’ with type ‘cl_error_t(const char *, const struct cli_target_info *, unsigned int, uint32_t *, uint32_t *, uint32_t *)’ {aka ‘cl_error_t(const char *, const struct cli_target_info *, unsigned int, unsigned int *, unsigned int *, unsigned int *)’} 366 | cl_error_t cli_caloff(const char *offstr, const struct cli_target_info *info, unsigned int target, uint32_t *offdata, uint32_t *offset_min, uint32_t *offset_max); | ^~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher.c:536:6: warning: conflicting types for ‘cli_targetinfo’ due to enum/integer mismatch; have ‘void(struct cli_target_info *, cli_target_t, cli_ctx *)’ {aka ‘void(struct cli_target_info *, cli_target_t, struct cli_ctx_tag *)’} [-Wenum-int-mismatch] 536 | void cli_targetinfo(struct cli_target_info *info, cli_target_t target, cli_ctx *ctx) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher.h:396:6: note: previous declaration of ‘cli_targetinfo’ with type ‘void(struct cli_target_info *, unsigned int, cli_ctx *)’ {aka ‘void(struct cli_target_info *, unsigned int, struct cli_ctx_tag *)’} 396 | void cli_targetinfo(struct cli_target_info *info, unsigned int target, cli_ctx *ctx); | ^~~~~~~~~~~~~~ [ 53%] Building C object libclamav/CMakeFiles/clamav.dir/regex_pcre.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/regex_pcre.c.o -MF CMakeFiles/clamav.dir/regex_pcre.c.o.d -o CMakeFiles/clamav.dir/regex_pcre.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex_pcre.c [ 53%] Building C object libclamav/CMakeFiles/clamav.dir/cvd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/cvd.c.o -MF CMakeFiles/clamav.dir/cvd.c.o.d -o CMakeFiles/clamav.dir/cvd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/cvd.c [ 54%] Building C object libclamav/CMakeFiles/clamav.dir/dconf.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/dconf.c.o -MF CMakeFiles/clamav.dir/dconf.c.o.d -o CMakeFiles/clamav.dir/dconf.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/dconf.c [ 54%] Building C object libclamav/CMakeFiles/clamav.dir/dsig.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/dsig.c.o -MF CMakeFiles/clamav.dir/dsig.c.o.d -o CMakeFiles/clamav.dir/dsig.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/dsig.c [ 54%] Building C object libclamav/CMakeFiles/clamav.dir/readdb.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/readdb.c.o -MF CMakeFiles/clamav.dir/readdb.c.o.d -o CMakeFiles/clamav.dir/readdb.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/readdb.c [ 54%] Building C object libclamav/CMakeFiles/clamav.dir/cache.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/cache.c.o -MF CMakeFiles/clamav.dir/cache.c.o.d -o CMakeFiles/clamav.dir/cache.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/cache.c [ 55%] Building C object libclamav/CMakeFiles/clamav.dir/crtmgr.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/crtmgr.c.o -MF CMakeFiles/clamav.dir/crtmgr.c.o.d -o CMakeFiles/clamav.dir/crtmgr.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/crtmgr.c /builddir/build/BUILD/clamav-1.0.6/libclamav/crtmgr.c: In function ‘cli_crt_clear’: /builddir/build/BUILD/clamav-1.0.6/libclamav/crtmgr.c:56:29: warning: unused parameter ‘x509’ [-Wunused-parameter] 56 | void cli_crt_clear(cli_crt *x509) | ~~~~~~~~~^~~~ [ 55%] Building C object libclamav/CMakeFiles/clamav.dir/crypto.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/crypto.c.o -MF CMakeFiles/clamav.dir/crypto.c.o.d -o CMakeFiles/clamav.dir/crypto.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/crypto.c [ 55%] Building C object libclamav/CMakeFiles/clamav.dir/filetypes.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/filetypes.c.o -MF CMakeFiles/clamav.dir/filetypes.c.o.d -o CMakeFiles/clamav.dir/filetypes.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/filetypes.c [ 55%] Building C object libclamav/CMakeFiles/clamav.dir/fmap.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/fmap.c.o -MF CMakeFiles/clamav.dir/fmap.c.o.d -o CMakeFiles/clamav.dir/fmap.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/fmap.c /builddir/build/BUILD/clamav-1.0.6/libclamav/readdb.c: In function ‘cli_load’: /builddir/build/BUILD/clamav-1.0.6/libclamav/readdb.c:2730:17: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 2730 | strncpy(buffer, signame, len); | ^ In function ‘cli_loadign’, inlined from ‘cli_load’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/readdb.c:4828:15: /builddir/build/BUILD/clamav-1.0.6/libclamav/readdb.c:2721:21: note: length computed here 2721 | if (!(len = strlen(signame))) { | ^~~~~~~~~~~~~~~ [ 56%] Building C object libclamav/CMakeFiles/clamav.dir/mpool.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/mpool.c.o -MF CMakeFiles/clamav.dir/mpool.c.o.d -o CMakeFiles/clamav.dir/mpool.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/mpool.c [ 56%] Building C object libclamav/CMakeFiles/clamav.dir/others.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/others.c.o -MF CMakeFiles/clamav.dir/others.c.o.d -o CMakeFiles/clamav.dir/others.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/others.c [ 56%] Building C object libclamav/CMakeFiles/clamav.dir/perflogging.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/perflogging.c.o -MF CMakeFiles/clamav.dir/perflogging.c.o.d -o CMakeFiles/clamav.dir/perflogging.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/perflogging.c [ 56%] Building C object libclamav/CMakeFiles/clamav.dir/scanners.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/scanners.c.o -MF CMakeFiles/clamav.dir/scanners.c.o.d -o CMakeFiles/clamav.dir/scanners.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/scanners.c /builddir/build/BUILD/clamav-1.0.6/libclamav/scanners.c: In function ‘scanraw’: /builddir/build/BUILD/clamav-1.0.6/libclamav/scanners.c:3891:29: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 3891 | ret = CL_TYPE_TEXT_ASCII; | ^ [ 57%] Building C object libclamav/CMakeFiles/clamav.dir/textdet.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/textdet.c.o -MF CMakeFiles/clamav.dir/textdet.c.o.d -o CMakeFiles/clamav.dir/textdet.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/textdet.c [ 57%] Building C object libclamav/CMakeFiles/clamav.dir/version.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/version.c.o -MF CMakeFiles/clamav.dir/version.c.o.d -o CMakeFiles/clamav.dir/version.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/version.c [ 57%] Building C object libclamav/CMakeFiles/clamav.dir/htmlnorm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/htmlnorm.c.o -MF CMakeFiles/clamav.dir/htmlnorm.c.o.d -o CMakeFiles/clamav.dir/htmlnorm.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/htmlnorm.c /builddir/build/BUILD/clamav-1.0.6/libclamav/htmlnorm.c: In function ‘cli_html_normalise.constprop.0’: /builddir/build/BUILD/clamav-1.0.6/libclamav/htmlnorm.c:1845:9: warning: argument 1 null where non-null expected [-Wnonnull] 1845 | fclose(stream_in); | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/htmlnorm.c:29: /usr/include/stdio.h:184:12: note: in a call to function ‘fclose’ declared ‘nonnull’ 184 | extern int fclose (FILE *__stream) __nonnull ((1)); | ^~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/scanners.c: In function ‘cli_scanegg’: /builddir/build/BUILD/clamav-1.0.6/libclamav/scanners.c:696:55: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size 5 [-Wformat-truncation=] 696 | snprintf(prefix, prefixLen, "comments_%u", i); | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/scanners.c:696:45: note: directive argument in the range [0, 4294967294] 696 | snprintf(prefix, prefixLen, "comments_%u", i); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from /builddir/build/BUILD/clamav-1.0.6/libclamav/scanners.c:29: In function ‘snprintf’, inlined from ‘cli_scanegg’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/scanners.c:696:17: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 11 and 20 bytes into a destination of size 14 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [ 57%] Building C object libclamav/CMakeFiles/clamav.dir/jsparse/js-norm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/jsparse/js-norm.c.o -MF CMakeFiles/clamav.dir/jsparse/js-norm.c.o.d -o CMakeFiles/clamav.dir/jsparse/js-norm.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/jsparse/js-norm.c [ 58%] Building C object libclamav/CMakeFiles/clamav.dir/textnorm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/textnorm.c.o -MF CMakeFiles/clamav.dir/textnorm.c.o.d -o CMakeFiles/clamav.dir/textnorm.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/textnorm.c [ 58%] Building C object libclamav/CMakeFiles/clamav.dir/partition_intersection.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/partition_intersection.c.o -MF CMakeFiles/clamav.dir/partition_intersection.c.o.d -o CMakeFiles/clamav.dir/partition_intersection.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/partition_intersection.c [ 58%] Building C object libclamav/CMakeFiles/clamav.dir/special.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/special.c.o -MF CMakeFiles/clamav.dir/special.c.o.d -o CMakeFiles/clamav.dir/special.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/special.c [ 58%] Building C object libclamav/CMakeFiles/clamav.dir/hostid_internal.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/hostid_internal.c.o -MF CMakeFiles/clamav.dir/hostid_internal.c.o.d -o CMakeFiles/clamav.dir/hostid_internal.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/hostid_internal.c [ 59%] Building C object libclamav/CMakeFiles/clamav.dir/stats_json.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/stats_json.c.o -MF CMakeFiles/clamav.dir/stats_json.c.o.d -o CMakeFiles/clamav.dir/stats_json.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/stats_json.c [ 59%] Building C object libclamav/CMakeFiles/clamav.dir/stats.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/stats.c.o -MF CMakeFiles/clamav.dir/stats.c.o.d -o CMakeFiles/clamav.dir/stats.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/stats.c /builddir/build/BUILD/clamav-1.0.6/libclamav/stats.c: In function ‘clamav_stats_get_hostid’: /builddir/build/BUILD/clamav-1.0.6/libclamav/stats.c:578:19: warning: unused variable ‘i’ [-Wunused-variable] 578 | size_t bufsz, i; | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/stats.c:578:12: warning: unused variable ‘bufsz’ [-Wunused-variable] 578 | size_t bufsz, i; | ^~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/stats.c:575:11: warning: unused variable ‘sysctls’ [-Wunused-variable] 575 | char *sysctls[] = { | ^~~~~~~ [ 59%] Building C object libclamav/CMakeFiles/clamav.dir/bytecode_api_decl.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/bytecode_api_decl.c.o -MF CMakeFiles/clamav.dir/bytecode_api_decl.c.o.d -o CMakeFiles/clamav.dir/bytecode_api_decl.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_api_decl.c [ 59%] Building C object libclamav/CMakeFiles/clamav.dir/bytecode_api.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/bytecode_api.c.o -MF CMakeFiles/clamav.dir/bytecode_api.c.o.d -o CMakeFiles/clamav.dir/bytecode_api.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_api.c [ 60%] Building C object libclamav/CMakeFiles/clamav.dir/bytecode_detect.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/bytecode_detect.c.o -MF CMakeFiles/clamav.dir/bytecode_detect.c.o.d -o CMakeFiles/clamav.dir/bytecode_detect.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_detect.c [ 60%] Building C object libclamav/CMakeFiles/clamav.dir/bytecode_vm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/bytecode_vm.c.o -MF CMakeFiles/clamav.dir/bytecode_vm.c.o.d -o CMakeFiles/clamav.dir/bytecode_vm.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c: In function ‘cli_vm_execute’: /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:757:13: note: in expansion of macro ‘DEFINE_BINOP’ 757 | DEFINE_BINOP(OP_BC_ASHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute ashr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:757:13: note: in expansion of macro ‘DEFINE_BINOP’ 757 | DEFINE_BINOP(OP_BC_ASHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute ashr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:757:13: note: in expansion of macro ‘DEFINE_BINOP’ 757 | DEFINE_BINOP(OP_BC_ASHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute ashr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:757:13: note: in expansion of macro ‘DEFINE_BINOP’ 757 | DEFINE_BINOP(OP_BC_ASHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute ashr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:757:13: note: in expansion of macro ‘DEFINE_BINOP’ 757 | DEFINE_BINOP(OP_BC_ASHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute ashr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:520:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 520 | R0(tmp, inst->u.unaryop); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:800:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 800 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:527:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 527 | W0(ret, tmp); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:800:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 800 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:520:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 520 | R0(tmp, inst->u.unaryop); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:801:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 801 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5 + 1, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:527:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 527 | W0(ret, tmp); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:801:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 801 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5 + 1, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:520:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 520 | R0(tmp, inst->u.unaryop); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:802:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 802 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5 + 2, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:527:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 527 | W0(ret, tmp); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:802:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 802 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5 + 2, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:520:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 520 | R0(tmp, inst->u.unaryop); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:803:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 803 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5 + 3, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:527:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 527 | W0(ret, tmp); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:803:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 803 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5 + 3, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:520:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 520 | R0(tmp, inst->u.unaryop); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:804:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 804 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5 + 4, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:527:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 527 | W0(ret, tmp); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:804:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 804 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5 + 4, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_api.c: In function ‘cli_bcapi_json_get_string’: /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_api.c:2318:9: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 2318 | strncpy((char *)str, jstr, len); | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_api.c:2309:12: note: length computed here 2309 | len = strlen(jstr); | ^~~~~~~~~~~~ [ 60%] Building C object libclamav/CMakeFiles/clamav.dir/bytecode.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/bytecode.c.o -MF CMakeFiles/clamav.dir/bytecode.c.o.d -o CMakeFiles/clamav.dir/bytecode.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode.c [ 60%] Building C object libclamav/CMakeFiles/clamav.dir/events.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/events.c.o -MF CMakeFiles/clamav.dir/events.c.o.d -o CMakeFiles/clamav.dir/events.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/events.c [ 61%] Building C object libclamav/CMakeFiles/clamav.dir/7z_iface.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/7z_iface.c.o -MF CMakeFiles/clamav.dir/7z_iface.c.o.d -o CMakeFiles/clamav.dir/7z_iface.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z_iface.c [ 61%] Building C object libclamav/CMakeFiles/clamav.dir/explode.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/explode.c.o -MF CMakeFiles/clamav.dir/explode.c.o.d -o CMakeFiles/clamav.dir/explode.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c: In function ‘explode’: /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:225:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 225 | X->state++; \ | ~~~~~~~~^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:240:9: note: in expansion of macro ‘GETCODES’ 240 | GETCODES(GRABLITS, lit_tree, 256); | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:202:5: note: here 202 | case CASE: { \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:242:9: note: in expansion of macro ‘GETCODES’ 242 | GETCODES(GRABLENS, len_tree, 64); | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:225:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 225 | X->state++; \ | ~~~~~~~~^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:242:9: note: in expansion of macro ‘GETCODES’ 242 | GETCODES(GRABLENS, len_tree, 64); | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:202:5: note: here 202 | case CASE: { \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:244:9: note: in expansion of macro ‘GETCODES’ 244 | GETCODES(GRABDISTS, dist_tree, 64); | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:229:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 229 | X->state = (CASE); \ | ~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:273:21: note: in expansion of macro ‘SETCASE’ 273 | SETCASE(EXPLODE_BASEDIST); | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:230:5: note: here 230 | case (CASE): { /* FAKE */ \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:273:21: note: in expansion of macro ‘SETCASE’ 273 | SETCASE(EXPLODE_BASEDIST); | ^~~~~~~ [ 61%] Building C object libclamav/CMakeFiles/clamav.dir/inflate64.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/inflate64.c.o -MF CMakeFiles/clamav.dir/inflate64.c.o.d -o CMakeFiles/clamav.dir/inflate64.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c: In function ‘inflate64’: /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:441:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 441 | state->mode = DICT; | ~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:442:9: note: here 442 | case DICT: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:446:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 446 | if (flush == Z_BLOCK) goto inf_leave; | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:447:9: note: here 447 | case TYPEDO: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:489:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 489 | state->mode = COPY; | ~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:490:9: note: here 490 | case COPY: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:613:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 613 | state->mode = LEN; | ~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:614:9: note: here 614 | case LEN: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:656:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 656 | state->mode = LENEXT; | ~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:657:9: note: here 657 | case LENEXT: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:664:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 664 | state->mode = DIST; | ~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:665:9: note: here 665 | case DIST: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:689:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 689 | state->mode = DISTEXT; | ~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:690:9: note: here 690 | case DISTEXT: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:707:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 707 | state->mode = MATCH; | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:708:9: note: here 708 | case MATCH: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:757:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 757 | state->mode = DONE; | ~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:758:9: note: here 758 | case DONE: | ^~~~ [ 61%] Building C object libclamav/CMakeFiles/clamav.dir/lzma_iface.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/lzma_iface.c.o -MF CMakeFiles/clamav.dir/lzma_iface.c.o.d -o CMakeFiles/clamav.dir/lzma_iface.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/lzma_iface.c [ 62%] Building C object libclamav/CMakeFiles/clamav.dir/lzw/lzwdec.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/lzw/lzwdec.c.o -MF CMakeFiles/clamav.dir/lzw/lzwdec.c.o.d -o CMakeFiles/clamav.dir/lzw/lzwdec.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/lzw/lzwdec.c [ 62%] Building C object libclamav/CMakeFiles/clamav.dir/xz_iface.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/xz_iface.c.o -MF CMakeFiles/clamav.dir/xz_iface.c.o.d -o CMakeFiles/clamav.dir/xz_iface.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/xz_iface.c [ 62%] Building C object libclamav/CMakeFiles/clamav.dir/arc4.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/arc4.c.o -MF CMakeFiles/clamav.dir/arc4.c.o.d -o CMakeFiles/clamav.dir/arc4.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/arc4.c [ 62%] Building C object libclamav/CMakeFiles/clamav.dir/rijndael.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/rijndael.c.o -MF CMakeFiles/clamav.dir/rijndael.c.o.d -o CMakeFiles/clamav.dir/rijndael.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/rijndael.c [ 63%] Building C object libclamav/CMakeFiles/clamav.dir/entconv.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/entconv.c.o -MF CMakeFiles/clamav.dir/entconv.c.o.d -o CMakeFiles/clamav.dir/entconv.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/entconv.c [ 63%] Building C object libclamav/CMakeFiles/clamav.dir/dlp.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/dlp.c.o -MF CMakeFiles/clamav.dir/dlp.c.o.d -o CMakeFiles/clamav.dir/dlp.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/dlp.c [ 63%] Building C object libclamav/CMakeFiles/clamav.dir/autoit.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/autoit.c.o -MF CMakeFiles/clamav.dir/autoit.c.o.d -o CMakeFiles/clamav.dir/autoit.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/autoit.c [ 63%] Building C object libclamav/CMakeFiles/clamav.dir/binhex.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/binhex.c.o -MF CMakeFiles/clamav.dir/binhex.c.o.d -o CMakeFiles/clamav.dir/binhex.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/binhex.c [ 64%] Building C object libclamav/CMakeFiles/clamav.dir/cpio.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/cpio.c.o -MF CMakeFiles/clamav.dir/cpio.c.o.d -o CMakeFiles/clamav.dir/cpio.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/cpio.c [ 64%] Building C object libclamav/CMakeFiles/clamav.dir/ishield.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/ishield.c.o -MF CMakeFiles/clamav.dir/ishield.c.o.d -o CMakeFiles/clamav.dir/ishield.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/ishield.c [ 64%] Building C object libclamav/CMakeFiles/clamav.dir/libmspack.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/libmspack.c.o -MF CMakeFiles/clamav.dir/libmspack.c.o.d -o CMakeFiles/clamav.dir/libmspack.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/libmspack.c /builddir/build/BUILD/clamav-1.0.6/libclamav/libmspack.c: In function ‘mspack_fmap_message’: /builddir/build/BUILD/clamav-1.0.6/libclamav/libmspack.c:293:9: warning: ‘strncpy’ output truncated before terminating nul copying 17 bytes from a string of the same length [-Wstringop-truncation] 293 | strncpy(buff, "LibClamAV debug: ", len); | ^ [ 64%] Building C object libclamav/CMakeFiles/clamav.dir/msexpand.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/msexpand.c.o -MF CMakeFiles/clamav.dir/msexpand.c.o.d -o CMakeFiles/clamav.dir/msexpand.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/msexpand.c [ 65%] Building C object libclamav/CMakeFiles/clamav.dir/nsis/bzlib.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/nsis/bzlib.c.o -MF CMakeFiles/clamav.dir/nsis/bzlib.c.o.d -o CMakeFiles/clamav.dir/nsis/bzlib.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c [ 65%] Building C object libclamav/CMakeFiles/clamav.dir/nsis/infblock.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/nsis/infblock.c.o -MF CMakeFiles/clamav.dir/nsis/infblock.c.o.d -o CMakeFiles/clamav.dir/nsis/infblock.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c: In function ‘nsis_inflate’: /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:570:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 570 | s->mode = CODES_START; | ~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:578:5: note: here 578 | case CODES_START: /* x: set up for LEN */ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:581:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 581 | s->mode = CODES_LEN; | ~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:582:5: note: here 582 | case CODES_LEN: /* i: get length/literal/eob next */ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:620:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 620 | s->mode = CODES_DIST; | ~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:621:5: note: here 621 | case CODES_DIST: /* i: get distance next */ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:646:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 646 | s->mode = CODES_COPY; | ~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:647:5: note: here 647 | case CODES_COPY: /* o: copying bytes in window, waiting for space */ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:668:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 668 | if (k > 7) /* return unused byte, if any */ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:680:5: note: here 680 | case DRY: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c: In function ‘BZ2_decompress’: /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:538:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 538 | if (s->smallDecompress) { | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:80:4: note: in expansion of macro ‘GET_BITS’ 80 | GET_BITS(lll,uuu,8) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:549:7: note: in expansion of macro ‘GET_UCHAR’ 549 | GET_UCHAR(BZ_X_BLKHDR_1, uc); | ^~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:584:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 584 | s->origPtr = 0; | ~~~~~~~~~~~^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:80:4: note: in expansion of macro ‘GET_BITS’ 80 | GET_BITS(lll,uuu,8) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:585:7: note: in expansion of macro ‘GET_UCHAR’ 585 | GET_UCHAR(BZ_X_ORIGPTR_1, uc); | ^~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:586:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 586 | s->origPtr = (s->origPtr << 8) | ((Int32)uc); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:80:4: note: in expansion of macro ‘GET_BITS’ 80 | GET_BITS(lll,uuu,8) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:587:7: note: in expansion of macro ‘GET_UCHAR’ 587 | GET_UCHAR(BZ_X_ORIGPTR_2, uc); | ^~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:588:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 588 | s->origPtr = (s->origPtr << 8) | ((Int32)uc); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:80:4: note: in expansion of macro ‘GET_BITS’ 80 | GET_BITS(lll,uuu,8) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:589:7: note: in expansion of macro ‘GET_UCHAR’ 589 | GET_UCHAR(BZ_X_ORIGPTR_3, uc); | ^~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:615:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 615 | alphaSize = s->nInUse+2; | ~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:618:7: note: in expansion of macro ‘GET_BITS’ 618 | GET_BITS(BZ_X_SELECTOR_1, nGroups, 3); | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:619:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 619 | if (nGroups < 2 || nGroups > 6) RETURN(BZ_DATA_ERROR); | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:620:7: note: in expansion of macro ‘GET_BITS’ 620 | GET_BITS(BZ_X_SELECTOR_2, nSelectors, 15); | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:623:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 623 | j = 0; | ~~^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:625:13: note: in expansion of macro ‘GET_BIT’ 625 | GET_BIT(BZ_X_SELECTOR_3, uc); | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:652:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 652 | if (curr < 1 || curr > 20) RETURN(BZ_DATA_ERROR); | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:653:16: note: in expansion of macro ‘GET_BIT’ 653 | GET_BIT(BZ_X_CODING_2, uc); | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:654:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 654 | if (uc == 0) break; | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:655:16: note: in expansion of macro ‘GET_BIT’ 655 | GET_BIT(BZ_X_CODING_3, uc); | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:100:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 100 | zn = gMinlen; \ | ~~~^~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:704:7: note: in expansion of macro ‘GET_MTF_VAL’ 704 | GET_MTF_VAL(BZ_X_MTF_1, BZ_X_MTF_2, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:101:4: note: in expansion of macro ‘GET_BITS’ 101 | GET_BITS(label1, zvec, zn); \ | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:704:7: note: in expansion of macro ‘GET_MTF_VAL’ 704 | GET_MTF_VAL(BZ_X_MTF_1, BZ_X_MTF_2, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:106:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 106 | zn++; \ | ~~^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:704:7: note: in expansion of macro ‘GET_MTF_VAL’ 704 | GET_MTF_VAL(BZ_X_MTF_1, BZ_X_MTF_2, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:107:7: note: in expansion of macro ‘GET_BIT’ 107 | GET_BIT(label2, zj); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:704:7: note: in expansion of macro ‘GET_MTF_VAL’ 704 | GET_MTF_VAL(BZ_X_MTF_1, BZ_X_MTF_2, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:100:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 100 | zn = gMinlen; \ | ~~~^~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:814:13: note: in expansion of macro ‘GET_MTF_VAL’ 814 | GET_MTF_VAL(BZ_X_MTF_5, BZ_X_MTF_6, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:101:4: note: in expansion of macro ‘GET_BITS’ 101 | GET_BITS(label1, zvec, zn); \ | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:814:13: note: in expansion of macro ‘GET_MTF_VAL’ 814 | GET_MTF_VAL(BZ_X_MTF_5, BZ_X_MTF_6, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:106:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 106 | zn++; \ | ~~^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:814:13: note: in expansion of macro ‘GET_MTF_VAL’ 814 | GET_MTF_VAL(BZ_X_MTF_5, BZ_X_MTF_6, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:107:7: note: in expansion of macro ‘GET_BIT’ 107 | GET_BIT(label2, zj); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:814:13: note: in expansion of macro ‘GET_MTF_VAL’ 814 | GET_MTF_VAL(BZ_X_MTF_5, BZ_X_MTF_6, nextSym); | ^~~~~~~~~~~ [ 65%] Building C object libclamav/CMakeFiles/clamav.dir/nsis/nulsft.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/nsis/nulsft.c.o -MF CMakeFiles/clamav.dir/nsis/nulsft.c.o.d -o CMakeFiles/clamav.dir/nsis/nulsft.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/nulsft.c In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/nulsft.c:38: /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/nsis_zlib.h:215:9: warning: "Z_NULL" redefined 215 | #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ | ^~~~~~ In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/dconf.h:26, from /builddir/build/BUILD/clamav-1.0.6/libclamav/others.h:48, from /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher.h:29, from /builddir/build/BUILD/clamav-1.0.6/libclamav/others.h:22, from /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/nulsft.c:35: /usr/include/zlib.h:223:9: note: this is the location of the previous definition 223 | #define Z_NULL NULL /* for compatibility with zlib, was for initializing zalloc, zfree, opaque */ | ^~~~~~ [ 65%] Building C object libclamav/CMakeFiles/clamav.dir/hwp.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/hwp.c.o -MF CMakeFiles/clamav.dir/hwp.c.o.d -o CMakeFiles/clamav.dir/hwp.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c [ 66%] Building C object libclamav/CMakeFiles/clamav.dir/msdoc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/msdoc.c.o -MF CMakeFiles/clamav.dir/msdoc.c.o.d -o CMakeFiles/clamav.dir/msdoc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/msdoc.c /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c: In function ‘hwpml_binary_cb’: /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:2089:19: warning: ‘tempfile’ may be used uninitialized [-Wmaybe-uninitialized] 2089 | ret = hwpml_scan_cb(NULL, fd, tempfile, ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:1983:11: note: ‘tempfile’ declared here 1983 | char *tempfile; | ^~~~~~~~ [ 66%] Building C object libclamav/CMakeFiles/clamav.dir/msxml_parser.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/msxml_parser.c.o -MF CMakeFiles/clamav.dir/msxml_parser.c.o.d -o CMakeFiles/clamav.dir/msxml_parser.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/msxml_parser.c /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c: In function ‘hwp3_cb’: /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:1809:13: warning: ‘fonts’ may be used uninitialized [-Wmaybe-uninitialized] 1809 | cli_jsonint(fonts, NULL, nfonts); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:1760:18: note: ‘fonts’ was declared here 1760 | json_object *fonts; | ^~~~~ In function ‘parsehwp3_infoblk_1’, inlined from ‘hwp3_cb’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:1861:29: /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:1565:17: warning: ‘contents’ may be used uninitialized [-Wmaybe-uninitialized] 1565 | entry = cli_jsonobj(contents, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c: In function ‘hwp3_cb’: /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:1528:30: note: ‘contents’ was declared here 1528 | json_object *infoblk_1, *contents, *counter, *entry; | ^~~~~~~~ In function ‘parsehwp3_infoblk_1’, inlined from ‘hwp3_cb’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:1861:29: /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:1596:9: warning: ‘entry’ may be used uninitialized [-Wmaybe-uninitialized] 1596 | cli_jsonint(entry, "Length", infolen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c: In function ‘hwp3_cb’: /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:1528:51: note: ‘entry’ was declared here 1528 | json_object *infoblk_1, *contents, *counter, *entry; | ^~~~~ [ 66%] Building C object libclamav/CMakeFiles/clamav.dir/msxml.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/msxml.c.o -MF CMakeFiles/clamav.dir/msxml.c.o.d -o CMakeFiles/clamav.dir/msxml.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/msxml.c [ 66%] Building C object libclamav/CMakeFiles/clamav.dir/ole2_extract.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/ole2_extract.c.o -MF CMakeFiles/clamav.dir/ole2_extract.c.o.d -o CMakeFiles/clamav.dir/ole2_extract.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/ole2_extract.c [ 67%] Building C object libclamav/CMakeFiles/clamav.dir/xlm_extract.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/xlm_extract.c.o -MF CMakeFiles/clamav.dir/xlm_extract.c.o.d -o CMakeFiles/clamav.dir/xlm_extract.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/xlm_extract.c /builddir/build/BUILD/clamav-1.0.6/libclamav/ole2_extract.c: In function ‘cli_ole2_get_property_name2’: /builddir/build/BUILD/clamav-1.0.6/libclamav/ole2_extract.c:268:41: warning: comparison is always true due to limited range of data type [-Wtype-limits] 268 | if (name[i] < 10 && name[i] >= 0 && name[i + 1] == 0) { | ^~ [ 67%] Building C object libclamav/CMakeFiles/clamav.dir/ooxml.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/ooxml.c.o -MF CMakeFiles/clamav.dir/ooxml.c.o.d -o CMakeFiles/clamav.dir/ooxml.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/ooxml.c [ 67%] Building C object libclamav/CMakeFiles/clamav.dir/rtf.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/rtf.c.o -MF CMakeFiles/clamav.dir/rtf.c.o.d -o CMakeFiles/clamav.dir/rtf.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/rtf.c [ 67%] Building C object libclamav/CMakeFiles/clamav.dir/vba_extract.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/vba_extract.c.o -MF CMakeFiles/clamav.dir/vba_extract.c.o.d -o CMakeFiles/clamav.dir/vba_extract.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/vba_extract.c /builddir/build/BUILD/clamav-1.0.6/libclamav/rtf.c: In function ‘push_state’: /builddir/build/BUILD/clamav-1.0.6/libclamav/rtf.c:159:12: warning: variable ‘defelements’ set but not used [-Wunused-but-set-variable] 159 | size_t defelements; | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/vba_extract.c: In function ‘get_unicode_name’: /builddir/build/BUILD/clamav-1.0.6/libclamav/vba_extract.c:130:44: warning: comparison is always true due to limited range of data type [-Wtype-limits] 130 | if ((name[i] < 10) && (name[i] >= 0)) { | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/vba_extract.c:137:41: warning: comparison is always false due to limited range of data type [-Wtype-limits] 137 | x = (uint16_t)((name[i] < 0 ? 0 : name[i] << 8) | name[i + 1]); | ^ [ 68%] Building C object libclamav/CMakeFiles/clamav.dir/asn1.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/asn1.c.o -MF CMakeFiles/clamav.dir/asn1.c.o.d -o CMakeFiles/clamav.dir/asn1.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/asn1.c [ 68%] Building C object libclamav/CMakeFiles/clamav.dir/elf.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/elf.c.o -MF CMakeFiles/clamav.dir/elf.c.o.d -o CMakeFiles/clamav.dir/elf.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/elf.c [ 68%] Building C object libclamav/CMakeFiles/clamav.dir/execs.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/execs.c.o -MF CMakeFiles/clamav.dir/execs.c.o.d -o CMakeFiles/clamav.dir/execs.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/execs.c [ 68%] Building C object libclamav/CMakeFiles/clamav.dir/macho.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/macho.c.o -MF CMakeFiles/clamav.dir/macho.c.o.d -o CMakeFiles/clamav.dir/macho.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/macho.c [ 69%] Building C object libclamav/CMakeFiles/clamav.dir/pe_icons.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/pe_icons.c.o -MF CMakeFiles/clamav.dir/pe_icons.c.o.d -o CMakeFiles/clamav.dir/pe_icons.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/pe_icons.c [ 69%] Building C object libclamav/CMakeFiles/clamav.dir/pe.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/pe.c.o -MF CMakeFiles/clamav.dir/pe.c.o.d -o CMakeFiles/clamav.dir/pe.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/pe.c /builddir/build/BUILD/clamav-1.0.6/libclamav/pe.c: In function ‘cli_scanpe’: /builddir/build/BUILD/clamav-1.0.6/libclamav/pe.c:3443:45: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] 3443 | cli_readint32(epbuff + 1) > EC32(peinfo->pe_opt.opt32.ImageBase) && | ^ [ 69%] Building C object libclamav/CMakeFiles/clamav.dir/rebuildpe.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/rebuildpe.c.o -MF CMakeFiles/clamav.dir/rebuildpe.c.o.d -o CMakeFiles/clamav.dir/rebuildpe.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/rebuildpe.c In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher.h:29, from /builddir/build/BUILD/clamav-1.0.6/libclamav/others.h:22, from /builddir/build/BUILD/clamav-1.0.6/libclamav/rebuildpe.c:46: /builddir/build/BUILD/clamav-1.0.6/libclamav/rebuildpe.c: In function ‘cli_rebuildpe_align’: /builddir/build/BUILD/clamav-1.0.6/libclamav/rebuildpe.c:158:46: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 158 | fakepe->NumberOfSections = EC16(sects + gotghost); | ~~~~~~^~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others.h:588:24: note: in definition of macro ‘cbswap16’ 588 | #define cbswap16(v) (((v & 0xff) << 8) | (((v) >> 8) & 0xff)) | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/rebuildpe.c:49:17: note: in expansion of macro ‘le16_to_host’ 49 | #define EC16(x) le16_to_host(x) /* Convert little endian to host */ | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/rebuildpe.c:158:35: note: in expansion of macro ‘EC16’ 158 | fakepe->NumberOfSections = EC16(sects + gotghost); | ^~~~ [ 69%] Building C object libclamav/CMakeFiles/clamav.dir/aspack.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/aspack.c.o -MF CMakeFiles/clamav.dir/aspack.c.o.d -o CMakeFiles/clamav.dir/aspack.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/aspack.c /builddir/build/BUILD/clamav-1.0.6/libclamav/pe.c: In function ‘cli_peheader’: /builddir/build/BUILD/clamav-1.0.6/libclamav/pe.c:4511:37: warning: ‘opt64’ may be used uninitialized [-Wmaybe-uninitialized] 4511 | struct pe_image_optional_hdr64 *opt64; | ^~~~~ [ 70%] Building C object libclamav/CMakeFiles/clamav.dir/fsg.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/fsg.c.o -MF CMakeFiles/clamav.dir/fsg.c.o.d -o CMakeFiles/clamav.dir/fsg.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/fsg.c [ 70%] Building C object libclamav/CMakeFiles/clamav.dir/mew.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/mew.c.o -MF CMakeFiles/clamav.dir/mew.c.o.d -o CMakeFiles/clamav.dir/mew.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/mew.c /builddir/build/BUILD/clamav-1.0.6/libclamav/mew.c: In function ‘lzma_486248’: /builddir/build/BUILD/clamav-1.0.6/libclamav/mew.c:121:24: warning: passing argument 1 of ‘cli_writeint32’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | cli_writeint32(*old_ecx, loc_ecx); | ^~~~~~~~ In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher.h:29, from /builddir/build/BUILD/clamav-1.0.6/libclamav/others.h:22, from /builddir/build/BUILD/clamav-1.0.6/libclamav/pe.h:29, from /builddir/build/BUILD/clamav-1.0.6/libclamav/mew.c:53: /builddir/build/BUILD/clamav-1.0.6/libclamav/others.h:690:41: note: expected ‘void *’ but argument is of type ‘const char *’ 690 | static inline void cli_writeint32(void *offset, uint32_t value) | ~~~~~~^~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/mew.c:135:24: warning: passing argument 1 of ‘cli_writeint32’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 135 | cli_writeint32(*old_ecx, loc_ecx); | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others.h:690:41: note: expected ‘void *’ but argument is of type ‘const char *’ 690 | static inline void cli_writeint32(void *offset, uint32_t value) | ~~~~~~^~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/mew.c: In function ‘mew_lzma’: /builddir/build/BUILD/clamav-1.0.6/libclamav/mew.c:343:16: warning: variable ‘var30’ set but not used [-Wunused-but-set-variable] 343 | char var1, var30; | ^~~~~ [ 70%] Building C object libclamav/CMakeFiles/clamav.dir/packlibs.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/packlibs.c.o -MF CMakeFiles/clamav.dir/packlibs.c.o.d -o CMakeFiles/clamav.dir/packlibs.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/packlibs.c [ 70%] Building C object libclamav/CMakeFiles/clamav.dir/petite.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/petite.c.o -MF CMakeFiles/clamav.dir/petite.c.o.d -o CMakeFiles/clamav.dir/petite.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/petite.c [ 71%] Building C object libclamav/CMakeFiles/clamav.dir/spin.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/spin.c.o -MF CMakeFiles/clamav.dir/spin.c.o.d -o CMakeFiles/clamav.dir/spin.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/spin.c /builddir/build/BUILD/clamav-1.0.6/libclamav/spin.c: In function ‘exec86’: /builddir/build/BUILD/clamav-1.0.6/libclamav/spin.c:74:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 74 | len++; | ~~~^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/spin.c:75:13: note: here 75 | case 0x0a: | ^~~~ [ 71%] Building C object libclamav/CMakeFiles/clamav.dir/unsp.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/unsp.c.o -MF CMakeFiles/clamav.dir/unsp.c.o.d -o CMakeFiles/clamav.dir/unsp.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/unsp.c [ 71%] Building C object libclamav/CMakeFiles/clamav.dir/upack.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/upack.c.o -MF CMakeFiles/clamav.dir/upack.c.o.d -o CMakeFiles/clamav.dir/upack.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/upack.c [ 71%] Building C object libclamav/CMakeFiles/clamav.dir/upx.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/upx.c.o -MF CMakeFiles/clamav.dir/upx.c.o.d -o CMakeFiles/clamav.dir/upx.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/upx.c [ 72%] Building C object libclamav/CMakeFiles/clamav.dir/wwunpack.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/wwunpack.c.o -MF CMakeFiles/clamav.dir/wwunpack.c.o.d -o CMakeFiles/clamav.dir/wwunpack.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/wwunpack.c [ 72%] Building C object libclamav/CMakeFiles/clamav.dir/yc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/yc.c.o -MF CMakeFiles/clamav.dir/yc.c.o.d -o CMakeFiles/clamav.dir/yc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/yc.c /builddir/build/BUILD/clamav-1.0.6/libclamav/wwunpack.c: In function ‘wwunpack’: /builddir/build/BUILD/clamav-1.0.6/libclamav/wwunpack.c:152:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 152 | backbytes++; | ~~~~~~~~~^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/wwunpack.c:153:21: note: here 153 | case 3: /* 8,9 */ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/wwunpack.c:155:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 155 | backbytes += bits; | ~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/wwunpack.c:156:21: note: here 156 | case 0: | ^~~~ [ 72%] Building C object libclamav/CMakeFiles/clamav.dir/line.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/line.c.o -MF CMakeFiles/clamav.dir/line.c.o.d -o CMakeFiles/clamav.dir/line.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/line.c [ 72%] Building C object libclamav/CMakeFiles/clamav.dir/mbox.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/mbox.c.o -MF CMakeFiles/clamav.dir/mbox.c.o.d -o CMakeFiles/clamav.dir/mbox.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/mbox.c /builddir/build/BUILD/clamav-1.0.6/libclamav/mbox.c: In function ‘parseEmailBody’: /builddir/build/BUILD/clamav-1.0.6/libclamav/mbox.c:2412:28: warning: implicit conversion from ‘enum cl_error_t’ to ‘mbox_status’ [-Wenum-conversion] 2412 | rc = CL_EFORMAT; | ^ [ 73%] Building C object libclamav/CMakeFiles/clamav.dir/message.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/message.c.o -MF CMakeFiles/clamav.dir/message.c.o.d -o CMakeFiles/clamav.dir/message.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/message.c [ 73%] Building C object libclamav/CMakeFiles/clamav.dir/phish_domaincheck_db.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/phish_domaincheck_db.c.o -MF CMakeFiles/clamav.dir/phish_domaincheck_db.c.o.d -o CMakeFiles/clamav.dir/phish_domaincheck_db.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/phish_domaincheck_db.c [ 73%] Building C object libclamav/CMakeFiles/clamav.dir/phish_allow_list.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/phish_allow_list.c.o -MF CMakeFiles/clamav.dir/phish_allow_list.c.o.d -o CMakeFiles/clamav.dir/phish_allow_list.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/phish_allow_list.c /builddir/build/BUILD/clamav-1.0.6/libclamav/mbox.c: In function ‘cli_parse_mbox’: /builddir/build/BUILD/clamav-1.0.6/libclamav/mbox.c:850:5: warning: ‘strncpy’ output may be truncated copying 1000 bytes from a string of length 1000 [-Wstringop-truncation] 850 | strncpy(buffer, firstLine, sizeof(buffer) - 1); | ^ [ 73%] Building C object libclamav/CMakeFiles/clamav.dir/phishcheck.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/phishcheck.c.o -MF CMakeFiles/clamav.dir/phishcheck.c.o.d -o CMakeFiles/clamav.dir/phishcheck.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/phishcheck.c [ 74%] Building C object libclamav/CMakeFiles/clamav.dir/regex_list.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/regex_list.c.o -MF CMakeFiles/clamav.dir/regex_list.c.o.d -o CMakeFiles/clamav.dir/regex_list.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex_list.c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex_list.c: In function ‘regex_list_match’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex_list.c:209:5: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 209 | strncpy(buffer, real_url, real_len); | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex_list.c:196:19: note: length computed here 196 | real_len = strlen(real_url); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex_list.c:218:9: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 218 | strncpy(buffer + real_len + 1, display_url, display_len); | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex_list.c:197:19: note: length computed here 197 | display_len = strlen(display_url); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/phishcheck.c: In function ‘url_get_host’: /builddir/build/BUILD/clamav-1.0.6/libclamav/phishcheck.c:267:5: warning: ‘strncpy’ output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation] 267 | strncpy(ret, prefix, prefix_len); | ^ [ 74%] Building C object libclamav/CMakeFiles/clamav.dir/regex_suffix.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/regex_suffix.c.o -MF CMakeFiles/clamav.dir/regex_suffix.c.o.d -o CMakeFiles/clamav.dir/regex_suffix.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex_suffix.c [ 74%] Building C object libclamav/CMakeFiles/clamav.dir/sis.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/sis.c.o -MF CMakeFiles/clamav.dir/sis.c.o.d -o CMakeFiles/clamav.dir/sis.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/sis.c [ 74%] Building C object libclamav/CMakeFiles/clamav.dir/tnef.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/tnef.c.o -MF CMakeFiles/clamav.dir/tnef.c.o.d -o CMakeFiles/clamav.dir/tnef.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tnef.c [ 75%] Building C object libclamav/CMakeFiles/clamav.dir/uuencode.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/uuencode.c.o -MF CMakeFiles/clamav.dir/uuencode.c.o.d -o CMakeFiles/clamav.dir/uuencode.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/uuencode.c [ 75%] Building C object libclamav/CMakeFiles/clamav.dir/swf.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/swf.c.o -MF CMakeFiles/clamav.dir/swf.c.o.d -o CMakeFiles/clamav.dir/swf.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/swf.c [ 75%] Building C object libclamav/CMakeFiles/clamav.dir/pdf.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/pdf.c.o -MF CMakeFiles/clamav.dir/pdf.c.o.d -o CMakeFiles/clamav.dir/pdf.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/pdf.c [ 75%] Building C object libclamav/CMakeFiles/clamav.dir/pdfng.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/pdfng.c.o -MF CMakeFiles/clamav.dir/pdfng.c.o.d -o CMakeFiles/clamav.dir/pdfng.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/pdfng.c /builddir/build/BUILD/clamav-1.0.6/libclamav/pdf.c: In function ‘pdf_findobj_in_objstm’: /builddir/build/BUILD/clamav-1.0.6/libclamav/pdf.c:341:25: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 341 | obj = calloc(sizeof(struct pdf_obj), 1); | ^~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/pdf.c:341:25: note: earlier argument should specify number of elements, later size of each element [ 76%] Building C object libclamav/CMakeFiles/clamav.dir/pdfdecode.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/pdfdecode.c.o -MF CMakeFiles/clamav.dir/pdfdecode.c.o.d -o CMakeFiles/clamav.dir/pdfdecode.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/pdfdecode.c [ 76%] Building C object libclamav/CMakeFiles/clamav.dir/xdp.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/xdp.c.o -MF CMakeFiles/clamav.dir/xdp.c.o.d -o CMakeFiles/clamav.dir/xdp.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/xdp.c [ 76%] Building C object libclamav/CMakeFiles/clamav.dir/unarj.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/unarj.c.o -MF CMakeFiles/clamav.dir/unarj.c.o.d -o CMakeFiles/clamav.dir/unarj.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c [ 76%] Building C object libclamav/CMakeFiles/clamav.dir/is_tar.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/is_tar.c.o -MF CMakeFiles/clamav.dir/is_tar.c.o.d -o CMakeFiles/clamav.dir/is_tar.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/is_tar.c In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c:40: In function ‘arj_read_file_header’, inlined from ‘cli_unarj_prepare_file’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c:1170:12: /builddir/build/BUILD/clamav-1.0.6/libclamav/str.h:43:21: warning: ‘filename’ may be used uninitialized [-Wmaybe-uninitialized] 43 | #define CLI_STRNDUP strndup /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c: In function ‘cli_unarj_prepare_file’: /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c:975:17: note: ‘filename’ was declared here 975 | const char *filename, *comment; | ^~~~~~~~ In function ‘arj_read_file_header’, inlined from ‘cli_unarj_prepare_file’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c:1170:12: /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c:1090:5: warning: ‘comment’ may be used uninitialized [-Wmaybe-uninitialized] 1090 | text_normalize_buffer(&comstate, (const unsigned char *)comment, comment_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c: In function ‘cli_unarj_prepare_file’: /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c:975:28: note: ‘comment’ was declared here 975 | const char *filename, *comment; | ^~~~~~~ [ 77%] Building C object libclamav/CMakeFiles/clamav.dir/untar.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/untar.c.o -MF CMakeFiles/clamav.dir/untar.c.o.d -o CMakeFiles/clamav.dir/untar.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/untar.c [ 77%] Building C object libclamav/CMakeFiles/clamav.dir/unzip.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/unzip.c.o -MF CMakeFiles/clamav.dir/unzip.c.o.d -o CMakeFiles/clamav.dir/unzip.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/unzip.c [ 77%] Building C object libclamav/CMakeFiles/clamav.dir/adc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/adc.c.o -MF CMakeFiles/clamav.dir/adc.c.o.d -o CMakeFiles/clamav.dir/adc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/adc.c [ 77%] Building C object libclamav/CMakeFiles/clamav.dir/dmg.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/dmg.c.o -MF CMakeFiles/clamav.dir/dmg.c.o.d -o CMakeFiles/clamav.dir/dmg.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/dmg.c [ 78%] Building C object libclamav/CMakeFiles/clamav.dir/xar.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/xar.c.o -MF CMakeFiles/clamav.dir/xar.c.o.d -o CMakeFiles/clamav.dir/xar.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/xar.c [ 78%] Building C object libclamav/CMakeFiles/clamav.dir/egg.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/egg.c.o -MF CMakeFiles/clamav.dir/egg.c.o.d -o CMakeFiles/clamav.dir/egg.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/egg.c /builddir/build/BUILD/clamav-1.0.6/libclamav/egg.c: In function ‘egg_parse_file_extra_field’: /builddir/build/BUILD/clamav-1.0.6/libclamav/egg.c:1290:24: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] 1290 | cli_dbgmsg("egg_parse_file_extra_field: windows_file_information->last_modified_time: %016" PRIx64 "\n", le64_to_host(windowsFileInformation->last_modified_time)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/egg.c:63: /usr/include/inttypes.h:121:41: note: format string is defined here 121 | # define PRIx64 __PRI64_PREFIX "x" /builddir/build/BUILD/clamav-1.0.6/libclamav/egg.c:1322:24: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] 1322 | cli_dbgmsg("egg_parse_file_extra_field: posix_file_information->last_modified_time: %016" PRIx64 "\n", le64_to_host(posixFileInformation->last_modified_time)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/inttypes.h:121:41: note: format string is defined here 121 | # define PRIx64 __PRI64_PREFIX "x" /builddir/build/BUILD/clamav-1.0.6/libclamav/egg.c: In function ‘egg_parse_file_headers’: /builddir/build/BUILD/clamav-1.0.6/libclamav/egg.c:1397:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] 1397 | cli_dbgmsg("egg_parse_file_headers: file_header->file_length: %016" PRIx64 " (%" PRIu64 ")\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/inttypes.h:121:41: note: format string is defined here 121 | # define PRIx64 __PRI64_PREFIX "x" /builddir/build/BUILD/clamav-1.0.6/libclamav/egg.c:1397:16: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] 1397 | cli_dbgmsg("egg_parse_file_headers: file_header->file_length: %016" PRIx64 " (%" PRIu64 ")\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/inttypes.h:105:41: note: format string is defined here 105 | # define PRIu64 __PRI64_PREFIX "u" [ 78%] Building C object libclamav/CMakeFiles/clamav.dir/mbr.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/mbr.c.o -MF CMakeFiles/clamav.dir/mbr.c.o.d -o CMakeFiles/clamav.dir/mbr.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/mbr.c /builddir/build/BUILD/clamav-1.0.6/libclamav/mbr.c: In function ‘cli_mbr_check’: /builddir/build/BUILD/clamav-1.0.6/libclamav/mbr.c:85:16: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 85 | return CL_TYPE_GPT; | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/mbr.c: In function ‘cli_mbr_check2’: /builddir/build/BUILD/clamav-1.0.6/libclamav/mbr.c:128:16: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 128 | return CL_TYPE_GPT; | ^~~~~~~~~~~ [ 78%] Building C object libclamav/CMakeFiles/clamav.dir/gpt.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/gpt.c.o -MF CMakeFiles/clamav.dir/gpt.c.o.d -o CMakeFiles/clamav.dir/gpt.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/gpt.c [ 79%] Building C object libclamav/CMakeFiles/clamav.dir/apm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/apm.c.o -MF CMakeFiles/clamav.dir/apm.c.o.d -o CMakeFiles/clamav.dir/apm.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/apm.c [ 79%] Building C object libclamav/CMakeFiles/clamav.dir/hfsplus.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/hfsplus.c.o -MF CMakeFiles/clamav.dir/hfsplus.c.o.d -o CMakeFiles/clamav.dir/hfsplus.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/hfsplus.c [ 79%] Building C object libclamav/CMakeFiles/clamav.dir/iso9660.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/iso9660.c.o -MF CMakeFiles/clamav.dir/iso9660.c.o.d -o CMakeFiles/clamav.dir/iso9660.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/iso9660.c [ 79%] Building C object libclamav/CMakeFiles/clamav.dir/openioc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/openioc.c.o -MF CMakeFiles/clamav.dir/openioc.c.o.d -o CMakeFiles/clamav.dir/openioc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/openioc.c [ 80%] Building C object libclamav/CMakeFiles/clamav.dir/jpeg.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/jpeg.c.o -MF CMakeFiles/clamav.dir/jpeg.c.o.d -o CMakeFiles/clamav.dir/jpeg.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/jpeg.c [ 80%] Building C object libclamav/CMakeFiles/clamav.dir/png.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/png.c.o -MF CMakeFiles/clamav.dir/png.c.o.d -o CMakeFiles/clamav.dir/png.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/png.c /builddir/build/BUILD/clamav-1.0.6/libclamav/jpeg.c: In function ‘cli_parsejpeg’: /builddir/build/BUILD/clamav-1.0.6/libclamav/jpeg.c:386:12: warning: ‘marker’ may be used uninitialized [-Wmaybe-uninitialized] 386 | if (JPEG_MARKER_SEGMENT_COM_COMMENT == marker) { | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/jpeg.c:317:19: note: ‘marker’ was declared here 317 | jpeg_marker_t marker, prev_marker, prev_segment = JPEG_MARKER_NOT_A_MARKER_0x00; | ^~~~~~ [ 80%] Building C object libclamav/CMakeFiles/clamav.dir/tiff.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/tiff.c.o -MF CMakeFiles/clamav.dir/tiff.c.o.d -o CMakeFiles/clamav.dir/tiff.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tiff.c [ 80%] Building C object libclamav/CMakeFiles/clamav.dir/gif.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/gif.c.o -MF CMakeFiles/clamav.dir/gif.c.o.d -o CMakeFiles/clamav.dir/gif.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/gif.c [ 81%] Linking C shared library libclamav.so cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamav.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libclamav.so.11 -o libclamav.so.11.0.0 CMakeFiles/clamav.dir/blob.c.o CMakeFiles/clamav.dir/conv.c.o CMakeFiles/clamav.dir/fpu.c.o CMakeFiles/clamav.dir/hashtab.c.o CMakeFiles/clamav.dir/iowrap.c.o CMakeFiles/clamav.dir/json_api.c.o CMakeFiles/clamav.dir/others_common.c.o CMakeFiles/clamav.dir/qsort.c.o CMakeFiles/clamav.dir/sf_base64decode.c.o CMakeFiles/clamav.dir/str.c.o CMakeFiles/clamav.dir/strlcat.c.o CMakeFiles/clamav.dir/table.c.o CMakeFiles/clamav.dir/text.c.o CMakeFiles/clamav.dir/uniq.c.o CMakeFiles/clamav.dir/www.c.o CMakeFiles/clamav.dir/disasm.c.o CMakeFiles/clamav.dir/filtering.c.o "CMakeFiles/clamav.dir/matcher-ac.c.o" "CMakeFiles/clamav.dir/matcher-bm.c.o" "CMakeFiles/clamav.dir/matcher-byte-comp.c.o" "CMakeFiles/clamav.dir/matcher-hash.c.o" "CMakeFiles/clamav.dir/matcher-pcre.c.o" CMakeFiles/clamav.dir/matcher.c.o CMakeFiles/clamav.dir/regex_pcre.c.o CMakeFiles/clamav.dir/cvd.c.o CMakeFiles/clamav.dir/dconf.c.o CMakeFiles/clamav.dir/dsig.c.o CMakeFiles/clamav.dir/readdb.c.o CMakeFiles/clamav.dir/cache.c.o CMakeFiles/clamav.dir/crtmgr.c.o CMakeFiles/clamav.dir/crypto.c.o CMakeFiles/clamav.dir/filetypes.c.o CMakeFiles/clamav.dir/fmap.c.o CMakeFiles/clamav.dir/mpool.c.o CMakeFiles/clamav.dir/others.c.o CMakeFiles/clamav.dir/perflogging.c.o CMakeFiles/clamav.dir/scanners.c.o CMakeFiles/clamav.dir/textdet.c.o CMakeFiles/clamav.dir/version.c.o CMakeFiles/clamav.dir/htmlnorm.c.o "CMakeFiles/clamav.dir/jsparse/js-norm.c.o" CMakeFiles/clamav.dir/textnorm.c.o CMakeFiles/clamav.dir/partition_intersection.c.o CMakeFiles/clamav.dir/special.c.o CMakeFiles/clamav.dir/hostid_internal.c.o CMakeFiles/clamav.dir/stats_json.c.o CMakeFiles/clamav.dir/stats.c.o CMakeFiles/clamav.dir/bytecode_api_decl.c.o CMakeFiles/clamav.dir/bytecode_api.c.o CMakeFiles/clamav.dir/bytecode_detect.c.o CMakeFiles/clamav.dir/bytecode_vm.c.o CMakeFiles/clamav.dir/bytecode.c.o CMakeFiles/clamav.dir/events.c.o CMakeFiles/clamav.dir/7z_iface.c.o CMakeFiles/clamav.dir/explode.c.o CMakeFiles/clamav.dir/inflate64.c.o CMakeFiles/clamav.dir/lzma_iface.c.o CMakeFiles/clamav.dir/lzw/lzwdec.c.o CMakeFiles/clamav.dir/xz_iface.c.o CMakeFiles/clamav.dir/arc4.c.o CMakeFiles/clamav.dir/rijndael.c.o CMakeFiles/clamav.dir/entconv.c.o CMakeFiles/clamav.dir/dlp.c.o CMakeFiles/clamav.dir/autoit.c.o CMakeFiles/clamav.dir/binhex.c.o CMakeFiles/clamav.dir/cpio.c.o CMakeFiles/clamav.dir/ishield.c.o CMakeFiles/clamav.dir/libmspack.c.o CMakeFiles/clamav.dir/msexpand.c.o CMakeFiles/clamav.dir/nsis/bzlib.c.o CMakeFiles/clamav.dir/nsis/infblock.c.o CMakeFiles/clamav.dir/nsis/nulsft.c.o CMakeFiles/clamav.dir/hwp.c.o CMakeFiles/clamav.dir/msdoc.c.o CMakeFiles/clamav.dir/msxml_parser.c.o CMakeFiles/clamav.dir/msxml.c.o CMakeFiles/clamav.dir/ole2_extract.c.o CMakeFiles/clamav.dir/xlm_extract.c.o CMakeFiles/clamav.dir/ooxml.c.o CMakeFiles/clamav.dir/rtf.c.o CMakeFiles/clamav.dir/vba_extract.c.o CMakeFiles/clamav.dir/asn1.c.o CMakeFiles/clamav.dir/elf.c.o CMakeFiles/clamav.dir/execs.c.o CMakeFiles/clamav.dir/macho.c.o CMakeFiles/clamav.dir/pe_icons.c.o CMakeFiles/clamav.dir/pe.c.o CMakeFiles/clamav.dir/rebuildpe.c.o CMakeFiles/clamav.dir/aspack.c.o CMakeFiles/clamav.dir/fsg.c.o CMakeFiles/clamav.dir/mew.c.o CMakeFiles/clamav.dir/packlibs.c.o CMakeFiles/clamav.dir/petite.c.o CMakeFiles/clamav.dir/spin.c.o CMakeFiles/clamav.dir/unsp.c.o CMakeFiles/clamav.dir/upack.c.o CMakeFiles/clamav.dir/upx.c.o CMakeFiles/clamav.dir/wwunpack.c.o CMakeFiles/clamav.dir/yc.c.o CMakeFiles/clamav.dir/line.c.o CMakeFiles/clamav.dir/mbox.c.o CMakeFiles/clamav.dir/message.c.o CMakeFiles/clamav.dir/phish_domaincheck_db.c.o CMakeFiles/clamav.dir/phish_allow_list.c.o CMakeFiles/clamav.dir/phishcheck.c.o CMakeFiles/clamav.dir/regex_list.c.o CMakeFiles/clamav.dir/regex_suffix.c.o CMakeFiles/clamav.dir/sis.c.o CMakeFiles/clamav.dir/tnef.c.o CMakeFiles/clamav.dir/uuencode.c.o CMakeFiles/clamav.dir/swf.c.o CMakeFiles/clamav.dir/pdf.c.o CMakeFiles/clamav.dir/pdfng.c.o CMakeFiles/clamav.dir/pdfdecode.c.o CMakeFiles/clamav.dir/xdp.c.o CMakeFiles/clamav.dir/unarj.c.o CMakeFiles/clamav.dir/is_tar.c.o CMakeFiles/clamav.dir/untar.c.o CMakeFiles/clamav.dir/unzip.c.o CMakeFiles/clamav.dir/adc.c.o CMakeFiles/clamav.dir/dmg.c.o CMakeFiles/clamav.dir/xar.c.o CMakeFiles/clamav.dir/egg.c.o CMakeFiles/clamav.dir/mbr.c.o CMakeFiles/clamav.dir/gpt.c.o CMakeFiles/clamav.dir/apm.c.o CMakeFiles/clamav.dir/hfsplus.c.o CMakeFiles/clamav.dir/iso9660.c.o CMakeFiles/clamav.dir/openioc.c.o CMakeFiles/clamav.dir/jpeg.c.o CMakeFiles/clamav.dir/png.c.o CMakeFiles/clamav.dir/tiff.c.o CMakeFiles/clamav.dir/gif.c.o CMakeFiles/regex.dir/regex/strlcpy.c.o CMakeFiles/regex.dir/regex/regcomp.c.o CMakeFiles/regex.dir/regex/regerror.c.o CMakeFiles/regex.dir/regex/regexec.c.o CMakeFiles/regex.dir/regex/regfree.c.o CMakeFiles/lzma_sdk.dir/7z/7zAlloc.c.o CMakeFiles/lzma_sdk.dir/7z/7zBuf.c.o CMakeFiles/lzma_sdk.dir/7z/7zBuf2.c.o CMakeFiles/lzma_sdk.dir/7z/7zCrc.c.o CMakeFiles/lzma_sdk.dir/7z/7zCrcOpt.c.o CMakeFiles/lzma_sdk.dir/7z/7zDec.c.o CMakeFiles/lzma_sdk.dir/7z/7zFile.c.o CMakeFiles/lzma_sdk.dir/7z/7zIn.c.o CMakeFiles/lzma_sdk.dir/7z/7zStream.c.o CMakeFiles/lzma_sdk.dir/7z/Bcj2.c.o CMakeFiles/lzma_sdk.dir/7z/Bra.c.o CMakeFiles/lzma_sdk.dir/7z/Bra86.c.o CMakeFiles/lzma_sdk.dir/7z/BraIA64.c.o CMakeFiles/lzma_sdk.dir/7z/CpuArch.c.o CMakeFiles/lzma_sdk.dir/7z/Delta.c.o CMakeFiles/lzma_sdk.dir/7z/Lzma2Dec.c.o CMakeFiles/lzma_sdk.dir/7z/LzmaDec.c.o CMakeFiles/lzma_sdk.dir/7z/Ppmd7.c.o CMakeFiles/lzma_sdk.dir/7z/Ppmd7Dec.c.o CMakeFiles/lzma_sdk.dir/7z/Xz.c.o CMakeFiles/lzma_sdk.dir/7z/XzCrc64.c.o CMakeFiles/lzma_sdk.dir/7z/XzDec.c.o CMakeFiles/lzma_sdk.dir/7z/XzIn.c.o CMakeFiles/yara.dir/yara_compiler.c.o CMakeFiles/yara.dir/yara_exec.c.o CMakeFiles/yara.dir/yara_hash.c.o CMakeFiles/yara.dir/yara_parser.c.o CMakeFiles/yara.dir/yara_arena.c.o CMakeFiles/yara.dir/yara_grammar.c.o CMakeFiles/yara.dir/yara_lexer.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add_d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_addmod.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_mag.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub_d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_submod.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_add.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_sub.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_radix_size.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_radix.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_signed_bin.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_unsigned_bin.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_reverse.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_s_rmap.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_signed_bin_size.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_signed_bin.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_unsigned_bin.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix_n.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_unsigned_bin_size.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_cnt_lsb.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_count_bits.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_lshd.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_mod_2d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_rshd.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div_d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod_d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_2expt.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_exptmod.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_ident.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_set.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_calc_normalization.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_reduce.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_setup.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_12.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_17.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_20.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_24.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_28.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_3.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_32.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_4.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_48.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_6.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_64.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_7.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_8.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_9.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_small_set.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mulmod.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/numtheory/fp_invmod.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_12.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_17.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_20.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_24.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_28.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_3.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_32.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_4.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_48.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_6.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_64.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_7.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_8.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_9.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_generic.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_small_set.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqrmod.c.o CMakeFiles/bytecode_runtime.dir/bytecode_nojit.c.o -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../libclammspack/libclammspack.so.0.8.0 ../s390x-unknown-linux-gnu/release/libclamav_rust.a /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -ldl -lm -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc -lc cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/cmake -E cmake_symlink_library libclamav.so.11.0.0 libclamav.so.11 libclamav.so gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 81%] Built target clamav /usr/bin/gmake -f common/CMakeFiles/common.dir/build.make common/CMakeFiles/common.dir/depend /usr/bin/gmake -f unit_tests/CMakeFiles/check_fpu_endian.dir/build.make unit_tests/CMakeFiles/check_fpu_endian.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/common /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common/CMakeFiles/common.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/CMakeFiles/check_fpu_endian.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f common/CMakeFiles/common.dir/build.make common/CMakeFiles/common.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/CMakeFiles/check_fpu_endian.dir/build.make unit_tests/CMakeFiles/check_fpu_endian.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 81%] Building C object common/CMakeFiles/common.dir/cert_util.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/cert_util.c.o -MF CMakeFiles/common.dir/cert_util.c.o.d -o CMakeFiles/common.dir/cert_util.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/cert_util.c [ 81%] Building C object unit_tests/CMakeFiles/check_fpu_endian.dir/check_fpu_endian.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_fpu_endian.dir/check_fpu_endian.c.o -MF CMakeFiles/check_fpu_endian.dir/check_fpu_endian.c.o.d -o CMakeFiles/check_fpu_endian.dir/check_fpu_endian.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_fpu_endian.c [ 81%] Linking C executable check_fpu_endian cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/check_fpu_endian.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/check_fpu_endian.dir/check_fpu_endian.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_addmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_mag.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_submod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_add.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_sub.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_radix_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_radix.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_signed_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_unsigned_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_reverse.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_s_rmap.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_signed_bin_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_signed_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_unsigned_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix_n.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_unsigned_bin_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_cnt_lsb.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_count_bits.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_lshd.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_mod_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_rshd.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_2expt.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_exptmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_ident.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_calc_normalization.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_reduce.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_setup.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_12.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_17.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_20.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_24.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_28.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_3.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_32.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_4.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_48.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_6.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_64.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_7.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_8.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_9.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_small_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mulmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/numtheory/fp_invmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_12.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_17.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_20.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_24.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_28.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_3.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_32.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_4.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_48.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_6.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_64.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_7.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_8.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_9.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_generic.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_small_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqrmod.c.o -o check_fpu_endian -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack ../libclamav/libclamav.so.11.0.0 /usr/lib64/libcheck.so /usr/lib64/libjson-c.so ../libclammspack/libclammspack.so.0.8.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so /usr/lib64/libpcre2-8.so ../s390x-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc -lc -ldl -lm /usr/lib64/librt.a /usr/lib64/libm.so /usr/lib64/libsubunit.so [ 82%] Building C object common/CMakeFiles/common.dir/actions.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/actions.c.o -MF CMakeFiles/common.dir/actions.c.o.d -o CMakeFiles/common.dir/actions.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/actions.c [ 82%] Building C object common/CMakeFiles/common.dir/clamdcom.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/clamdcom.c.o -MF CMakeFiles/common.dir/clamdcom.c.o.d -o CMakeFiles/common.dir/clamdcom.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/clamdcom.c [ 82%] Building C object common/CMakeFiles/common.dir/getopt.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/getopt.c.o -MF CMakeFiles/common.dir/getopt.c.o.d -o CMakeFiles/common.dir/getopt.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/getopt.c [ 82%] Building C object common/CMakeFiles/common.dir/hostid.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/hostid.c.o -MF CMakeFiles/common.dir/hostid.c.o.d -o CMakeFiles/common.dir/hostid.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/hostid.c [ 83%] Building C object common/CMakeFiles/common.dir/idmef_logging.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/idmef_logging.c.o -MF CMakeFiles/common.dir/idmef_logging.c.o.d -o CMakeFiles/common.dir/idmef_logging.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/idmef_logging.c [ 83%] Building C object common/CMakeFiles/common.dir/misc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/misc.c.o -MF CMakeFiles/common.dir/misc.c.o.d -o CMakeFiles/common.dir/misc.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/misc.c [ 83%] Building C object common/CMakeFiles/common.dir/optparser.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/optparser.c.o -MF CMakeFiles/common.dir/optparser.c.o.d -o CMakeFiles/common.dir/optparser.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/optparser.c [ 83%] Building C object common/CMakeFiles/common.dir/output.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/output.c.o -MF CMakeFiles/common.dir/output.c.o.d -o CMakeFiles/common.dir/output.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/output.c [ 84%] Building C object common/CMakeFiles/common.dir/tar.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/tar.c.o -MF CMakeFiles/common.dir/tar.c.o.d -o CMakeFiles/common.dir/tar.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/tar.c [ 84%] Building C object common/CMakeFiles/common.dir/linux/cert_util_linux.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/linux/cert_util_linux.c.o -MF CMakeFiles/common.dir/linux/cert_util_linux.c.o.d -o CMakeFiles/common.dir/linux/cert_util_linux.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/linux/cert_util_linux.c [ 84%] Linking C static library libcommon.a cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/cmake -P CMakeFiles/common.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/cmake -E cmake_link_script CMakeFiles/common.dir/link.txt --verbose=1 /usr/bin/ar qc libcommon.a CMakeFiles/common.dir/cert_util.c.o CMakeFiles/common.dir/actions.c.o CMakeFiles/common.dir/clamdcom.c.o CMakeFiles/common.dir/getopt.c.o CMakeFiles/common.dir/hostid.c.o CMakeFiles/common.dir/idmef_logging.c.o CMakeFiles/common.dir/misc.c.o CMakeFiles/common.dir/optparser.c.o CMakeFiles/common.dir/output.c.o CMakeFiles/common.dir/tar.c.o CMakeFiles/common.dir/linux/cert_util_linux.c.o /usr/bin/ranlib libcommon.a gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 84%] Built target common /usr/bin/gmake -f unit_tests/CMakeFiles/check_clamav.dir/build.make unit_tests/CMakeFiles/check_clamav.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/CMakeFiles/check_clamav.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/CMakeFiles/check_clamav.dir/build.make unit_tests/CMakeFiles/check_clamav.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 84%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_bytecode.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_bytecode.c.o -MF CMakeFiles/check_clamav.dir/check_bytecode.c.o.d -o CMakeFiles/check_clamav.dir/check_bytecode.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_bytecode.c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_bytecode.c: In function ‘runtest’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_bytecode.c:68:17: warning: unused variable ‘virname’ [-Wunused-variable] 68 | const char *virname = NULL; | ^~~~~~~ In file included from /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_bytecode.c:32: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_bytecode.c: At top level: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_bytecode.c:488:12: warning: ‘test_retmagic_7_int’ defined but not used [-Wunused-variable] 488 | START_TEST(test_retmagic_7_int) | ^~~~~~~~~~~~~~~~~~~ [ 84%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_clamav.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_clamav.c.o -MF CMakeFiles/check_clamav.dir/check_clamav.c.o.d -o CMakeFiles/check_clamav.dir/check_clamav.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c: In function ‘test_cl_cvdunpack_fn’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c:495:12: warning: unused variable ‘utf8_size’ [-Wunused-variable] 495 | size_t utf8_size = 0; | ^~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c:494:11: warning: unused variable ‘utf8’ [-Wunused-variable] 494 | char *utf8 = NULL; | ^~~~ /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c: In function ‘test_cl_cvdverify_fn’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c:478:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 478 | fread(cvd_bytes, 1, 5000, orig_fs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c:11: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c: At top level: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c:491:12: warning: ‘test_cl_cvdunpack’ defined but not used [-Wunused-variable] 491 | START_TEST(test_cl_cvdunpack) | ^~~~~~~~~~~~~~~~~ [ 84%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_disasm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_disasm.c.o -MF CMakeFiles/check_clamav.dir/check_disasm.c.o.d -o CMakeFiles/check_clamav.dir/check_disasm.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_disasm.c [ 85%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_htmlnorm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_htmlnorm.c.o -MF CMakeFiles/check_clamav.dir/check_htmlnorm.c.o.d -o CMakeFiles/check_clamav.dir/check_htmlnorm.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_htmlnorm.c [ 85%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_jsnorm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_jsnorm.c.o -MF CMakeFiles/check_clamav.dir/check_jsnorm.c.o.d -o CMakeFiles/check_clamav.dir/check_jsnorm.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_jsnorm.c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_jsnorm.c: In function ‘js_buffer_fn’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_jsnorm.c:408:45: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 408 | strncpy(tst + len - sizeof(e), e, sizeof(e)); | ^ /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_jsnorm.c:412:57: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 412 | strncpy(exp + sizeof(s_exp) + len - 2, e_exp, sizeof(e_exp)); | ^ /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_jsnorm.c:407:5: warning: ‘strncpy’ output may be truncated copying 3 bytes from a string of length 3 [-Wstringop-truncation] 407 | strncpy(tst, s, strlen(s)); | ^ [ 85%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_matchers.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_matchers.c.o -MF CMakeFiles/check_clamav.dir/check_matchers.c.o.d -o CMakeFiles/check_clamav.dir/check_matchers.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_matchers.c [ 85%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_regex.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_regex.c.o -MF CMakeFiles/check_clamav.dir/check_regex.c.o.d -o CMakeFiles/check_clamav.dir/check_regex.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_regex.c In file included from /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_regex.c:31: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_regex.c: In function ‘regex_list_match_test_fn’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_regex.c:297:22: warning: comparison between ‘cl_error_t’ and ‘rtr_t’ {aka ‘enum rtest_result’} [-Wenum-compare] 297 | ck_assert_msg(rc == rtest->result, "regex_list_match"); | ^~ /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_regex.c: In function ‘do_phishing_test’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_regex.c:439:29: warning: unused variable ‘viruname’ [-Wunused-variable] 439 | const char *viruname = NULL; | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_regex.c: In function ‘do_phishing_test_allscan’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_regex.c:546:29: warning: unused variable ‘viruname’ [-Wunused-variable] 546 | const char *viruname = NULL; | ^~~~~~~~ [ 86%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_str.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_str.c.o -MF CMakeFiles/check_clamav.dir/check_str.c.o.d -o CMakeFiles/check_clamav.dir/check_str.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_str.c In file included from /usr/include/string.h:548, from /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_str.c:31: In function ‘memcpy’, inlined from ‘textbuffer_append_len’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/jsparse/textbuf.h:48:5, inlined from ‘test_append_len_fn’ at /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_str.c:120:5: /usr/include/bits/string_fortified.h:29:10: warning: ‘memcpy’ forming offset [5, 1073741823] is out of the bounds [0, 5] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 86%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_uniq.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_uniq.c.o -MF CMakeFiles/check_clamav.dir/check_uniq.c.o.d -o CMakeFiles/check_clamav.dir/check_uniq.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_uniq.c [ 86%] Linking C executable check_clamav cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/check_clamav.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/check_clamav.dir/check_bytecode.c.o CMakeFiles/check_clamav.dir/check_clamav.c.o CMakeFiles/check_clamav.dir/check_disasm.c.o CMakeFiles/check_clamav.dir/check_htmlnorm.c.o CMakeFiles/check_clamav.dir/check_jsnorm.c.o CMakeFiles/check_clamav.dir/check_matchers.c.o CMakeFiles/check_clamav.dir/check_regex.c.o CMakeFiles/check_clamav.dir/check_str.c.o CMakeFiles/check_clamav.dir/check_uniq.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_addmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_mag.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_submod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_add.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_sub.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_radix_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_radix.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_signed_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_unsigned_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_reverse.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_s_rmap.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_signed_bin_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_signed_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_unsigned_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix_n.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_unsigned_bin_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_cnt_lsb.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_count_bits.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_lshd.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_mod_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_rshd.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_2expt.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_exptmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_ident.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_calc_normalization.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_reduce.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_setup.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_12.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_17.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_20.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_24.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_28.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_3.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_32.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_4.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_48.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_6.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_64.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_7.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_8.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_9.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_small_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mulmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/numtheory/fp_invmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_12.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_17.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_20.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_24.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_28.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_3.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_32.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_4.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_48.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_6.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_64.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_7.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_8.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_9.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_generic.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_small_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqrmod.c.o -o check_clamav -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack ../libclamav/libclamav.so.11.0.0 /usr/lib64/libcheck.so /usr/lib64/libjson-c.so ../libclammspack/libclammspack.so.0.8.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so /usr/lib64/libpcre2-8.so ../s390x-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc -lc -ldl -lm /usr/lib64/librt.a /usr/lib64/libm.so /usr/lib64/libsubunit.so In function ‘memcpy’, inlined from ‘textbuffer_append_len’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/jsparse/textbuf.h:48:5, inlined from ‘test_append_len_fn’ at /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_str.c:120:5: /usr/include/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ reading 1073741824 bytes from a region of size 5 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 86%] Built target check_fpu_endian /usr/bin/gmake -f libfreshclam/CMakeFiles/freshclam.dir/build.make libfreshclam/CMakeFiles/freshclam.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libfreshclam /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/CMakeFiles/freshclam.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libfreshclam/CMakeFiles/freshclam.dir/build.make libfreshclam/CMakeFiles/freshclam.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 86%] Building C object libfreshclam/CMakeFiles/freshclam.dir/libfreshclam.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam && /usr/bin/gcc -DHAVE_CONFIG_H -Dfreshclam_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/libfreshclam -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libfreshclam/CMakeFiles/freshclam.dir/libfreshclam.c.o -MF CMakeFiles/freshclam.dir/libfreshclam.c.o.d -o CMakeFiles/freshclam.dir/libfreshclam.c.o -c /builddir/build/BUILD/clamav-1.0.6/libfreshclam/libfreshclam.c [ 87%] Building C object libfreshclam/CMakeFiles/freshclam.dir/libfreshclam_internal.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam && /usr/bin/gcc -DHAVE_CONFIG_H -Dfreshclam_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/libfreshclam -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libfreshclam/CMakeFiles/freshclam.dir/libfreshclam_internal.c.o -MF CMakeFiles/freshclam.dir/libfreshclam_internal.c.o.d -o CMakeFiles/freshclam.dir/libfreshclam_internal.c.o -c /builddir/build/BUILD/clamav-1.0.6/libfreshclam/libfreshclam_internal.c [ 87%] Building C object libfreshclam/CMakeFiles/freshclam.dir/dns.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam && /usr/bin/gcc -DHAVE_CONFIG_H -Dfreshclam_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/libfreshclam -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libfreshclam/CMakeFiles/freshclam.dir/dns.c.o -MF CMakeFiles/freshclam.dir/dns.c.o.d -o CMakeFiles/freshclam.dir/dns.c.o -c /builddir/build/BUILD/clamav-1.0.6/libfreshclam/dns.c [ 87%] Linking C shared library libfreshclam.so cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam && /usr/bin/cmake -E cmake_link_script CMakeFiles/freshclam.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libfreshclam.so.2 -o libfreshclam.so.2.0.2 CMakeFiles/freshclam.dir/libfreshclam.c.o CMakeFiles/freshclam.dir/libfreshclam_internal.c.o CMakeFiles/freshclam.dir/dns.c.o -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a /usr/lib64/libcurl.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so -lresolv ../libclamav/libclamav.so.11.0.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so ../libclammspack/libclammspack.so.0.8.0 ../s390x-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libz.so /usr/lib64/libsystemd.so cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam && /usr/bin/cmake -E cmake_symlink_library libfreshclam.so.2.0.2 libfreshclam.so.2 libfreshclam.so gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 87%] Built target freshclam /usr/bin/gmake -f clamconf/CMakeFiles/clamconf.dir/build.make clamconf/CMakeFiles/clamconf.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clamconf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamconf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamconf/CMakeFiles/clamconf.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clamconf/CMakeFiles/clamconf.dir/build.make clamconf/CMakeFiles/clamconf.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 87%] Building C object clamconf/CMakeFiles/clamconf.dir/clamconf.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamconf && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamconf/CMakeFiles/clamconf.dir/clamconf.c.o -MF CMakeFiles/clamconf.dir/clamconf.c.o.d -o CMakeFiles/clamconf.dir/clamconf.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamconf/clamconf.c /builddir/build/BUILD/clamav-1.0.6/clamconf/clamconf.c: In function ‘main’: /builddir/build/BUILD/clamav-1.0.6/clamconf/clamconf.c:492:13: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 492 | strncpy(dbdir, pt, sizeof(dbdir)); | ^ [ 87%] Linking C executable clamconf cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamconf && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamconf.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/clamconf.dir/clamconf.c.o -o clamconf -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../s390x-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 87%] Built target clamconf /usr/bin/gmake -f clamd/CMakeFiles/clamd.dir/build.make clamd/CMakeFiles/clamd.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clamd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/CMakeFiles/clamd.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clamd/CMakeFiles/clamd.dir/build.make clamd/CMakeFiles/clamd.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 88%] Building C object clamd/CMakeFiles/clamd.dir/clamd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/clamd.c.o -MF CMakeFiles/clamd.dir/clamd.c.o.d -o CMakeFiles/clamd.dir/clamd.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamd/clamd.c [ 88%] Building C object clamd/CMakeFiles/clamd.dir/clamd_others.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/clamd_others.c.o -MF CMakeFiles/clamd.dir/clamd_others.c.o.d -o CMakeFiles/clamd.dir/clamd_others.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamd/clamd_others.c [ 88%] Building C object clamd/CMakeFiles/clamd.dir/localserver.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/localserver.c.o -MF CMakeFiles/clamd.dir/localserver.c.o.d -o CMakeFiles/clamd.dir/localserver.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamd/localserver.c [ 88%] Building C object clamd/CMakeFiles/clamd.dir/scanner.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/scanner.c.o -MF CMakeFiles/clamd.dir/scanner.c.o.d -o CMakeFiles/clamd.dir/scanner.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamd/scanner.c [ 89%] Building C object clamd/CMakeFiles/clamd.dir/server-th.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/server-th.c.o -MF CMakeFiles/clamd.dir/server-th.c.o.d -o CMakeFiles/clamd.dir/server-th.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamd/server-th.c [ 89%] Building C object clamd/CMakeFiles/clamd.dir/session.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/session.c.o -MF CMakeFiles/clamd.dir/session.c.o.d -o CMakeFiles/clamd.dir/session.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamd/session.c [ 89%] Building C object clamd/CMakeFiles/clamd.dir/tcpserver.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/tcpserver.c.o -MF CMakeFiles/clamd.dir/tcpserver.c.o.d -o CMakeFiles/clamd.dir/tcpserver.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamd/tcpserver.c [ 89%] Building C object clamd/CMakeFiles/clamd.dir/thrmgr.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/thrmgr.c.o -MF CMakeFiles/clamd.dir/thrmgr.c.o.d -o CMakeFiles/clamd.dir/thrmgr.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamd/thrmgr.c [ 90%] Linking C executable clamd cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamd.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/clamd.dir/clamd.c.o CMakeFiles/clamd.dir/clamd_others.c.o CMakeFiles/clamd.dir/localserver.c.o CMakeFiles/clamd.dir/scanner.c.o "CMakeFiles/clamd.dir/server-th.c.o" CMakeFiles/clamd.dir/session.c.o CMakeFiles/clamd.dir/tcpserver.c.o CMakeFiles/clamd.dir/thrmgr.c.o -o clamd -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../s390x-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/cmake -E copy /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav.hdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/. gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 90%] Built target check_clamav /usr/bin/gmake -f clamdscan/CMakeFiles/clamdscan.dir/build.make clamdscan/CMakeFiles/clamdscan.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clamdscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/CMakeFiles/clamdscan.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clamdscan/CMakeFiles/clamdscan.dir/build.make clamdscan/CMakeFiles/clamdscan.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 90%] Building C object clamdscan/CMakeFiles/clamdscan.dir/clamdscan.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamdscan/CMakeFiles/clamdscan.dir/clamdscan.c.o -MF CMakeFiles/clamdscan.dir/clamdscan.c.o.d -o CMakeFiles/clamdscan.dir/clamdscan.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamdscan/clamdscan.c [ 90%] Building C object clamdscan/CMakeFiles/clamdscan.dir/client.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamdscan/CMakeFiles/clamdscan.dir/client.c.o -MF CMakeFiles/clamdscan.dir/client.c.o.d -o CMakeFiles/clamdscan.dir/client.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamdscan/client.c [ 90%] Building C object clamdscan/CMakeFiles/clamdscan.dir/proto.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamdscan/CMakeFiles/clamdscan.dir/proto.c.o -MF CMakeFiles/clamdscan.dir/proto.c.o.d -o CMakeFiles/clamdscan.dir/proto.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamdscan/proto.c [ 91%] Linking C executable clamdscan cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamdscan.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/clamdscan.dir/clamdscan.c.o CMakeFiles/clamdscan.dir/client.c.o CMakeFiles/clamdscan.dir/proto.c.o -o clamdscan -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../s390x-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 91%] Built target clamdscan /usr/bin/gmake -f clamonacc/CMakeFiles/clamonacc.dir/build.make clamonacc/CMakeFiles/clamonacc.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clamonacc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc/CMakeFiles/clamonacc.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clamonacc/CMakeFiles/clamonacc.dir/build.make clamonacc/CMakeFiles/clamonacc.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 91%] Built target clamd /usr/bin/gmake -f clamav-milter/CMakeFiles/clamav-milter.dir/build.make clamav-milter/CMakeFiles/clamav-milter.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clamav-milter /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav-milter /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav-milter/CMakeFiles/clamav-milter.dir/DependInfo.cmake "--color=" [ 91%] Building C object clamonacc/CMakeFiles/clamonacc.dir/clamonacc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/clamonacc.c.o -MF CMakeFiles/clamonacc.dir/clamonacc.c.o.d -o CMakeFiles/clamonacc.dir/clamonacc.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/clamonacc.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clamav-milter/CMakeFiles/clamav-milter.dir/build.make clamav-milter/CMakeFiles/clamav-milter.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 91%] Building C object clamav-milter/CMakeFiles/clamav-milter.dir/clamav-milter.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav-milter && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamav-milter/CMakeFiles/clamav-milter.dir/clamav-milter.c.o -MF CMakeFiles/clamav-milter.dir/clamav-milter.c.o.d -o CMakeFiles/clamav-milter.dir/clamav-milter.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamav-milter/clamav-milter.c /builddir/build/BUILD/clamav-1.0.6/clamav-milter/clamav-milter.c: In function ‘main’: /builddir/build/BUILD/clamav-1.0.6/clamav-milter/clamav-milter.c:185:73: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 237 [-Wformat-truncation=] 185 | snprintf(xvirushdr, sizeof(xvirushdr), "clamav-milter %s at %s", | ^~ 186 | get_version(), myname); | ~~~~~~ In file included from /usr/include/stdio.h:980, from /builddir/build/BUILD/clamav-1.0.6/clamav-milter/clamav-milter.c:26: In function ‘snprintf’, inlined from ‘main’ at /builddir/build/BUILD/clamav-1.0.6/clamav-milter/clamav-milter.c:185:13: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 19 or more bytes (assuming 273) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [ 91%] Building C object clamonacc/CMakeFiles/clamonacc.dir/c-thread-pool/thpool.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/c-thread-pool/thpool.c.o -MF CMakeFiles/clamonacc.dir/c-thread-pool/thpool.c.o.d -o CMakeFiles/clamonacc.dir/c-thread-pool/thpool.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/c-thread-pool/thpool.c [ 91%] Building C object clamav-milter/CMakeFiles/clamav-milter.dir/clamfi.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav-milter && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamav-milter/CMakeFiles/clamav-milter.dir/clamfi.c.o -MF CMakeFiles/clamav-milter.dir/clamfi.c.o.d -o CMakeFiles/clamav-milter.dir/clamfi.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamav-milter/clamfi.c [ 92%] Building C object clamonacc/CMakeFiles/clamonacc.dir/client/client.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/client/client.c.o -MF CMakeFiles/clamonacc.dir/client/client.c.o.d -o CMakeFiles/clamonacc.dir/client/client.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/client/client.c /builddir/build/BUILD/clamav-1.0.6/clamonacc/client/client.c: In function ‘onas_setup_client’: /builddir/build/BUILD/clamav-1.0.6/clamonacc/client/client.c:409:29: warning: unused variable ‘opt’ [-Wunused-variable] 409 | const struct optstruct *opt; | ^~~ [ 92%] Building C object clamav-milter/CMakeFiles/clamav-milter.dir/connpool.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav-milter && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamav-milter/CMakeFiles/clamav-milter.dir/connpool.c.o -MF CMakeFiles/clamav-milter.dir/connpool.c.o.d -o CMakeFiles/clamav-milter.dir/connpool.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamav-milter/connpool.c [ 92%] Building C object clamonacc/CMakeFiles/clamonacc.dir/client/communication.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/client/communication.c.o -MF CMakeFiles/clamonacc.dir/client/communication.c.o.d -o CMakeFiles/clamonacc.dir/client/communication.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/client/communication.c /builddir/build/BUILD/clamav-1.0.6/clamav-milter/connpool.c: In function ‘cpool_init’: /builddir/build/BUILD/clamav-1.0.6/clamav-milter/connpool.c:212:29: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 212 | if (!(cp = calloc(sizeof(*cp), 1))) { | ^ /builddir/build/BUILD/clamav-1.0.6/clamav-milter/connpool.c:212:29: note: earlier argument should specify number of elements, later size of each element [ 93%] Building C object clamav-milter/CMakeFiles/clamav-milter.dir/netcode.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav-milter && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamav-milter/CMakeFiles/clamav-milter.dir/netcode.c.o -MF CMakeFiles/clamav-milter.dir/netcode.c.o.d -o CMakeFiles/clamav-milter.dir/netcode.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamav-milter/netcode.c [ 93%] Building C object clamonacc/CMakeFiles/clamonacc.dir/client/protocol.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/client/protocol.c.o -MF CMakeFiles/clamonacc.dir/client/protocol.c.o.d -o CMakeFiles/clamonacc.dir/client/protocol.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/client/protocol.c [ 93%] Building C object clamav-milter/CMakeFiles/clamav-milter.dir/allow_list.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav-milter && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamav-milter/CMakeFiles/clamav-milter.dir/allow_list.c.o -MF CMakeFiles/clamav-milter.dir/allow_list.c.o.d -o CMakeFiles/clamav-milter.dir/allow_list.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamav-milter/allow_list.c [ 93%] Building C object clamonacc/CMakeFiles/clamonacc.dir/client/socket.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/client/socket.c.o -MF CMakeFiles/clamonacc.dir/client/socket.c.o.d -o CMakeFiles/clamonacc.dir/client/socket.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/client/socket.c [ 93%] Linking C executable clamav-milter cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav-milter && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamav-milter.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes "CMakeFiles/clamav-milter.dir/clamav-milter.c.o" "CMakeFiles/clamav-milter.dir/clamfi.c.o" "CMakeFiles/clamav-milter.dir/connpool.c.o" "CMakeFiles/clamav-milter.dir/netcode.c.o" "CMakeFiles/clamav-milter.dir/allow_list.c.o" -o clamav-milter -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a /usr/lib64/libmilter.so ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../s390x-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so [ 93%] Building C object clamonacc/CMakeFiles/clamonacc.dir/fanotif/fanotif.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/fanotif/fanotif.c.o -MF CMakeFiles/clamonacc.dir/fanotif/fanotif.c.o.d -o CMakeFiles/clamonacc.dir/fanotif/fanotif.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/fanotif/fanotif.c [ 94%] Building C object clamonacc/CMakeFiles/clamonacc.dir/inotif/inotif.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/inotif/inotif.c.o -MF CMakeFiles/clamonacc.dir/inotif/inotif.c.o.d -o CMakeFiles/clamonacc.dir/inotif/inotif.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/inotif/inotif.c [ 94%] Building C object clamonacc/CMakeFiles/clamonacc.dir/inotif/hash.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/inotif/hash.c.o -MF CMakeFiles/clamonacc.dir/inotif/hash.c.o.d -o CMakeFiles/clamonacc.dir/inotif/hash.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/inotif/hash.c [ 94%] Building C object clamonacc/CMakeFiles/clamonacc.dir/misc/utils.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/misc/utils.c.o -MF CMakeFiles/clamonacc.dir/misc/utils.c.o.d -o CMakeFiles/clamonacc.dir/misc/utils.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/misc/utils.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 94%] Built target clamav-milter /usr/bin/gmake -f clamscan/CMakeFiles/clamscan.dir/build.make clamscan/CMakeFiles/clamscan.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/CMakeFiles/clamscan.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clamscan/CMakeFiles/clamscan.dir/build.make clamscan/CMakeFiles/clamscan.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 94%] Building C object clamscan/CMakeFiles/clamscan.dir/clamscan.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamscan/CMakeFiles/clamscan.dir/clamscan.c.o -MF CMakeFiles/clamscan.dir/clamscan.c.o.d -o CMakeFiles/clamscan.dir/clamscan.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamscan/clamscan.c [ 94%] Building C object clamonacc/CMakeFiles/clamonacc.dir/scan/onas_queue.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/scan/onas_queue.c.o -MF CMakeFiles/clamonacc.dir/scan/onas_queue.c.o.d -o CMakeFiles/clamonacc.dir/scan/onas_queue.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/scan/onas_queue.c [ 94%] Building C object clamscan/CMakeFiles/clamscan.dir/manager.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamscan/CMakeFiles/clamscan.dir/manager.c.o -MF CMakeFiles/clamscan.dir/manager.c.o.d -o CMakeFiles/clamscan.dir/manager.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamscan/manager.c [ 95%] Building C object clamonacc/CMakeFiles/clamonacc.dir/scan/thread.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/scan/thread.c.o -MF CMakeFiles/clamonacc.dir/scan/thread.c.o.d -o CMakeFiles/clamonacc.dir/scan/thread.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/scan/thread.c [ 95%] Linking C executable clamonacc cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamonacc.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/clamonacc.dir/clamonacc.c.o "CMakeFiles/clamonacc.dir/c-thread-pool/thpool.c.o" CMakeFiles/clamonacc.dir/client/client.c.o CMakeFiles/clamonacc.dir/client/communication.c.o CMakeFiles/clamonacc.dir/client/protocol.c.o CMakeFiles/clamonacc.dir/client/socket.c.o CMakeFiles/clamonacc.dir/fanotif/fanotif.c.o CMakeFiles/clamonacc.dir/inotif/inotif.c.o CMakeFiles/clamonacc.dir/inotif/hash.c.o CMakeFiles/clamonacc.dir/misc/utils.c.o CMakeFiles/clamonacc.dir/scan/onas_queue.c.o CMakeFiles/clamonacc.dir/scan/thread.c.o -o clamonacc -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a /usr/lib64/libcurl.so ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../s390x-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libsystemd.so In function ‘checkaccess’, inlined from ‘scanfile’ at /builddir/build/BUILD/clamav-1.0.6/clamscan/manager.c:376:13: /builddir/build/BUILD/clamav-1.0.6/clamscan/manager.c:90:21: warning: argument 1 null where non-null expected [-Wnonnull] 90 | if ((user = getpwnam(username)) == NULL) { | ^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/clamav-1.0.6/clamscan/manager.c:34: /usr/include/pwd.h: In function ‘scanfile’: /usr/include/pwd.h:116:23: note: in a call to function ‘getpwnam’ declared ‘nonnull’ 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ^~~~~~~~ [ 96%] Linking C executable clamscan cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamscan.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/clamscan.dir/clamscan.c.o CMakeFiles/clamscan.dir/manager.c.o -o clamscan -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../s390x-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 96%] Built target clamscan /usr/bin/gmake -f sigtool/CMakeFiles/sigtool.dir/build.make sigtool/CMakeFiles/sigtool.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/sigtool /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/CMakeFiles/sigtool.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f sigtool/CMakeFiles/sigtool.dir/build.make sigtool/CMakeFiles/sigtool.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 96%] Building C object sigtool/CMakeFiles/sigtool.dir/sigtool.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT sigtool/CMakeFiles/sigtool.dir/sigtool.c.o -MF CMakeFiles/sigtool.dir/sigtool.c.o.d -o CMakeFiles/sigtool.dir/sigtool.c.o -c /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 96%] Built target clamonacc /usr/bin/gmake -f clambc/CMakeFiles/clambc.dir/build.make clambc/CMakeFiles/clambc.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clambc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clambc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clambc/CMakeFiles/clambc.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clambc/CMakeFiles/clambc.dir/build.make clambc/CMakeFiles/clambc.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 97%] Building C object clambc/CMakeFiles/clambc.dir/bcrun.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clambc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clambc/CMakeFiles/clambc.dir/bcrun.c.o -MF CMakeFiles/clambc.dir/bcrun.c.o.d -o CMakeFiles/clambc.dir/bcrun.c.o -c /builddir/build/BUILD/clamav-1.0.6/clambc/bcrun.c /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c: In function ‘decodehex’: /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:2595:19: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2595 | (void)write(1, decoded, dlen); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:2676:19: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2676 | (void)write(1, decoded, dlen); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:2688:15: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2688 | (void)write(1, decoded, dlen); | ^~~~~~~~~~~~~~~~~~~~~~~ [ 97%] Linking C executable clambc cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clambc && /usr/bin/cmake -E cmake_link_script CMakeFiles/clambc.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/clambc.dir/bcrun.c.o -o clambc -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../s390x-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c: In function ‘decodehex.isra.0’: /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:2539:46: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 2539 | mprintf(LOGG_INFO, " +-> CFLAGS: %s\n", cflags); | ^~ /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:2500:30: warning: ‘rlen’ may be used uninitialized [-Wmaybe-uninitialized] 2500 | clen = hexlen - tlen - rlen - 2; /* 2 from regex boundaries '/' */ | ~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:2474:38: note: ‘rlen’ was declared here 2474 | size_t tlen = wild - hexsig, rlen, clen; | ^~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 97%] Built target clambc [ 98%] Building C object sigtool/CMakeFiles/sigtool.dir/vba.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT sigtool/CMakeFiles/sigtool.dir/vba.c.o -MF CMakeFiles/sigtool.dir/vba.c.o.d -o CMakeFiles/sigtool.dir/vba.c.o -c /builddir/build/BUILD/clamav-1.0.6/sigtool/vba.c /builddir/build/BUILD/clamav-1.0.6/sigtool/vba.c: In function ‘get_unicode_name’: /builddir/build/BUILD/clamav-1.0.6/sigtool/vba.c:216:41: warning: comparison is always true due to limited range of data type [-Wtype-limits] 216 | if (name[i] < 10 && name[i] >= 0) { | ^~ /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c: In function ‘build’: /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:820:56: warning: ‘__snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 820 | snprintf(dbfile, sizeof(dbfile), "%s.%s", dbname, dblist[i].ext); | ^ In file included from /usr/include/stdio.h:980, from /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:29: In function ‘snprintf’, inlined from ‘build’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:820:17: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 37) into a destination of size 36 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c: In function ‘build’: /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:622:37: warning: ‘.info’ directive output may be truncated writing 5 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 622 | snprintf(file, sizeof(file), "%s.info", dbname); | ^~~~~ In function ‘snprintf’, inlined from ‘writeinfo’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:622:5, inlined from ‘build’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:927:9: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 6 and 37 bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c: In function ‘build’: /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:659:50: warning: ‘%s’ directive output may be truncated writing likely 4 or more bytes into a region of size between 0 and 31 [-Wformat-truncation=] 659 | snprintf(dbfile, sizeof(dbfile), "%s.%s", dbname, dblist[i].ext); | ^~ In function ‘writeinfo’, inlined from ‘build’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:927:9: /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:659:46: note: assuming directive output of 4 bytes 659 | snprintf(dbfile, sizeof(dbfile), "%s.%s", dbname, dblist[i].ext); | ^~~~~~~ In function ‘snprintf’, inlined from ‘writeinfo’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:659:13, inlined from ‘build’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:927:9: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 37) into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c: In function ‘build’: /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:977:52: warning: ‘__snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 977 | snprintf(dbfile, sizeof(dbfile), "%s.%s", dbname, dblist[i].ext); | ^ In function ‘snprintf’, inlined from ‘build’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:977:13: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 37) into a destination of size 36 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/bin/gmake -f clamsubmit/CMakeFiles/clamsubmit.dir/build.make clamsubmit/CMakeFiles/clamsubmit.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clamsubmit /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamsubmit /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamsubmit/CMakeFiles/clamsubmit.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clamsubmit/CMakeFiles/clamsubmit.dir/build.make clamsubmit/CMakeFiles/clamsubmit.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 98%] Building C object clamsubmit/CMakeFiles/clamsubmit.dir/clamsubmit.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamsubmit && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamsubmit/CMakeFiles/clamsubmit.dir/clamsubmit.c.o -MF CMakeFiles/clamsubmit.dir/clamsubmit.c.o.d -o CMakeFiles/clamsubmit.dir/clamsubmit.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c: In function ‘main’: /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:3243:38: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 31 [-Wformat-truncation=] 3243 | snprintf(name, sizeof(name), "%s-%u.script", getdbname(opts->filename[0], dbname, sizeof(dbname)), newver); | ^~ In function ‘snprintf’, inlined from ‘makediff’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:3243:5, inlined from ‘main’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:3550:15: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 10 and 50 bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c: In function ‘main’: /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:472:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 472 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "key", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:40: /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:472:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 472 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "key", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:472:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 472 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "key", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:479:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 479 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "acl", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:479:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 479 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "acl", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:479:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 479 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "acl", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:486:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 486 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "policy", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:486:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 486 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "policy", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:486:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 486 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "policy", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:493:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 493 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-meta-original-filename", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:493:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 493 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-meta-original-filename", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:493:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 493 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-meta-original-filename", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:500:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 500 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-credential", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:500:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 500 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-credential", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:500:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 500 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-credential", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:507:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 507 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-algorithm", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:507:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 507 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-algorithm", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:507:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 507 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-algorithm", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:514:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 514 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-date", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:514:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 514 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-date", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:514:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 514 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-date", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:521:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 521 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-signature", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:521:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 521 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-signature", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:521:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 521 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-signature", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:523:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 523 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "file", CURLFORM_FILE, filename, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:523:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 523 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "file", CURLFORM_FILE, filename, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:523:5: warning: ‘CURLFORM_FILE’ is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 523 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "file", CURLFORM_FILE, filename, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2515:3: note: declared here 2515 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:528:5: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 528 | curl_easy_setopt(aws_curl, CURLOPT_HTTPPOST, post); | ^~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:1191:3: note: declared here 1191 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:537:5: warning: ‘curl_formfree’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 537 | curl_formfree(post); | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2617:1: note: declared here 2617 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:557:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 557 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "utf8", CURLFORM_COPYCONTENTS, "\x27\x13", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:557:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 557 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "utf8", CURLFORM_COPYCONTENTS, "\x27\x13", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:557:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 557 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "utf8", CURLFORM_COPYCONTENTS, "\x27\x13", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:558:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 558 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "authenticity_token", CURLFORM_COPYCONTENTS, authenticity_token, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:558:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 558 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "authenticity_token", CURLFORM_COPYCONTENTS, authenticity_token, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:558:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 558 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "authenticity_token", CURLFORM_COPYCONTENTS, authenticity_token, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:559:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 559 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "submissionID", CURLFORM_COPYCONTENTS, submissionID, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:559:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 559 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "submissionID", CURLFORM_COPYCONTENTS, submissionID, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:559:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 559 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "submissionID", CURLFORM_COPYCONTENTS, submissionID, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:560:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 560 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "type", CURLFORM_COPYCONTENTS, malware ? "malware" : "fp", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:560:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 560 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "type", CURLFORM_COPYCONTENTS, malware ? "malware" : "fp", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:560:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 560 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "type", CURLFORM_COPYCONTENTS, malware ? "malware" : "fp", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:561:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 561 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "sendername", CURLFORM_COPYCONTENTS, name, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:561:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 561 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "sendername", CURLFORM_COPYCONTENTS, name, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:561:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 561 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "sendername", CURLFORM_COPYCONTENTS, name, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:562:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 562 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "email", CURLFORM_COPYCONTENTS, email, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:562:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 562 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "email", CURLFORM_COPYCONTENTS, email, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:562:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 562 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "email", CURLFORM_COPYCONTENTS, email, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:564:9: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 564 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "shareSample", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:564:9: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 564 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "shareSample", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:564:9: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 564 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "shareSample", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:566:9: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 566 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "virusname", CURLFORM_COPYCONTENTS, fpvname, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:566:9: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 566 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "virusname", CURLFORM_COPYCONTENTS, fpvname, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:566:9: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 566 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "virusname", CURLFORM_COPYCONTENTS, fpvname, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:568:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 568 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "description", CURLFORM_COPYCONTENTS, "clamsubmit", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:568:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 568 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "description", CURLFORM_COPYCONTENTS, "clamsubmit", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:568:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 568 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "description", CURLFORM_COPYCONTENTS, "clamsubmit", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:569:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 569 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "notify", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:569:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 569 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "notify", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:569:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 569 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "notify", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:570:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 570 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "privacy", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:570:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 570 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "privacy", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:570:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 570 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "privacy", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:573:5: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 573 | curl_easy_setopt(clam_curl, CURLOPT_HTTPPOST, post); | ^~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:1191:3: note: declared here 1191 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:618:9: warning: ‘curl_formfree’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 618 | curl_formfree(post); | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2617:1: note: declared here 2617 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ [ 98%] Linking C executable sigtool cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool && /usr/bin/cmake -E cmake_link_script CMakeFiles/sigtool.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/sigtool.dir/sigtool.c.o CMakeFiles/sigtool.dir/vba.c.o -o sigtool -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../s390x-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so [ 98%] Linking C executable clamsubmit cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamsubmit && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamsubmit.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/clamsubmit.dir/clamsubmit.c.o -o clamsubmit -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libjson-c.so /usr/lib64/libcurl.so ../libclamav/libclamav.so.11.0.0 /usr/lib64/libjson-c.so ../libclammspack/libclammspack.so.0.8.0 ../s390x-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libsystemd.so gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 98%] Built target clamsubmit /usr/bin/gmake -f freshclam/CMakeFiles/freshclam-bin.dir/build.make freshclam/CMakeFiles/freshclam-bin.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/freshclam /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/CMakeFiles/freshclam-bin.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f freshclam/CMakeFiles/freshclam-bin.dir/build.make freshclam/CMakeFiles/freshclam-bin.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 98%] Building C object freshclam/CMakeFiles/freshclam-bin.dir/freshclam.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libfreshclam -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT freshclam/CMakeFiles/freshclam-bin.dir/freshclam.c.o -MF CMakeFiles/freshclam-bin.dir/freshclam.c.o.d -o CMakeFiles/freshclam-bin.dir/freshclam.c.o -c /builddir/build/BUILD/clamav-1.0.6/freshclam/freshclam.c [ 99%] Building C object freshclam/CMakeFiles/freshclam-bin.dir/execute.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libfreshclam -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT freshclam/CMakeFiles/freshclam-bin.dir/execute.c.o -MF CMakeFiles/freshclam-bin.dir/execute.c.o.d -o CMakeFiles/freshclam-bin.dir/execute.c.o -c /builddir/build/BUILD/clamav-1.0.6/freshclam/execute.c [ 99%] Building C object freshclam/CMakeFiles/freshclam-bin.dir/notify.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libfreshclam -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT freshclam/CMakeFiles/freshclam-bin.dir/notify.c.o -MF CMakeFiles/freshclam-bin.dir/notify.c.o.d -o CMakeFiles/freshclam-bin.dir/notify.c.o -c /builddir/build/BUILD/clamav-1.0.6/freshclam/notify.c [ 99%] Linking C executable freshclam cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam && /usr/bin/cmake -E cmake_link_script CMakeFiles/freshclam-bin.dir/link.txt --verbose=1 gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes "CMakeFiles/freshclam-bin.dir/freshclam.c.o" "CMakeFiles/freshclam-bin.dir/execute.c.o" "CMakeFiles/freshclam-bin.dir/notify.c.o" -o freshclam -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../libfreshclam/libfreshclam.so.2.0.2 ../common/libcommon.a ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../s390x-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libz.so /usr/lib64/libsystemd.so /usr/lib64/libcurl.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so -lresolv [ 99%] Built target sigtool /usr/bin/gmake -f clamdtop/CMakeFiles/clamdtop.dir/build.make clamdtop/CMakeFiles/clamdtop.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clamdtop /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdtop /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdtop/CMakeFiles/clamdtop.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clamdtop/CMakeFiles/clamdtop.dir/build.make clamdtop/CMakeFiles/clamdtop.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 99%] Building C object clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdtop && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MD -MT clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o -MF CMakeFiles/clamdtop.dir/clamdtop.c.o.d -o CMakeFiles/clamdtop.dir/clamdtop.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamdtop/clamdtop.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 99%] Built target freshclam-bin /usr/bin/gmake -f unit_tests/CMakeFiles/check_clamd.dir/build.make unit_tests/CMakeFiles/check_clamd.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/CMakeFiles/check_clamd.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/CMakeFiles/check_clamd.dir/build.make unit_tests/CMakeFiles/check_clamd.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 99%] Building C object unit_tests/CMakeFiles/check_clamd.dir/check_clamd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamd.dir/check_clamd.c.o -MF CMakeFiles/check_clamd.dir/check_clamd.c.o.d -o CMakeFiles/check_clamd.dir/check_clamd.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamd.c [ 99%] Linking C executable clamdtop cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdtop && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamdtop.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/clamdtop.dir/clamdtop.c.o -o clamdtop -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../s390x-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so -lncurses /usr/lib64/libtinfo.so /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamd.c: In function ‘commands_setup’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamd.c:156:17: warning: unused variable ‘nonempty’ [-Wunused-variable] 156 | const char *nonempty = "NONEMPTYFILE"; | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamd.c: In function ‘test_fildes_many_fn’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamd.c:569:21: warning: variable ‘killed’ set but not used [-Wunused-but-set-variable] 569 | int dummyfd, i, killed = 0; | ^~~~~~ /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamd.c: At top level: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamd.c:66:12: warning: ‘conn_tcp’ defined but not used [-Wunused-function] 66 | static int conn_tcp(int port) | ^~~~~~~~ [100%] Linking C executable check_clamd cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/check_clamd.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/check_clamd.dir/check_clamd.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_addmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_mag.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_submod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_add.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_sub.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_radix_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_radix.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_signed_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_unsigned_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_reverse.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_s_rmap.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_signed_bin_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_signed_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_unsigned_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix_n.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_unsigned_bin_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_cnt_lsb.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_count_bits.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_lshd.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_mod_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_rshd.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_2expt.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_exptmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_ident.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_calc_normalization.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_reduce.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_setup.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_12.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_17.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_20.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_24.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_28.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_3.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_32.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_4.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_48.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_6.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_64.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_7.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_8.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_9.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_small_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mulmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/numtheory/fp_invmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_12.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_17.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_20.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_24.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_28.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_3.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_32.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_4.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_48.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_6.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_64.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_7.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_8.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_9.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_generic.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_small_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqrmod.c.o -o check_clamd -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack ../common/libcommon.a /usr/lib64/libcheck.so /usr/lib64/libjson-c.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 /usr/lib64/libbz2.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so /usr/lib64/libpcre2-8.so ../s390x-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so /usr/lib64/librt.a /usr/lib64/libm.so /usr/lib64/libsubunit.so gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [100%] Built target clamdtop gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [100%] Built target check_clamd gmake[1]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fVIqu0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x ++ dirname /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd clamav-1.0.6 + rm -rf '_doc*' + DESTDIR=/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/bin/clamav-config -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib64/pkgconfig/libclamav.pc -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib64/libclammspack.so.0.8.0 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib64/libclammspack.so.0 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib64/libclammspack.so -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib64/libclamav.so.11.0.0 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib64/libclamav.so.11 -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib64/libclamav.so.11.0.0" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib64/libclamav.so -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/include/clamav.h -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/include/clamav-types.h -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/include/clamav-version.h -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib64/libfreshclam.so.2.0.2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib64/libfreshclam.so.2 -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib64/libfreshclam.so.2.0.2" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib64/libfreshclam.so -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/include/libfreshclam.h -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/bin/clamconf -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/bin/clamconf" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/sbin/clamd -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/sbin/clamd" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib/systemd/system/clamav-daemon.service -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib/systemd/system/clamav-daemon.socket -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/bin/clamdscan -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/bin/clamdscan" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/sbin/clamonacc -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/sbin/clamonacc" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib/systemd/system/clamav-clamonacc.service -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/sbin/clamav-milter -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/sbin/clamav-milter" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/bin/clamscan -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/bin/clamscan" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/bin/sigtool -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/bin/sigtool" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/bin/clambc -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/bin/clambc" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/bin/clamsubmit -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/bin/clamsubmit" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/bin/freshclam -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/bin/freshclam" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib/systemd/system/clamav-freshclam.service -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/bin/clamdtop -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/bin/clamdtop" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/etc/clamd.conf.sample -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/etc/freshclam.conf.sample -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/etc/clamav-milter.conf.sample -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/man/man1/clamscan.1 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/man/man1/freshclam.1 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/man/man1/sigtool.1 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/man/man1/clamdscan.1 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/man/man1/clamconf.1 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/man/man1/clamdtop.1 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/man/man1/clamsubmit.1 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/man/man1/clambc.1 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/man/man5/clamd.conf.5 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/man/man5/clamav-milter.conf.5 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/man/man5/freshclam.conf.5 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/man/man8/clamd.8 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/man/man8/clamav-milter.8 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/man/man8/clamonacc.8 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Installing -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Installing/Add-clamav-user.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Installing/Docker.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Installing/Installing-from-source-Unix-old.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Installing/Installing-from-source-Windows.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Installing/Community-projects.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Installing/Installing-from-source-Unix.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Installing/Packages.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Usage.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/OnAccess.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Usage -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Usage/Scanning.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Usage/ReportABug.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Usage/Services.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Usage/SignatureManagement.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Usage/Configuration.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Signatures -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Signatures/AuthenticodeRules.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Signatures/EncryptedArchives.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Signatures/HashSignatures.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Signatures/BytecodeSignatures.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Signatures/BodySignatureFormat.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Signatures/FileTypeMagic.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Signatures/ContainerMetadata.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Signatures/ExtendedSignatures.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Signatures/DynamicConfig.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Signatures/DatabaseInfo.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Signatures/AllowLists.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Signatures/LogicalSignatures.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Signatures/PhishSigs.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Signatures/YaraRules.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Signatures/SignatureNames.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Signatures.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Development.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Development -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Development/code-coverage.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Development/fuzzing-sanitizers.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Development/development-builds.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Development/build-installer-packages.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Development/personal-forks.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Development/Contribute.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Development/performance-profiling.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Development/libclamav.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Development/clamav-git-work-flow.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Development/testing-pull-requests.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Development/tips-and-tricks.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Development/github-pr-basics.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/manual/Installing.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/Introduction.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/sitemap.xml -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/elasticlunr.min.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/googled62299e9391332c4.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/appendix -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/appendix/FileTypes.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/appendix/Appendix.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/appendix/Terminology.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/appendix/FunctionalityLevels.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/appendix/Authenticode.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/appendix/CvdPrivateMirror.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/index.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/searchindex.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/editor.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/clipboard.min.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/searcher.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq/faq-cvd.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq/faq-upgrade.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq/faq-ml.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq/faq-eol.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq/faq-pua.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq/faq-scan-alerts.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq/faq-safebrowsing.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq/faq-misc.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq/faq-rust.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq/faq-troubleshoot.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq/faq-freshclam.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq/faq-whichversion.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq/faq-ignore.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq/faq.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq/faq-win32.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq/faq-uninstall.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/faq/faq-malware-fp-reports.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/ayu-highlight.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/theme-dawn.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/mode-rust.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/highlight.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/ace.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/FontAwesome -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/FontAwesome/fonts -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/FontAwesome/fonts/fontawesome-webfont.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/FontAwesome/fonts/fontawesome-webfont.eot -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/FontAwesome/fonts/fontawesome-webfont.svg -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/FontAwesome/fonts/fontawesome-webfont.woff -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/FontAwesome/fonts/FontAwesome.ttf -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/FontAwesome/fonts/fontawesome-webfont.ttf -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/FontAwesome/css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/FontAwesome/css/font-awesome.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/tomorrow-night.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/favicon.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/book.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/theme-tomorrow_night.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/images -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/images/create-a-fork.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/images/flamegraph.svg -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/images/old-git-workflow.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/images/fork-is-behind.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/images/clone-your-fork.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/images/logo.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/images/cisco.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/images/new-git-workflow.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/images/demon.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/images/change-fork-name.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/searchindex.json -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/community_resources -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/community_resources/CompileClamAV_AmazonLinux2.txt -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/community_resources/CommunityResources.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/mark.min.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/highlight.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/print.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/fonts -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-800.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-regular.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/fonts/source-code-pro-v11-all-charsets-500.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/fonts/fonts.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-300italic.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-600italic.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-700italic.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-700.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-300.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/fonts/SOURCE-CODE-PRO-LICENSE.txt -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/fonts/OPEN-SANS-LICENSE.txt -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-800italic.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-600.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-italic.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/css/chrome.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/css/general.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/css/variables.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/css/print.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav/html/404.html + install -d -m 0755 /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib/tmpfiles.d /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/var/lib/clamav /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/var/spool/quarantine + install -D -m 0644 -p /builddir/build/SOURCES/main-62.cvd /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/var/lib/clamav/main.cvd + install -D -m 0644 -p /builddir/build/SOURCES/daily-27256.cvd /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/var/lib/clamav/daily.cvd + install -D -m 0644 -p /builddir/build/SOURCES/bytecode-335.cvd /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/var/lib/clamav/bytecode.cvd + sed -ri -e 's!^Example!#Example!' -e 's!^#?(UpdateLogFile )!#\1!g;' -e 's!(DatabaseOwner *)clamav$!\1clamupdate!g' /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/etc/freshclam.conf.sample + mv /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/etc/freshclam.conf.sample /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/etc/freshclam.conf + chmod 600 /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/etc/freshclam.conf + install -D -m 0644 -p /builddir/build/SOURCES/clamd.logrotate _doc_server/clamd.logrotate + install -D -m 0644 -p /builddir/build/SOURCES/clamd-README _doc_server/README + ln -s clamav-clamonacc.service /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib/systemd/system/clamonacc.service + install -D -p -m 0644 /builddir/build/SOURCES/clamd@.service /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib/systemd/system/clamd@.service + sed -ri -e 's!^Example!#Example!' -e 's!^#?(LogFile ).*!#\1/var/log/clamd.!g' -e 's!^#?(LocalSocket ).*!#\1/run/clamd./clamd.sock!g' -e 's!^(#?PidFile ).*!\1/run/clamd./clamd.pid!g' -e 's!^#?(User ).*!\1!g' -e 's!^#?(AllowSupplementaryGroups|LogSyslog).*!\1 yes!g' -e 's! /usr/local/share/clamav,! /var/lib/clamav,!g' /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/etc/clamd.conf.sample + install -d -m 0755 /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/etc/clamd.d + sed -e 's!!scan!g;s!!clamscan!g' /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/etc/clamd.conf.sample + mv /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/etc/clamd.conf.sample _doc_server/clamd.conf + cat + sed -ri -e 's!^#?(User).*!\1 clamilt!g' -e 's!^#?(AllowSupplementaryGroups|LogSyslog) .*!\1 yes!g' -e 's! /tmp/clamav-milter.socket! /run/clamav-milter/clamav-milter.socket!g' -e 's! /var/run/clamav-milter.pid! /run/clamav-milter/clamav-milter.pid!g' -e 's!:/var/run/clamd/clamd.socket!:/run/clamd.scan/clamd.sock!g' -e 's! /tmp/clamav-milter.log! /var/log/clamav-milter.log!g' /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/etc/clamav-milter.conf.sample + install -d -m 0755 /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/etc/mail + mv /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/etc/clamav-milter.conf.sample /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/etc/mail/clamav-milter.conf + install -D -p -m 0644 /builddir/build/SOURCES/clamav-milter.systemd /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib/systemd/system/clamav-milter.service + cat + mv /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/include/clamav-types.h /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/include/clamav-types-64.h + install -m 0644 /builddir/build/SOURCES/clamav-types.h /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/include/clamav-types.h + rm /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib/systemd/system/clamav-daemon.service /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/lib/systemd/system/clamav-daemon.socket + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.0.6-1.fc40 --unique-debug-suffix -1.0.6-1.fc40.s390x --unique-debug-src-base clamav-1.0.6-1.fc40.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/clamav-1.0.6 find-debuginfo: starting Extracting debug info from 14 files DWARF-compressing 14 files sepdebugcrcfix: Updated 14 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/clamav-1.0.6-1.fc40.s390x cpio: redhat-linux-build/libclamav/yara_grammar.c: Cannot stat: No such file or directory cpio: redhat-linux-build/libclamav/yara_grammar.h: Cannot stat: No such file or directory cpio: redhat-linux-build/libclamav/yara_grammar.y: Cannot stat: No such file or directory cpio: redhat-linux-build/libclamav/yara_lexer.c: Cannot stat: No such file or directory cpio: redhat-linux-build/libclamav/yara_lexer.l: Cannot stat: No such file or directory 16658 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/clamav-config from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.vlRCkn + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd clamav-1.0.6 + /usr/bin/ctest --test-dir redhat-linux-build --output-on-failure --force-new-ctest-process -j2 -- -E valgrind Internal ctest changing into directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build Test project /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build Start 1: libclamav Start 2: libclamav_rust 1/6 Test #1: libclamav ........................ Passed 8.66 sec Start 3: clamscan 2/6 Test #3: clamscan ......................... Passed 5.05 sec Start 4: clamd 3/6 Test #2: libclamav_rust ................... Passed 14.98 sec Start 5: freshclam 4/6 Test #4: clamd ............................ Passed 11.86 sec Start 6: sigtool 5/6 Test #6: sigtool .......................... Passed 1.15 sec 6/6 Test #5: freshclam ........................ Passed 36.70 sec 100% tests passed, 0 tests failed out of 6 Total Test time (real) = 51.69 sec + /usr/bin/ctest --test-dir redhat-linux-build --output-on-failure --force-new-ctest-process -j2 -- -R valgrind Internal ctest changing into directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build Test project /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build Start 2: libclamav_valgrind Start 5: clamscan_valgrind 1/5 Test #5: clamscan_valgrind ................***Failed 182.08 sec ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/clamav-1.0.6/unit_tests collecting ... collected 49 items clamscan/_basic_test.py::TC::test_00_version FAILED [ 2%] clamscan/_basic_test.py::TC::test_00_version ERROR [ 2%] clamscan/_basic_test.py::TC::test_01_all_testfiles FAILED [ 4%] clamscan/_basic_test.py::TC::test_01_all_testfiles ERROR [ 4%] clamscan/_basic_test.py::TC::test_02_all_testfiles_ign2 FAILED [ 6%] clamscan/_basic_test.py::TC::test_02_all_testfiles_ign2 ERROR [ 6%] clamscan/allmatch_test.py::TC::test_exe_imphash_plus_zipsfx FAILED [ 8%] clamscan/allmatch_test.py::TC::test_exe_imphash_plus_zipsfx ERROR [ 8%] clamscan/allmatch_test.py::TC::test_exe_pattern_plus_zipsfx FAILED [ 10%] clamscan/allmatch_test.py::TC::test_exe_pattern_plus_zipsfx ERROR [ 10%] clamscan/allmatch_test.py::TC::test_many_sigs FAILED [ 12%] clamscan/allmatch_test.py::TC::test_many_sigs ERROR [ 12%] clamscan/allmatch_test.py::TC::test_many_sigs_no_allmatch FAILED [ 14%] clamscan/allmatch_test.py::TC::test_many_sigs_no_allmatch ERROR [ 14%] clamscan/allmatch_test.py::TC::test_pe_allmatch FAILED [ 16%] clamscan/allmatch_test.py::TC::test_pe_allmatch ERROR [ 16%] clamscan/allmatch_test.py::TC::test_regression_cbc_and_ndb FAILED [ 18%] clamscan/allmatch_test.py::TC::test_regression_cbc_and_ndb ERROR [ 18%] clamscan/allmatch_test.py::TC::test_regression_imphash_nosize FAILED [ 20%] clamscan/allmatch_test.py::TC::test_regression_imphash_nosize ERROR [ 20%] clamscan/allmatch_test.py::TC::test_txt_plus_clam_zipsfx FAILED [ 22%] clamscan/allmatch_test.py::TC::test_txt_plus_clam_zipsfx ERROR [ 22%] clamscan/assorted_test.py::TC::test_00_version FAILED [ 24%] clamscan/assorted_test.py::TC::test_00_version ERROR [ 24%] clamscan/assorted_test.py::TC::test_pe_cert_block FAILED [ 26%] clamscan/assorted_test.py::TC::test_pe_cert_block ERROR [ 26%] clamscan/assorted_test.py::TC::test_pe_cert_trust FAILED [ 28%] clamscan/assorted_test.py::TC::test_pe_cert_trust ERROR [ 28%] clamscan/assorted_test.py::TC::test_weak_indicator_icon FAILED [ 30%] clamscan/assorted_test.py::TC::test_weak_indicator_icon ERROR [ 30%] clamscan/bytecode_test.py::TC::test_pdf_hook FAILED [ 32%] clamscan/bytecode_test.py::TC::test_pdf_hook ERROR [ 32%] clamscan/container_sigs_test.py::TC::test_clamscan_container_cache FAILED [ 34%] clamscan/container_sigs_test.py::TC::test_clamscan_container_cache ERROR [ 34%] clamscan/container_sigs_test.py::TC::test_container FAILED [ 36%] clamscan/container_sigs_test.py::TC::test_container ERROR [ 36%] clamscan/container_sigs_test.py::TC::test_intermediates FAILED [ 38%] clamscan/container_sigs_test.py::TC::test_intermediates ERROR [ 38%] clamscan/container_sigs_test.py::TC::test_intermediates_cache FAILED [ 40%] clamscan/container_sigs_test.py::TC::test_intermediates_cache ERROR [ 40%] clamscan/fp_check_test.py::TC::test_alerts_on_normalized FAILED [ 42%] clamscan/fp_check_test.py::TC::test_alerts_on_zip FAILED [ 44%] clamscan/fp_check_test.py::TC::test_fp_for_nonnormalized FAILED [ 46%] clamscan/fp_check_test.py::TC::test_fp_for_nonnormalized_wild FAILED [ 48%] clamscan/fp_check_test.py::TC::test_fp_for_normalized FAILED [ 51%] clamscan/fp_check_test.py::TC::test_fp_for_normalized_wild FAILED [ 53%] clamscan/fp_check_test.py::TC::test_fp_for_zipped_file FAILED [ 55%] clamscan/fp_check_test.py::TC::test_fp_for_zipped_file_wild FAILED [ 57%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_algorithm FAILED [ 59%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_algorithm ERROR [ 59%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hamming FAILED [ 61%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hamming ERROR [ 61%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hash FAILED [ 63%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hash ERROR [ 63%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_good_allmatch FAILED [ 65%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_good_allmatch ERROR [ 65%] clamscan/heuristics_test.py::TC::test_allmatch FAILED [ 67%] clamscan/heuristics_test.py::TC::test_allmatch ERROR [ 67%] clamscan/heuristics_test.py::TC::test_allmatch_precedence FAILED [ 69%] clamscan/heuristics_test.py::TC::test_allmatch_precedence ERROR [ 69%] clamscan/heuristics_test.py::TC::test_hidden_by_strong_indicator FAILED [ 71%] clamscan/heuristics_test.py::TC::test_hidden_by_strong_indicator ERROR [ 71%] clamscan/heuristics_test.py::TC::test_only_heur FAILED [ 73%] clamscan/heuristics_test.py::TC::test_only_heur ERROR [ 73%] clamscan/heuristics_test.py::TC::test_precedence FAILED [ 75%] clamscan/heuristics_test.py::TC::test_precedence ERROR [ 75%] clamscan/image_extraction_test.py::TC::test_xls_jpeg_png FAILED [ 77%] clamscan/image_extraction_test.py::TC::test_xls_jpeg_png ERROR [ 77%] clamscan/image_extraction_test.py::TC::test_xls_with_detection FAILED [ 79%] clamscan/image_extraction_test.py::TC::test_xls_with_detection ERROR [ 79%] clamscan/match_offsets_test.py::TC::test_LDB_VI FAILED [ 81%] clamscan/match_offsets_test.py::TC::test_LDB_VI ERROR [ 81%] clamscan/match_offsets_test.py::TC::test_yara_at_offset FAILED [ 83%] clamscan/match_offsets_test.py::TC::test_yara_at_offset ERROR [ 83%] clamscan/match_offsets_test.py::TC::test_yara_in_range FAILED [ 85%] clamscan/match_offsets_test.py::TC::test_yara_in_range ERROR [ 85%] clamscan/phishing_test.py::TC::test_not_enabled FAILED [ 87%] clamscan/phishing_test.py::TC::test_not_enabled ERROR [ 87%] clamscan/phishing_test.py::TC::test_ssl_and_cloak FAILED [ 89%] clamscan/phishing_test.py::TC::test_ssl_and_cloak ERROR [ 89%] clamscan/regex_test.py::TC::test_ldb_multi_pcre FAILED [ 91%] clamscan/regex_test.py::TC::test_ldb_multi_pcre ERROR [ 91%] clamscan/regex_test.py::TC::test_ldb_offset_pcre FAILED [ 93%] clamscan/regex_test.py::TC::test_ldb_offset_pcre ERROR [ 93%] clamscan/regex_test.py::TC::test_pcre_flag FAILED [ 95%] clamscan/regex_test.py::TC::test_pcre_flag ERROR [ 95%] clamscan/regex_test.py::TC::test_slash_colon FAILED [ 97%] clamscan/regex_test.py::TC::test_slash_colon ERROR [ 97%] clamscan/regex_test.py::TC::test_yara FAILED [100%] clamscan/regex_test.py::TC::test_yara ERROR [100%] ==================================== ERRORS ==================================== ___________________ ERROR at teardown of TC.test_00_version ____________________ self = <_basic_test.TC testMethod=test_00_version> def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/_basic_test.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_basic_test.TC testMethod=test_00_version> log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: clamscan version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9809== Memcheck, a memory error detector [INFO]: ==9809== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9809== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9809== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [INFO]: ==9809== Parent PID: 9803 [INFO]: ==9809== [INFO]: --9809-- [INFO]: --9809-- Valgrind options: [INFO]: --9809-- -v [INFO]: --9809-- --trace-children=yes [INFO]: --9809-- --track-fds=yes [INFO]: --9809-- --leak-check=full [INFO]: --9809-- --show-possibly-lost=no [INFO]: --9809-- --show-leak-kinds=definite [INFO]: --9809-- --errors-for-leak-kinds=definite [INFO]: --9809-- --main-stacksize=16777216 [INFO]: --9809-- --gen-suppressions=all [INFO]: --9809-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9809-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [INFO]: --9809-- --error-exitcode=123 [INFO]: --9809-- Contents of /proc/version: [INFO]: --9809-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9809-- [INFO]: --9809-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9809-- Page sizes: currently 4096, max supported 4096 [INFO]: --9809-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9809-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9809-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9809-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9809-- might be shown as UnknownInlinedFun [INFO]: --9809-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9809-- object doesn't have a dynamic symbol table [INFO]: --9809-- Scheduler: using generic scheduler lock implementation. [INFO]: --9809-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9809-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9809== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9809-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9809== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9809-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9809== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9809-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9809== [INFO]: ==9809== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9809== don't want to do, unless you know exactly what you're doing, [INFO]: ==9809== or are doing some strange experiment): [INFO]: ==9809== /usr/libexec/valgrind/../../bin/vgdb --pid=9809 ...command... [INFO]: ==9809== [INFO]: ==9809== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9809== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9809== and then give GDB the following command [INFO]: ==9809== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9809 [INFO]: ==9809== --pid is optional if only one valgrind process is running [INFO]: ==9809== [INFO]: --9809-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9809-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9809-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9809-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9809-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9809-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9809-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9809-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9809-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9809-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9809-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9809-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9809-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9809-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9809-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9809-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9809-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9809-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9809-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9809-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9809-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9809== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9809== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9809== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9809== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9809-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9809-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9809-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9809-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9809-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9809-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9809-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9809-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9809-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9809-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: ==9809== [INFO]: ==9809== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9809== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [INFO]: ==9809== [INFO]: ==9809== [INFO]: ==9809== (No origin, error cannot be suppressed) [INFO]: ==9809== [INFO]: ==9809== HEAP SUMMARY: [INFO]: ==9809== in use at exit: 0 bytes in 0 blocks [INFO]: ==9809== total heap usage: 369 allocs, 369 frees, 27,014 bytes allocated [INFO]: ==9809== [INFO]: ==9809== All heap blocks were freed -- no leaks are possible [INFO]: ==9809== [INFO]: ==9809== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ________________ ERROR at teardown of TC.test_01_all_testfiles _________________ self = <_basic_test.TC testMethod=test_01_all_testfiles> def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/_basic_test.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_basic_test.TC testMethod=test_01_all_testfiles> log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamscan alerts on all test files [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/database/clamav.hdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 47 Data scanned: 14.05 MB Data read: 6.91 MB (ratio 2.03:1) Time: 9.916 sec (0 m 9 s) Start Date: 2024:06:28 10:42:24 End Date: 2024:06:28 10:42:34 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9811== Memcheck, a memory error detector [INFO]: ==9811== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9811== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9811== Parent PID: 9803 [INFO]: ==9811== [INFO]: --9811-- [INFO]: --9811-- Valgrind options: [INFO]: --9811-- -v [INFO]: --9811-- --trace-children=yes [INFO]: --9811-- --track-fds=yes [INFO]: --9811-- --leak-check=full [INFO]: --9811-- --show-possibly-lost=no [INFO]: --9811-- --show-leak-kinds=definite [INFO]: --9811-- --errors-for-leak-kinds=definite [INFO]: --9811-- --main-stacksize=16777216 [INFO]: --9811-- --gen-suppressions=all [INFO]: --9811-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9811-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [INFO]: --9811-- --error-exitcode=123 [INFO]: --9811-- Contents of /proc/version: [INFO]: --9811-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9811-- [INFO]: --9811-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9811-- Page sizes: currently 4096, max supported 4096 [INFO]: --9811-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9811-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9811-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9811-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9811-- might be shown as UnknownInlinedFun [INFO]: --9811-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9811-- object doesn't have a dynamic symbol table [INFO]: --9811-- Scheduler: using generic scheduler lock implementation. [INFO]: --9811-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9811-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9811== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9811-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9811== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9811-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9811== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9811-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9811== [INFO]: ==9811== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9811== don't want to do, unless you know exactly what you're doing, [INFO]: ==9811== or are doing some strange experiment): [INFO]: ==9811== /usr/libexec/valgrind/../../bin/vgdb --pid=9811 ...command... [INFO]: ==9811== [INFO]: ==9811== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9811== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9811== and then give GDB the following command [INFO]: ==9811== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9811 [INFO]: ==9811== --pid is optional if only one valgrind process is running [INFO]: ==9811== [INFO]: --9811-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9811-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9811-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9811-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9811-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9811-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9811-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9811-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9811-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9811-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9811-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9811-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9811-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9811-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9811-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9811-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9811-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9811-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9811-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9811-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9811-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9811== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9811== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9811== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9811== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9811-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9811-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9811-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9811-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9811-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9811-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9811-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9811-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9811-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9811-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9811-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9811-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9811-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9811-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9811-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9811-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9811-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9811-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9811-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9811-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9811-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9811-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9811-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9811-- REDIR: 0x5209c40 (libc.so.6:__strcpy_chk) redirected to 0x484e740 (__strcpy_chk) [INFO]: --9811-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9811== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9811== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9811== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9811== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9811== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9811== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9811== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9811== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9811== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9811== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9811== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9811== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9811== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9811== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9811== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9811== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9811== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9811== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9811== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9811== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9811== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9811== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9811== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9811== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9811== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9811== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9811== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9811== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9811== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9811== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9811== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9811== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9811== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9811== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9811== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9811== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9811== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9811== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9811== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9811== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9811== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9811== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9811== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9811== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9811== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9811== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9811== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9811== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9811== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9811== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9811== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9811== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9811== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9811== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9811== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9811== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: --9811-- Discarding syms at 0x5f4d160-0x5f4e940 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9811== [INFO]: ==9811== FILE DESCRIPTORS: 5 open (3 std) at exit. [INFO]: ==9811== Open file descriptor 5: /tmp/20240628_104227-scantemp.a3fa1cbd6a/ole2-tmp.b4234d593a/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9811== at 0x51EE408: open (in /usr/lib64/libc.so.6) [INFO]: ==9811== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9811== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9811== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9811== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9811== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9811== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9811== by 0x49827F9: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9811== by 0x11ADB1: scanfile (manager.c:411) [INFO]: ==9811== by 0x116001: UnknownInlinedFun (manager.c:1018) [INFO]: ==9811== by 0x116001: UnknownInlinedFun (manager.c:1625) [INFO]: ==9811== by 0x116001: main (clamscan.c:171) [INFO]: ==9811== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:scanfile [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:main [INFO]: } [INFO]: ==9811== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [INFO]: ==9811== [INFO]: ==9811== [INFO]: ==9811== (No origin, error cannot be suppressed) [INFO]: ==9811== [INFO]: ==9811== HEAP SUMMARY: [INFO]: ==9811== in use at exit: 24,315 bytes in 98 blocks [INFO]: ==9811== total heap usage: 17,006 allocs, 16,908 frees, 50,731,618 bytes allocated [INFO]: ==9811== [INFO]: ==9811== Searching for pointers to 98 not-freed blocks [INFO]: ==9811== Checked 4,462,472 bytes [INFO]: ==9811== [INFO]: ==9811== LEAK SUMMARY: [INFO]: ==9811== definitely lost: 0 bytes in 0 blocks [INFO]: ==9811== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9811== possibly lost: 608 bytes in 2 blocks [INFO]: ==9811== still reachable: 23,707 bytes in 96 blocks [INFO]: ==9811== suppressed: 0 bytes in 0 blocks [INFO]: ==9811== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9811== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9811== [INFO]: ==9811== Use --track-origins=yes to see where uninitialised values come from [INFO]: ==9811== ERROR SUMMARY: 11 errors from 3 contexts (suppressed: 0 from 0) [INFO]: ==9811== [INFO]: ==9811== 9 errors in context 1 of 3: [INFO]: ==9811== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9811== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9811== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9811== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9811== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9811== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9811== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9811== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9811== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9811== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9811== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9811== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9811== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9811== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9811== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9811== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9811== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9811== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9811== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9811== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9811== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9811== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9811== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9811== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9811== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9811== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9811== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9811== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9811== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9811== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9811== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9811== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9811== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9811== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9811== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9811== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9811== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9811== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9811== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9811== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9811== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9811== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9811== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9811== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9811== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9811== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9811== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9811== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9811== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9811== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9811== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9811== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9811== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9811== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9811== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9811== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9811== ERROR SUMMARY: 11 errors from 3 contexts (suppressed: 0 from 0) ______________ ERROR at teardown of TC.test_02_all_testfiles_ign2 ______________ self = <_basic_test.TC testMethod=test_02_all_testfiles_ign2> def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/_basic_test.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_basic_test.TC testMethod=test_02_all_testfiles_ign2> log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamscan ignores ClamAV-Test-File alerts [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 0 Data scanned: 21.06 MB Data read: 6.91 MB (ratio 3.05:1) Time: 12.845 sec (0 m 12 s) Start Date: 2024:06:28 10:42:35 End Date: 2024:06:28 10:42:48 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9815== Memcheck, a memory error detector [INFO]: ==9815== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9815== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9815== Parent PID: 9803 [INFO]: ==9815== [INFO]: --9815-- [INFO]: --9815-- Valgrind options: [INFO]: --9815-- -v [INFO]: --9815-- --trace-children=yes [INFO]: --9815-- --track-fds=yes [INFO]: --9815-- --leak-check=full [INFO]: --9815-- --show-possibly-lost=no [INFO]: --9815-- --show-leak-kinds=definite [INFO]: --9815-- --errors-for-leak-kinds=definite [INFO]: --9815-- --main-stacksize=16777216 [INFO]: --9815-- --gen-suppressions=all [INFO]: --9815-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9815-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [INFO]: --9815-- --error-exitcode=123 [INFO]: --9815-- Contents of /proc/version: [INFO]: --9815-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9815-- [INFO]: --9815-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9815-- Page sizes: currently 4096, max supported 4096 [INFO]: --9815-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9815-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9815-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9815-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9815-- might be shown as UnknownInlinedFun [INFO]: --9815-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9815-- object doesn't have a dynamic symbol table [INFO]: --9815-- Scheduler: using generic scheduler lock implementation. [INFO]: --9815-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9815-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9815== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9815-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9815== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9815-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9815== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9815-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9815== [INFO]: ==9815== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9815== don't want to do, unless you know exactly what you're doing, [INFO]: ==9815== or are doing some strange experiment): [INFO]: ==9815== /usr/libexec/valgrind/../../bin/vgdb --pid=9815 ...command... [INFO]: ==9815== [INFO]: ==9815== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9815== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9815== and then give GDB the following command [INFO]: ==9815== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9815 [INFO]: ==9815== --pid is optional if only one valgrind process is running [INFO]: ==9815== [INFO]: --9815-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9815-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9815-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9815-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9815-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9815-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9815-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9815-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9815-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9815-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9815-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9815-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9815-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9815-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9815-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9815-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9815-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9815-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9815-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9815-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9815-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9815== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9815== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9815== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9815== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9815-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9815-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9815-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9815-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9815-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9815-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9815-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9815-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9815-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9815-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9815-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9815-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9815-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9815-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9815-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9815-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9815-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9815-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9815-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9815-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9815-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9815-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9815-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9815-- REDIR: 0x5209c40 (libc.so.6:__strcpy_chk) redirected to 0x484e740 (__strcpy_chk) [INFO]: --9815-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9815== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9815== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9815== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9815== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9815== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9815== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9815== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9815== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9815== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9815== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9815== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9815== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9815== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9815== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9815== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9815== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9815== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9815== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9815== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9815== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9815== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9815== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9815== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9815== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9815== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9815== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9815== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9815== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9815== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9815== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9815== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9815== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9815== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9815== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9815== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9815== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9815== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9815== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9815== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9815== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9815== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9815== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9815== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9815== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9815== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9815== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9815== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9815== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9815== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9815== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9815== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9815== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9815== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9815== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9815== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9815== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: --9815-- Discarding syms at 0x5f4d160-0x5f4e940 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9815== [INFO]: ==9815== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9815== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [INFO]: ==9815== [INFO]: ==9815== [INFO]: ==9815== (No origin, error cannot be suppressed) [INFO]: ==9815== [INFO]: ==9815== HEAP SUMMARY: [INFO]: ==9815== in use at exit: 24,315 bytes in 98 blocks [INFO]: ==9815== total heap usage: 19,903 allocs, 19,805 frees, 59,306,919 bytes allocated [INFO]: ==9815== [INFO]: ==9815== Searching for pointers to 98 not-freed blocks [INFO]: ==9815== Checked 4,462,216 bytes [INFO]: ==9815== [INFO]: ==9815== LEAK SUMMARY: [INFO]: ==9815== definitely lost: 0 bytes in 0 blocks [INFO]: ==9815== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9815== possibly lost: 608 bytes in 2 blocks [INFO]: ==9815== still reachable: 23,707 bytes in 96 blocks [INFO]: ==9815== suppressed: 0 bytes in 0 blocks [INFO]: ==9815== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9815== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9815== [INFO]: ==9815== Use --track-origins=yes to see where uninitialised values come from [INFO]: ==9815== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) [INFO]: ==9815== [INFO]: ==9815== 9 errors in context 1 of 2: [INFO]: ==9815== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9815== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9815== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9815== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9815== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9815== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9815== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9815== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9815== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9815== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9815== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9815== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9815== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9815== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9815== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9815== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9815== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9815== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9815== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9815== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9815== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9815== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9815== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9815== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9815== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9815== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9815== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9815== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9815== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9815== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9815== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9815== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9815== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9815== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9815== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9815== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9815== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9815== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9815== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9815== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9815== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9815== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9815== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9815== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9815== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9815== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9815== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9815== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9815== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9815== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9815== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9815== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9815== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9815== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9815== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9815== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9815== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz _____________ ERROR at teardown of TC.test_exe_imphash_plus_zipsfx _____________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with an imp-hash sig. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.imp -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx: Test.Import.Hash.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.514 sec (0 m 1 s) Start Date: 2024:06:28 10:42:49 End Date: 2024:06:28 10:42:50 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9821== Memcheck, a memory error detector [INFO]: ==9821== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9821== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9821== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.imp -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx [INFO]: ==9821== Parent PID: 9803 [INFO]: ==9821== [INFO]: --9821-- [INFO]: --9821-- Valgrind options: [INFO]: --9821-- -v [INFO]: --9821-- --trace-children=yes [INFO]: --9821-- --track-fds=yes [INFO]: --9821-- --leak-check=full [INFO]: --9821-- --show-possibly-lost=no [INFO]: --9821-- --show-leak-kinds=definite [INFO]: --9821-- --errors-for-leak-kinds=definite [INFO]: --9821-- --main-stacksize=16777216 [INFO]: --9821-- --gen-suppressions=all [INFO]: --9821-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9821-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: --9821-- --error-exitcode=123 [INFO]: --9821-- Contents of /proc/version: [INFO]: --9821-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9821-- [INFO]: --9821-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9821-- Page sizes: currently 4096, max supported 4096 [INFO]: --9821-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9821-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9821-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9821-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9821-- might be shown as UnknownInlinedFun [INFO]: --9821-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9821-- object doesn't have a dynamic symbol table [INFO]: --9821-- Scheduler: using generic scheduler lock implementation. [INFO]: --9821-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9821-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9821== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9821-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9821== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9821-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9821== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9821-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9821== [INFO]: ==9821== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9821== don't want to do, unless you know exactly what you're doing, [INFO]: ==9821== or are doing some strange experiment): [INFO]: ==9821== /usr/libexec/valgrind/../../bin/vgdb --pid=9821 ...command... [INFO]: ==9821== [INFO]: ==9821== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9821== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9821== and then give GDB the following command [INFO]: ==9821== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9821 [INFO]: ==9821== --pid is optional if only one valgrind process is running [INFO]: ==9821== [INFO]: --9821-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9821-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9821-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9821-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9821-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9821-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9821-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9821-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9821-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9821-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9821-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9821-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9821-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9821-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9821-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9821-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9821-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9821-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9821-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9821-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9821-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9821== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9821== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9821== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9821== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9821-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9821-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9821-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9821-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9821-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9821-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9821-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9821-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9821-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9821-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9821-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9821-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9821-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9821-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9821-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9821-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9821-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9821-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9821-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9821-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9821-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: ==9821== [INFO]: ==9821== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9821== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: ==9821== [INFO]: ==9821== [INFO]: ==9821== (No origin, error cannot be suppressed) [INFO]: ==9821== [INFO]: ==9821== HEAP SUMMARY: [INFO]: ==9821== in use at exit: 0 bytes in 0 blocks [INFO]: ==9821== total heap usage: 5,399 allocs, 5,399 frees, 742,060 bytes allocated [INFO]: ==9821== [INFO]: ==9821== All heap blocks were freed -- no leaks are possible [INFO]: ==9821== [INFO]: ==9821== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _____________ ERROR at teardown of TC.test_exe_pattern_plus_zipsfx _____________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with a pattern-match sig. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/database/clam.ndb -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx: Test.NDB.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.467 sec (0 m 1 s) Start Date: 2024:06:28 10:42:51 End Date: 2024:06:28 10:42:53 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9823== Memcheck, a memory error detector [INFO]: ==9823== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9823== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9823== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/database/clam.ndb -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx [INFO]: ==9823== Parent PID: 9803 [INFO]: ==9823== [INFO]: --9823-- [INFO]: --9823-- Valgrind options: [INFO]: --9823-- -v [INFO]: --9823-- --trace-children=yes [INFO]: --9823-- --track-fds=yes [INFO]: --9823-- --leak-check=full [INFO]: --9823-- --show-possibly-lost=no [INFO]: --9823-- --show-leak-kinds=definite [INFO]: --9823-- --errors-for-leak-kinds=definite [INFO]: --9823-- --main-stacksize=16777216 [INFO]: --9823-- --gen-suppressions=all [INFO]: --9823-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9823-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: --9823-- --error-exitcode=123 [INFO]: --9823-- Contents of /proc/version: [INFO]: --9823-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9823-- [INFO]: --9823-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9823-- Page sizes: currently 4096, max supported 4096 [INFO]: --9823-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9823-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9823-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9823-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9823-- might be shown as UnknownInlinedFun [INFO]: --9823-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9823-- object doesn't have a dynamic symbol table [INFO]: --9823-- Scheduler: using generic scheduler lock implementation. [INFO]: --9823-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9823-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9823== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9823-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9823== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9823-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9823== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9823-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9823== [INFO]: ==9823== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9823== don't want to do, unless you know exactly what you're doing, [INFO]: ==9823== or are doing some strange experiment): [INFO]: ==9823== /usr/libexec/valgrind/../../bin/vgdb --pid=9823 ...command... [INFO]: ==9823== [INFO]: ==9823== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9823== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9823== and then give GDB the following command [INFO]: ==9823== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9823 [INFO]: ==9823== --pid is optional if only one valgrind process is running [INFO]: ==9823== [INFO]: --9823-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9823-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9823-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9823-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9823-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9823-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9823-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9823-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9823-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9823-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9823-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9823-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9823-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9823-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9823-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9823-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9823-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9823-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9823-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9823-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9823-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9823== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9823== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9823== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9823== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9823-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9823-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9823-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9823-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9823-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9823-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9823-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9823-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9823-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9823-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9823-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9823-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9823-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9823-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9823-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9823-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9823-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9823-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9823-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9823-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9823== [INFO]: ==9823== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9823== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: ==9823== [INFO]: ==9823== [INFO]: ==9823== (No origin, error cannot be suppressed) [INFO]: ==9823== [INFO]: ==9823== HEAP SUMMARY: [INFO]: ==9823== in use at exit: 0 bytes in 0 blocks [INFO]: ==9823== total heap usage: 5,390 allocs, 5,390 frees, 741,791 bytes allocated [INFO]: ==9823== [INFO]: ==9823== All heap blocks were freed -- no leaks are possible [INFO]: ==9823== [INFO]: ==9823== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________ ERROR at teardown of TC.test_many_sigs ____________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that each type of sig alerts in all-match mode [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.NDB.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.MD5.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.MD5.Hash.NoSize.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha1.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha1.NoSize.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha256.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha256.Hash.NoSize.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.LDB.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.PESection.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.PESection.Hash.NoSize.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.NoSize.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 12 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.563 sec (0 m 1 s) Start Date: 2024:06:28 10:42:54 End Date: 2024:06:28 10:42:55 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9825== Memcheck, a memory error detector [INFO]: ==9825== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9825== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9825== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe --allmatch [INFO]: ==9825== Parent PID: 9803 [INFO]: ==9825== [INFO]: --9825-- [INFO]: --9825-- Valgrind options: [INFO]: --9825-- -v [INFO]: --9825-- --trace-children=yes [INFO]: --9825-- --track-fds=yes [INFO]: --9825-- --leak-check=full [INFO]: --9825-- --show-possibly-lost=no [INFO]: --9825-- --show-leak-kinds=definite [INFO]: --9825-- --errors-for-leak-kinds=definite [INFO]: --9825-- --main-stacksize=16777216 [INFO]: --9825-- --gen-suppressions=all [INFO]: --9825-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9825-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: --9825-- --error-exitcode=123 [INFO]: --9825-- Contents of /proc/version: [INFO]: --9825-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9825-- [INFO]: --9825-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9825-- Page sizes: currently 4096, max supported 4096 [INFO]: --9825-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9825-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9825-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9825-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9825-- might be shown as UnknownInlinedFun [INFO]: --9825-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9825-- object doesn't have a dynamic symbol table [INFO]: --9825-- Scheduler: using generic scheduler lock implementation. [INFO]: --9825-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9825-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9825== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9825-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9825== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9825-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9825== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9825-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9825== [INFO]: ==9825== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9825== don't want to do, unless you know exactly what you're doing, [INFO]: ==9825== or are doing some strange experiment): [INFO]: ==9825== /usr/libexec/valgrind/../../bin/vgdb --pid=9825 ...command... [INFO]: ==9825== [INFO]: ==9825== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9825== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9825== and then give GDB the following command [INFO]: ==9825== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9825 [INFO]: ==9825== --pid is optional if only one valgrind process is running [INFO]: ==9825== [INFO]: --9825-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9825-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9825-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9825-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9825-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9825-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9825-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9825-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9825-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9825-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9825-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9825-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9825-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9825-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9825-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9825-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9825-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9825-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9825-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9825-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9825-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9825== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9825== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9825== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9825== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9825-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9825-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9825-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9825-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9825-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9825-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9825-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9825-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9825-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9825-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9825-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9825-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9825-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9825-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9825-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9825-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9825-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9825-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9825-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9825-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: ==9825== [INFO]: ==9825== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9825== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: ==9825== [INFO]: ==9825== [INFO]: ==9825== (No origin, error cannot be suppressed) [INFO]: ==9825== [INFO]: ==9825== HEAP SUMMARY: [INFO]: ==9825== in use at exit: 0 bytes in 0 blocks [INFO]: ==9825== total heap usage: 5,431 allocs, 5,431 frees, 638,308 bytes allocated [INFO]: ==9825== [INFO]: ==9825== All heap blocks were freed -- no leaks are possible [INFO]: ==9825== [INFO]: ==9825== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________ ERROR at teardown of TC.test_many_sigs_no_allmatch ______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that only one sig alerts when not using all-match mode [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.NDB.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 12 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.382 sec (0 m 1 s) Start Date: 2024:06:28 10:42:56 End Date: 2024:06:28 10:42:57 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9827== Memcheck, a memory error detector [INFO]: ==9827== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9827== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9827== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [INFO]: ==9827== Parent PID: 9803 [INFO]: ==9827== [INFO]: --9827-- [INFO]: --9827-- Valgrind options: [INFO]: --9827-- -v [INFO]: --9827-- --trace-children=yes [INFO]: --9827-- --track-fds=yes [INFO]: --9827-- --leak-check=full [INFO]: --9827-- --show-possibly-lost=no [INFO]: --9827-- --show-leak-kinds=definite [INFO]: --9827-- --errors-for-leak-kinds=definite [INFO]: --9827-- --main-stacksize=16777216 [INFO]: --9827-- --gen-suppressions=all [INFO]: --9827-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9827-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: --9827-- --error-exitcode=123 [INFO]: --9827-- Contents of /proc/version: [INFO]: --9827-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9827-- [INFO]: --9827-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9827-- Page sizes: currently 4096, max supported 4096 [INFO]: --9827-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9827-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9827-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9827-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9827-- might be shown as UnknownInlinedFun [INFO]: --9827-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9827-- object doesn't have a dynamic symbol table [INFO]: --9827-- Scheduler: using generic scheduler lock implementation. [INFO]: --9827-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9827-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9827== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9827-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9827== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9827-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9827== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9827-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9827== [INFO]: ==9827== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9827== don't want to do, unless you know exactly what you're doing, [INFO]: ==9827== or are doing some strange experiment): [INFO]: ==9827== /usr/libexec/valgrind/../../bin/vgdb --pid=9827 ...command... [INFO]: ==9827== [INFO]: ==9827== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9827== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9827== and then give GDB the following command [INFO]: ==9827== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9827 [INFO]: ==9827== --pid is optional if only one valgrind process is running [INFO]: ==9827== [INFO]: --9827-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9827-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9827-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9827-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9827-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9827-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9827-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9827-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9827-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9827-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9827-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9827-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9827-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9827-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9827-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9827-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9827-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9827-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9827-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9827-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9827-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9827== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9827== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9827== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9827== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9827-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9827-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9827-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9827-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9827-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9827-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9827-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9827-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9827-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9827-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9827-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9827-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9827-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9827-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9827-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9827-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9827-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9827-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9827-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9827== [INFO]: ==9827== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9827== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: ==9827== [INFO]: ==9827== [INFO]: ==9827== (No origin, error cannot be suppressed) [INFO]: ==9827== [INFO]: ==9827== HEAP SUMMARY: [INFO]: ==9827== in use at exit: 0 bytes in 0 blocks [INFO]: ==9827== total heap usage: 5,387 allocs, 5,387 frees, 633,100 bytes allocated [INFO]: ==9827== [INFO]: ==9827== All heap blocks were freed -- no leaks are possible [INFO]: ==9827== [INFO]: ==9827== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ___________________ ERROR at teardown of TC.test_pe_allmatch ___________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will detect a string in test.exe with a wide variety of signatures written or generated for the file. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/alert-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/weak-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/broken-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/block-cert-sigs --allmatch --bytecode-unsigned /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.CRB.BlockCert FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_11of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_13of22_PE_S1_EXACT_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_18of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_20of22_PE_S1_EXACT_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_01of22_companyname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_02of22_filedescription.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_03of22_fileversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_04of22_internalname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_05of22_legalcopyright.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_06of22_originalfilename.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_07of22_productname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_08of22_productversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_1of2_MD5_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_2of2_MD5_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_1of4_SHA1_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_2of4_SHA1_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_3of4_SHA256_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_4of4_SHA256_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.LDB_1of2_PE_ICON_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_3of6_PE_REG_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.LDB_2of2_PE_ICON_2.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_4of6_PE_REG_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_1of6_ANY_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_2of6_ANY_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_3of6_PE_REG_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_4of6_PE_REG_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_1of6_ANY_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_2of6_ANY_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_01of16_MD5_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_02of16_MD5_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_01of32_SHA1_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_02of32_SHA1_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_17of32_SHA256_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_18of32_SHA256_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_03of16_MD5_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_04of16_MD5_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_03of32_SHA1_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_04of32_SHA1_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_19of32_SHA256_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_20of32_SHA256_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_05of16_MD5_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_06of16_MD5_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_05of32_SHA1_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_06of32_SHA1_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_21of32_SHA256_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_22of32_SHA256_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_09of16_MD5_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_10of16_MD5_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_09of32_SHA1_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_10of32_SHA1_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_25of32_SHA256_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_26of32_SHA256_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_15of16_MD5_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_16of16_MD5_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_15of32_SHA1_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_16of32_SHA1_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_31of32_SHA256_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_32of32_SHA256_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND ----------- SCAN SUMMARY ----------- Known viruses: 90 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 10.85 MB Data read: 1.38 MB (ratio 7.87:1) Time: 5.893 sec (0 m 5 s) Start Date: 2024:06:28 10:42:58 End Date: 2024:06:28 10:43:04 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9829== Memcheck, a memory error detector [INFO]: ==9829== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9829== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9829== Parent PID: 9803 [INFO]: ==9829== [INFO]: --9829-- [INFO]: --9829-- Valgrind options: [INFO]: --9829-- -v [INFO]: --9829-- --trace-children=yes [INFO]: --9829-- --track-fds=yes [INFO]: --9829-- --leak-check=full [INFO]: --9829-- --show-possibly-lost=no [INFO]: --9829-- --show-leak-kinds=definite [INFO]: --9829-- --errors-for-leak-kinds=definite [INFO]: --9829-- --main-stacksize=16777216 [INFO]: --9829-- --gen-suppressions=all [INFO]: --9829-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9829-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: --9829-- --error-exitcode=123 [INFO]: --9829-- Contents of /proc/version: [INFO]: --9829-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9829-- [INFO]: --9829-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9829-- Page sizes: currently 4096, max supported 4096 [INFO]: --9829-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9829-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9829-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9829-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9829-- might be shown as UnknownInlinedFun [INFO]: --9829-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9829-- object doesn't have a dynamic symbol table [INFO]: --9829-- Scheduler: using generic scheduler lock implementation. [INFO]: --9829-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9829-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9829== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9829-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9829== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9829-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9829== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9829-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9829== [INFO]: ==9829== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9829== don't want to do, unless you know exactly what you're doing, [INFO]: ==9829== or are doing some strange experiment): [INFO]: ==9829== /usr/libexec/valgrind/../../bin/vgdb --pid=9829 ...command... [INFO]: ==9829== [INFO]: ==9829== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9829== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9829== and then give GDB the following command [INFO]: ==9829== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9829 [INFO]: ==9829== --pid is optional if only one valgrind process is running [INFO]: ==9829== [INFO]: --9829-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9829-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9829-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9829-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9829-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9829-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9829-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9829-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9829-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9829-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9829-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9829-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9829-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9829-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9829-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9829-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9829-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9829-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9829-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9829-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9829-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9829== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9829== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9829== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9829== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9829-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9829-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9829-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9829-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9829-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9829-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9829-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9829-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9829-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9829-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9829-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9829-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9829-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9829-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9829-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9829-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9829-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9829-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9829-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9829-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: ==9829== [INFO]: ==9829== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9829== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: ==9829== [INFO]: ==9829== [INFO]: ==9829== (No origin, error cannot be suppressed) [INFO]: ==9829== [INFO]: ==9829== HEAP SUMMARY: [INFO]: ==9829== in use at exit: 0 bytes in 0 blocks [INFO]: ==9829== total heap usage: 9,393 allocs, 9,393 frees, 3,805,480 bytes allocated [INFO]: ==9829== [INFO]: ==9829== All heap blocks were freed -- no leaks are possible [INFO]: ==9829== [INFO]: ==9829== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _____________ ERROR at teardown of TC.test_regression_cbc_and_ndb ______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that bytecode rules will run after content match alerts in all-match mode. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/bytecode_sigs/Clamav-Unit-Test-Signature.cbc -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --bytecode-unsigned --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/CLAMAV-TEST-STRING-NOT-EICAR [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/CLAMAV-TEST-STRING-NOT-EICAR: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/CLAMAV-TEST-STRING-NOT-EICAR: BC.Clamav-Unit-Test-Signature FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.521 sec (0 m 1 s) Start Date: 2024:06:28 10:43:05 End Date: 2024:06:28 10:43:07 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9831== Memcheck, a memory error detector [INFO]: ==9831== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9831== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9831== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/bytecode_sigs/Clamav-Unit-Test-Signature.cbc -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --bytecode-unsigned --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/CLAMAV-TEST-STRING-NOT-EICAR [INFO]: ==9831== Parent PID: 9803 [INFO]: ==9831== [INFO]: --9831-- [INFO]: --9831-- Valgrind options: [INFO]: --9831-- -v [INFO]: --9831-- --trace-children=yes [INFO]: --9831-- --track-fds=yes [INFO]: --9831-- --leak-check=full [INFO]: --9831-- --show-possibly-lost=no [INFO]: --9831-- --show-leak-kinds=definite [INFO]: --9831-- --errors-for-leak-kinds=definite [INFO]: --9831-- --main-stacksize=16777216 [INFO]: --9831-- --gen-suppressions=all [INFO]: --9831-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9831-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: --9831-- --error-exitcode=123 [INFO]: --9831-- Contents of /proc/version: [INFO]: --9831-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9831-- [INFO]: --9831-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9831-- Page sizes: currently 4096, max supported 4096 [INFO]: --9831-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9831-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9831-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9831-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9831-- might be shown as UnknownInlinedFun [INFO]: --9831-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9831-- object doesn't have a dynamic symbol table [INFO]: --9831-- Scheduler: using generic scheduler lock implementation. [INFO]: --9831-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9831-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9831== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9831-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9831== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9831-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9831== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9831-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9831== [INFO]: ==9831== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9831== don't want to do, unless you know exactly what you're doing, [INFO]: ==9831== or are doing some strange experiment): [INFO]: ==9831== /usr/libexec/valgrind/../../bin/vgdb --pid=9831 ...command... [INFO]: ==9831== [INFO]: ==9831== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9831== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9831== and then give GDB the following command [INFO]: ==9831== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9831 [INFO]: ==9831== --pid is optional if only one valgrind process is running [INFO]: ==9831== [INFO]: --9831-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9831-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9831-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9831-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9831-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9831-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9831-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9831-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9831-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9831-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9831-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9831-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9831-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9831-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9831-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9831-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9831-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9831-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9831-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9831-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9831-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9831== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9831== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9831== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9831== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9831-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9831-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9831-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9831-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9831-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9831-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9831-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9831-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9831-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9831-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9831-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9831-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9831-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9831-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9831-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9831-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9831-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9831-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9831-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9831== [INFO]: ==9831== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9831== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: ==9831== [INFO]: ==9831== [INFO]: ==9831== (No origin, error cannot be suppressed) [INFO]: ==9831== [INFO]: ==9831== HEAP SUMMARY: [INFO]: ==9831== in use at exit: 0 bytes in 0 blocks [INFO]: ==9831== total heap usage: 5,751 allocs, 5,751 frees, 930,715 bytes allocated [INFO]: ==9831== [INFO]: ==9831== All heap blocks were freed -- no leaks are possible [INFO]: ==9831== [INFO]: ==9831== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________ ERROR at teardown of TC.test_regression_imphash_nosize ____________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test an import hash with wildcard size when all-match mode is disabled. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/database/allmatch-regression-test-sigs/clam.imp /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.NoSize.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.449 sec (0 m 1 s) Start Date: 2024:06:28 10:43:08 End Date: 2024:06:28 10:43:09 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9833== Memcheck, a memory error detector [INFO]: ==9833== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9833== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9833== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/database/allmatch-regression-test-sigs/clam.imp /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [INFO]: ==9833== Parent PID: 9803 [INFO]: ==9833== [INFO]: --9833-- [INFO]: --9833-- Valgrind options: [INFO]: --9833-- -v [INFO]: --9833-- --trace-children=yes [INFO]: --9833-- --track-fds=yes [INFO]: --9833-- --leak-check=full [INFO]: --9833-- --show-possibly-lost=no [INFO]: --9833-- --show-leak-kinds=definite [INFO]: --9833-- --errors-for-leak-kinds=definite [INFO]: --9833-- --main-stacksize=16777216 [INFO]: --9833-- --gen-suppressions=all [INFO]: --9833-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9833-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: --9833-- --error-exitcode=123 [INFO]: --9833-- Contents of /proc/version: [INFO]: --9833-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9833-- [INFO]: --9833-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9833-- Page sizes: currently 4096, max supported 4096 [INFO]: --9833-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9833-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9833-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9833-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9833-- might be shown as UnknownInlinedFun [INFO]: --9833-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9833-- object doesn't have a dynamic symbol table [INFO]: --9833-- Scheduler: using generic scheduler lock implementation. [INFO]: --9833-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9833-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9833== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9833-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9833== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9833-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9833== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9833-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9833== [INFO]: ==9833== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9833== don't want to do, unless you know exactly what you're doing, [INFO]: ==9833== or are doing some strange experiment): [INFO]: ==9833== /usr/libexec/valgrind/../../bin/vgdb --pid=9833 ...command... [INFO]: ==9833== [INFO]: ==9833== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9833== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9833== and then give GDB the following command [INFO]: ==9833== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9833 [INFO]: ==9833== --pid is optional if only one valgrind process is running [INFO]: ==9833== [INFO]: --9833-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9833-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9833-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9833-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9833-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9833-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9833-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9833-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9833-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9833-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9833-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9833-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9833-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9833-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9833-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9833-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9833-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9833-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9833-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9833-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9833-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9833== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9833== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9833== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9833== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9833-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9833-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9833-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9833-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9833-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9833-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9833-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9833-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9833-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9833-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9833-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9833-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9833-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9833-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9833-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9833-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9833-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9833-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9833-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: ==9833== [INFO]: ==9833== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9833== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: ==9833== [INFO]: ==9833== [INFO]: ==9833== (No origin, error cannot be suppressed) [INFO]: ==9833== [INFO]: ==9833== HEAP SUMMARY: [INFO]: ==9833== in use at exit: 0 bytes in 0 blocks [INFO]: ==9833== total heap usage: 5,358 allocs, 5,358 frees, 556,232 bytes allocated [INFO]: ==9833== [INFO]: ==9833== All heap blocks were freed -- no leaks are possible [INFO]: ==9833== [INFO]: ==9833== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________ ERROR at teardown of TC.test_txt_plus_clam_zipsfx _______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/allmatch_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with a hash sig. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav.hdb -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/test-string-cat-clam.exe.txt [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/test-string-cat-clam.exe.txt: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/test-string-cat-clam.exe.txt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/test-string-cat-clam.exe.txt: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.507 sec (0 m 1 s) Start Date: 2024:06:28 10:43:10 End Date: 2024:06:28 10:43:11 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9835== Memcheck, a memory error detector [INFO]: ==9835== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9835== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9835== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav.hdb -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/test-string-cat-clam.exe.txt [INFO]: ==9835== Parent PID: 9803 [INFO]: ==9835== [INFO]: --9835-- [INFO]: --9835-- Valgrind options: [INFO]: --9835-- -v [INFO]: --9835-- --trace-children=yes [INFO]: --9835-- --track-fds=yes [INFO]: --9835-- --leak-check=full [INFO]: --9835-- --show-possibly-lost=no [INFO]: --9835-- --show-leak-kinds=definite [INFO]: --9835-- --errors-for-leak-kinds=definite [INFO]: --9835-- --main-stacksize=16777216 [INFO]: --9835-- --gen-suppressions=all [INFO]: --9835-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9835-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: --9835-- --error-exitcode=123 [INFO]: --9835-- Contents of /proc/version: [INFO]: --9835-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9835-- [INFO]: --9835-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9835-- Page sizes: currently 4096, max supported 4096 [INFO]: --9835-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9835-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9835-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9835-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9835-- might be shown as UnknownInlinedFun [INFO]: --9835-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9835-- object doesn't have a dynamic symbol table [INFO]: --9835-- Scheduler: using generic scheduler lock implementation. [INFO]: --9835-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9835-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9835== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9835-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9835== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9835-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9835== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9835-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9835== [INFO]: ==9835== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9835== don't want to do, unless you know exactly what you're doing, [INFO]: ==9835== or are doing some strange experiment): [INFO]: ==9835== /usr/libexec/valgrind/../../bin/vgdb --pid=9835 ...command... [INFO]: ==9835== [INFO]: ==9835== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9835== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9835== and then give GDB the following command [INFO]: ==9835== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9835 [INFO]: ==9835== --pid is optional if only one valgrind process is running [INFO]: ==9835== [INFO]: --9835-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9835-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9835-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9835-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9835-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9835-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9835-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9835-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9835-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9835-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9835-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9835-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9835-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9835-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9835-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9835-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9835-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9835-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9835-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9835-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9835-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9835== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9835== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9835== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9835== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9835-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9835-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9835-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9835-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9835-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9835-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9835-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9835-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9835-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9835-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9835-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9835-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9835-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9835-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9835-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9835-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9835-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9835-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9835-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9835-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9835== [INFO]: ==9835== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9835== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: ==9835== [INFO]: ==9835== [INFO]: ==9835== (No origin, error cannot be suppressed) [INFO]: ==9835== [INFO]: ==9835== HEAP SUMMARY: [INFO]: ==9835== in use at exit: 0 bytes in 0 blocks [INFO]: ==9835== total heap usage: 5,396 allocs, 5,396 frees, 611,472 bytes allocated [INFO]: ==9835== [INFO]: ==9835== All heap blocks were freed -- no leaks are possible [INFO]: ==9835== [INFO]: ==9835== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk ___________________ ERROR at teardown of TC.test_00_version ____________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/assorted_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: clamscan version test [INFO]: clamscan version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [DEBUG]: Exit code: 123 [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log... [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [WARNING]: ********************************************************************* [WARNING]: ********************************************************************* [INFO]: ==9837== Memcheck, a memory error detector [INFO]: ==9837== Memcheck, a memory error detector [INFO]: ==9837== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9837== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9837== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9837== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9837== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [INFO]: ==9837== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [INFO]: ==9837== Parent PID: 9803 [INFO]: ==9837== Parent PID: 9803 [INFO]: ==9837== [INFO]: ==9837== [INFO]: --9837-- [INFO]: --9837-- [INFO]: --9837-- Valgrind options: [INFO]: --9837-- Valgrind options: [INFO]: --9837-- -v [INFO]: --9837-- -v [INFO]: --9837-- --trace-children=yes [INFO]: --9837-- --trace-children=yes [INFO]: --9837-- --track-fds=yes [INFO]: --9837-- --track-fds=yes [INFO]: --9837-- --leak-check=full [INFO]: --9837-- --leak-check=full [INFO]: --9837-- --show-possibly-lost=no [INFO]: --9837-- --show-possibly-lost=no [INFO]: --9837-- --show-leak-kinds=definite [INFO]: --9837-- --show-leak-kinds=definite [INFO]: --9837-- --errors-for-leak-kinds=definite [INFO]: --9837-- --errors-for-leak-kinds=definite [INFO]: --9837-- --main-stacksize=16777216 [INFO]: --9837-- --main-stacksize=16777216 [INFO]: --9837-- --gen-suppressions=all [INFO]: --9837-- --gen-suppressions=all [INFO]: --9837-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9837-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9837-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: --9837-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: --9837-- --error-exitcode=123 [INFO]: --9837-- --error-exitcode=123 [INFO]: --9837-- Contents of /proc/version: [INFO]: --9837-- Contents of /proc/version: [INFO]: --9837-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9837-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9837-- [INFO]: --9837-- [INFO]: --9837-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9837-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9837-- Page sizes: currently 4096, max supported 4096 [INFO]: --9837-- Page sizes: currently 4096, max supported 4096 [INFO]: --9837-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9837-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9837-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9837-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9837-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9837-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9837-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9837-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9837-- might be shown as UnknownInlinedFun [INFO]: --9837-- might be shown as UnknownInlinedFun [INFO]: --9837-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9837-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9837-- object doesn't have a dynamic symbol table [INFO]: --9837-- object doesn't have a dynamic symbol table [INFO]: --9837-- Scheduler: using generic scheduler lock implementation. [INFO]: --9837-- Scheduler: using generic scheduler lock implementation. [INFO]: --9837-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9837-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9837-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: --9837-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9837== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9837-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9837== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9837-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9837== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9837-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9837== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9837-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9837== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9837-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9837== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9837-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9837== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9837== don't want to do, unless you know exactly what you're doing, [INFO]: ==9837== don't want to do, unless you know exactly what you're doing, [INFO]: ==9837== or are doing some strange experiment): [INFO]: ==9837== or are doing some strange experiment): [INFO]: ==9837== /usr/libexec/valgrind/../../bin/vgdb --pid=9837 ...command... [INFO]: ==9837== /usr/libexec/valgrind/../../bin/vgdb --pid=9837 ...command... [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9837== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9837== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9837== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9837== and then give GDB the following command [INFO]: ==9837== and then give GDB the following command [INFO]: ==9837== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9837 [INFO]: ==9837== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9837 [INFO]: ==9837== --pid is optional if only one valgrind process is running [INFO]: ==9837== --pid is optional if only one valgrind process is running [INFO]: ==9837== [INFO]: ==9837== [INFO]: --9837-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9837-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9837-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9837-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9837-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9837-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9837-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9837-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9837-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9837-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9837-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9837-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9837-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9837-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9837-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9837-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9837-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9837-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9837-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9837-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9837-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9837-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9837-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9837-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9837-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9837-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9837-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9837-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9837-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9837-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9837-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9837-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9837-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9837-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9837-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9837-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9837-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9837-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9837-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9837-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9837-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: --9837-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9837== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9837== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9837== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9837== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9837== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9837== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9837== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9837== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9837-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9837-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9837-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9837-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9837-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9837-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9837-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9837-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9837-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9837-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9837-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9837-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9837-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9837-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9837-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9837-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9837-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9837-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9837-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9837-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9837== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9837== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: ==9837== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== (No origin, error cannot be suppressed) [INFO]: ==9837== (No origin, error cannot be suppressed) [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== HEAP SUMMARY: [INFO]: ==9837== HEAP SUMMARY: [INFO]: ==9837== in use at exit: 0 bytes in 0 blocks [INFO]: ==9837== in use at exit: 0 bytes in 0 blocks [INFO]: ==9837== total heap usage: 369 allocs, 369 frees, 27,014 bytes allocated [INFO]: ==9837== total heap usage: 369 allocs, 369 frees, 27,014 bytes allocated [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== All heap blocks were freed -- no leaks are possible [INFO]: ==9837== All heap blocks were freed -- no leaks are possible [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) [INFO]: ==9837== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________ ERROR at teardown of TC.test_pe_cert_block __________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/assorted_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will disregard a certificate trust signature if a block certificate rule is used. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/alert-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/weak-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/broken-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/block-cert-sigs --allmatch --bytecode-unsigned /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.CRB.BlockCert FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_11of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_13of22_PE_S1_EXACT_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_18of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_20of22_PE_S1_EXACT_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_01of22_companyname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_02of22_filedescription.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_03of22_fileversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_04of22_internalname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_05of22_legalcopyright.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_06of22_originalfilename.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_07of22_productname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_08of22_productversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_1of2_MD5_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_2of2_MD5_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_1of4_SHA1_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_2of4_SHA1_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_3of4_SHA256_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_4of4_SHA256_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.LDB_1of2_PE_ICON_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_3of6_PE_REG_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.LDB_2of2_PE_ICON_2.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_4of6_PE_REG_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_1of6_ANY_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_2of6_ANY_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_3of6_PE_REG_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_4of6_PE_REG_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_1of6_ANY_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_2of6_ANY_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_01of16_MD5_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_02of16_MD5_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_01of32_SHA1_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_02of32_SHA1_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_17of32_SHA256_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_18of32_SHA256_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_03of16_MD5_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_04of16_MD5_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_03of32_SHA1_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_04of32_SHA1_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_19of32_SHA256_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_20of32_SHA256_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_05of16_MD5_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_06of16_MD5_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_05of32_SHA1_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_06of32_SHA1_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_21of32_SHA256_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_22of32_SHA256_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_09of16_MD5_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_10of16_MD5_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_09of32_SHA1_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_10of32_SHA1_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_25of32_SHA256_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_26of32_SHA256_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_15of16_MD5_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_16of16_MD5_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_15of32_SHA1_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_16of32_SHA1_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_31of32_SHA256_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_32of32_SHA256_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND ----------- SCAN SUMMARY ----------- Known viruses: 90 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 10.85 MB Data read: 1.38 MB (ratio 7.87:1) Time: 5.906 sec (0 m 5 s) Start Date: 2024:06:28 10:43:13 End Date: 2024:06:28 10:43:19 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9839== Memcheck, a memory error detector [INFO]: ==9839== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9839== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9839== Parent PID: 9803 [INFO]: ==9839== [INFO]: --9839-- [INFO]: --9839-- Valgrind options: [INFO]: --9839-- -v [INFO]: --9839-- --trace-children=yes [INFO]: --9839-- --track-fds=yes [INFO]: --9839-- --leak-check=full [INFO]: --9839-- --show-possibly-lost=no [INFO]: --9839-- --show-leak-kinds=definite [INFO]: --9839-- --errors-for-leak-kinds=definite [INFO]: --9839-- --main-stacksize=16777216 [INFO]: --9839-- --gen-suppressions=all [INFO]: --9839-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9839-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: --9839-- --error-exitcode=123 [INFO]: --9839-- Contents of /proc/version: [INFO]: --9839-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9839-- [INFO]: --9839-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9839-- Page sizes: currently 4096, max supported 4096 [INFO]: --9839-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9839-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9839-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9839-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9839-- might be shown as UnknownInlinedFun [INFO]: --9839-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9839-- object doesn't have a dynamic symbol table [INFO]: --9839-- Scheduler: using generic scheduler lock implementation. [INFO]: --9839-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9839-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9839== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9839-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9839== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9839-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9839== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9839-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9839== [INFO]: ==9839== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9839== don't want to do, unless you know exactly what you're doing, [INFO]: ==9839== or are doing some strange experiment): [INFO]: ==9839== /usr/libexec/valgrind/../../bin/vgdb --pid=9839 ...command... [INFO]: ==9839== [INFO]: ==9839== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9839== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9839== and then give GDB the following command [INFO]: ==9839== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9839 [INFO]: ==9839== --pid is optional if only one valgrind process is running [INFO]: ==9839== [INFO]: --9839-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9839-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9839-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9839-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9839-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9839-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9839-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9839-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9839-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9839-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9839-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9839-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9839-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9839-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9839-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9839-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9839-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9839-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9839-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9839== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9839== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9839== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9839-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9839-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9839-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9839-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9839-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9839-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9839-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9839-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9839-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9839-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9839-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9839-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9839-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9839-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9839-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9839-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9839-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9839-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9839-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9839-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: ==9839== [INFO]: ==9839== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9839== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: ==9839== [INFO]: ==9839== [INFO]: ==9839== (No origin, error cannot be suppressed) [INFO]: ==9839== [INFO]: ==9839== HEAP SUMMARY: [INFO]: ==9839== in use at exit: 0 bytes in 0 blocks [INFO]: ==9839== total heap usage: 9,393 allocs, 9,393 frees, 3,805,480 bytes allocated [INFO]: ==9839== [INFO]: ==9839== All heap blocks were freed -- no leaks are possible [INFO]: ==9839== [INFO]: ==9839== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________ ERROR at teardown of TC.test_pe_cert_trust __________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/assorted_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam can trust an EXE based on an authenticode certificate check. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/alert-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/weak-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/broken-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/trust-sigs --allmatch --bytecode-unsigned /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: OK ----------- SCAN SUMMARY ----------- Known viruses: 90 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 1.38 MB (ratio 0.00:1) Time: 3.248 sec (0 m 3 s) Start Date: 2024:06:28 10:43:20 End Date: 2024:06:28 10:43:23 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9841== Memcheck, a memory error detector [INFO]: ==9841== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9841== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9841== Parent PID: 9803 [INFO]: ==9841== [INFO]: --9841-- [INFO]: --9841-- Valgrind options: [INFO]: --9841-- -v [INFO]: --9841-- --trace-children=yes [INFO]: --9841-- --track-fds=yes [INFO]: --9841-- --leak-check=full [INFO]: --9841-- --show-possibly-lost=no [INFO]: --9841-- --show-leak-kinds=definite [INFO]: --9841-- --errors-for-leak-kinds=definite [INFO]: --9841-- --main-stacksize=16777216 [INFO]: --9841-- --gen-suppressions=all [INFO]: --9841-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9841-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: --9841-- --error-exitcode=123 [INFO]: --9841-- Contents of /proc/version: [INFO]: --9841-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9841-- [INFO]: --9841-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9841-- Page sizes: currently 4096, max supported 4096 [INFO]: --9841-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9841-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9841-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9841-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9841-- might be shown as UnknownInlinedFun [INFO]: --9841-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9841-- object doesn't have a dynamic symbol table [INFO]: --9841-- Scheduler: using generic scheduler lock implementation. [INFO]: --9841-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9841-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9841== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9841-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9841== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9841-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9841== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9841-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9841== [INFO]: ==9841== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9841== don't want to do, unless you know exactly what you're doing, [INFO]: ==9841== or are doing some strange experiment): [INFO]: ==9841== /usr/libexec/valgrind/../../bin/vgdb --pid=9841 ...command... [INFO]: ==9841== [INFO]: ==9841== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9841== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9841== and then give GDB the following command [INFO]: ==9841== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9841 [INFO]: ==9841== --pid is optional if only one valgrind process is running [INFO]: ==9841== [INFO]: --9841-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9841-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9841-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9841-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9841-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9841-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9841-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9841-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9841-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9841-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9841-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9841-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9841-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9841-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9841-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9841-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9841-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9841-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9841-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9841-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9841-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9841== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9841== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9841== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9841== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9841-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9841-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9841-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9841-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9841-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9841-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9841-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9841-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9841-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9841-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9841-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9841-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9841-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9841-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9841-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9841-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9841-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9841-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9841-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9841== [INFO]: ==9841== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9841== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: ==9841== [INFO]: ==9841== [INFO]: ==9841== (No origin, error cannot be suppressed) [INFO]: ==9841== [INFO]: ==9841== HEAP SUMMARY: [INFO]: ==9841== in use at exit: 0 bytes in 0 blocks [INFO]: ==9841== total heap usage: 6,577 allocs, 6,577 frees, 2,541,078 bytes allocated [INFO]: ==9841== [INFO]: ==9841== All heap blocks were freed -- no leaks are possible [INFO]: ==9841== [INFO]: ==9841== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________ ERROR at teardown of TC.test_weak_indicator_icon _______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/assorted_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test icon (.ldb + .idb) weak indicator matching signatures [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/icon.ldb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/icon.idb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-Icon-EA0X.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-Icon-EA0X.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-Icon-IScab.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-Icon-IScab.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK ----------- SCAN SUMMARY ----------- Known viruses: 4 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 4 Data scanned: 13.64 MB Data read: 6.91 MB (ratio 1.97:1) Time: 9.229 sec (0 m 9 s) Start Date: 2024:06:28 10:43:24 End Date: 2024:06:28 10:43:33 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9843== Memcheck, a memory error detector [INFO]: ==9843== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9843== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9843== Parent PID: 9803 [INFO]: ==9843== [INFO]: --9843-- [INFO]: --9843-- Valgrind options: [INFO]: --9843-- -v [INFO]: --9843-- --trace-children=yes [INFO]: --9843-- --track-fds=yes [INFO]: --9843-- --leak-check=full [INFO]: --9843-- --show-possibly-lost=no [INFO]: --9843-- --show-leak-kinds=definite [INFO]: --9843-- --errors-for-leak-kinds=definite [INFO]: --9843-- --main-stacksize=16777216 [INFO]: --9843-- --gen-suppressions=all [INFO]: --9843-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9843-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: --9843-- --error-exitcode=123 [INFO]: --9843-- Contents of /proc/version: [INFO]: --9843-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9843-- [INFO]: --9843-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9843-- Page sizes: currently 4096, max supported 4096 [INFO]: --9843-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9843-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9843-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9843-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9843-- might be shown as UnknownInlinedFun [INFO]: --9843-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9843-- object doesn't have a dynamic symbol table [INFO]: --9843-- Scheduler: using generic scheduler lock implementation. [INFO]: --9843-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9843-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9843== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9843-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9843== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9843-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9843== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9843-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9843== [INFO]: ==9843== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9843== don't want to do, unless you know exactly what you're doing, [INFO]: ==9843== or are doing some strange experiment): [INFO]: ==9843== /usr/libexec/valgrind/../../bin/vgdb --pid=9843 ...command... [INFO]: ==9843== [INFO]: ==9843== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9843== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9843== and then give GDB the following command [INFO]: ==9843== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9843 [INFO]: ==9843== --pid is optional if only one valgrind process is running [INFO]: ==9843== [INFO]: --9843-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9843-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9843-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9843-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9843-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9843-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9843-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9843-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9843-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9843-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9843-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9843-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9843-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9843-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9843-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9843-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9843-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9843-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9843-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9843-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9843-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9843== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9843== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9843== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9843== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9843-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9843-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9843-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9843-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9843-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9843-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9843-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9843-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9843-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9843-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9843-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9843-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9843-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9843-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9843-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9843-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9843-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9843-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9843-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9843-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9843-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9843-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9843-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9843-- REDIR: 0x5209c40 (libc.so.6:__strcpy_chk) redirected to 0x484e740 (__strcpy_chk) [INFO]: --9843-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9843== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9843== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9843== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9843== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9843== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9843== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9843== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9843== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9843== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9843== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9843== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9843== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9843== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9843== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9843== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9843== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9843== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9843== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9843== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9843== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9843== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9843== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9843== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9843== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9843== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9843== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9843== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9843== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9843== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9843== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9843== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9843== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9843== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9843== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9843== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9843== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9843== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9843== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9843== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9843== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9843== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9843== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9843== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9843== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9843== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9843== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9843== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9843== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9843== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9843== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9843== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9843== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9843== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9843== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9843== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9843== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: --9843-- Discarding syms at 0x5f4d160-0x5f4e940 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9843== [INFO]: ==9843== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9843== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: ==9843== [INFO]: ==9843== [INFO]: ==9843== (No origin, error cannot be suppressed) [INFO]: ==9843== [INFO]: ==9843== HEAP SUMMARY: [INFO]: ==9843== in use at exit: 24,315 bytes in 98 blocks [INFO]: ==9843== total heap usage: 18,530 allocs, 18,432 frees, 45,697,296 bytes allocated [INFO]: ==9843== [INFO]: ==9843== Searching for pointers to 98 not-freed blocks [INFO]: ==9843== Checked 4,462,416 bytes [INFO]: ==9843== [INFO]: ==9843== LEAK SUMMARY: [INFO]: ==9843== definitely lost: 0 bytes in 0 blocks [INFO]: ==9843== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9843== possibly lost: 608 bytes in 2 blocks [INFO]: ==9843== still reachable: 23,707 bytes in 96 blocks [INFO]: ==9843== suppressed: 0 bytes in 0 blocks [INFO]: ==9843== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9843== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9843== [INFO]: ==9843== Use --track-origins=yes to see where uninitialised values come from [INFO]: ==9843== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) [INFO]: ==9843== [INFO]: ==9843== 9 errors in context 1 of 2: [INFO]: ==9843== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9843== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9843== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9843== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9843== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9843== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9843== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9843== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9843== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9843== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9843== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9843== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9843== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9843== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9843== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9843== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9843== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9843== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9843== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9843== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9843== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9843== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9843== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9843== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9843== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9843== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9843== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9843== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9843== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9843== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9843== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9843== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9843== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9843== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9843== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9843== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9843== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9843== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9843== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9843== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9843== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9843== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9843== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9843== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9843== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9843== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9843== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9843== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9843== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9843== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9843== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9843== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9843== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9843== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9843== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9843== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9843== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f ____________________ ERROR at teardown of TC.test_pdf_hook _____________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/bytecode_test.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-_kjqzx50/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that pdf bytecode hooks trigger [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-_kjqzx50/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/bytecode_sigs/pdf-hook.cbc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf --bytecode-unsigned [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: Test.Case.BC.PDF.hook FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 1.00:1) Time: 1.559 sec (0 m 1 s) Start Date: 2024:06:28 10:43:34 End Date: 2024:06:28 10:43:36 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-_kjqzx50/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-_kjqzx50/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9847== Memcheck, a memory error detector [INFO]: ==9847== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9847== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9847== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/bytecode_sigs/pdf-hook.cbc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf --bytecode-unsigned [INFO]: ==9847== Parent PID: 9803 [INFO]: ==9847== [INFO]: --9847-- [INFO]: --9847-- Valgrind options: [INFO]: --9847-- -v [INFO]: --9847-- --trace-children=yes [INFO]: --9847-- --track-fds=yes [INFO]: --9847-- --leak-check=full [INFO]: --9847-- --show-possibly-lost=no [INFO]: --9847-- --show-leak-kinds=definite [INFO]: --9847-- --errors-for-leak-kinds=definite [INFO]: --9847-- --main-stacksize=16777216 [INFO]: --9847-- --gen-suppressions=all [INFO]: --9847-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9847-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-_kjqzx50/valgrind.log [INFO]: --9847-- --error-exitcode=123 [INFO]: --9847-- Contents of /proc/version: [INFO]: --9847-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9847-- [INFO]: --9847-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9847-- Page sizes: currently 4096, max supported 4096 [INFO]: --9847-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9847-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9847-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9847-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9847-- might be shown as UnknownInlinedFun [INFO]: --9847-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9847-- object doesn't have a dynamic symbol table [INFO]: --9847-- Scheduler: using generic scheduler lock implementation. [INFO]: --9847-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9847-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9847== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9847-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9847== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9847-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9847== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9847-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9847== [INFO]: ==9847== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9847== don't want to do, unless you know exactly what you're doing, [INFO]: ==9847== or are doing some strange experiment): [INFO]: ==9847== /usr/libexec/valgrind/../../bin/vgdb --pid=9847 ...command... [INFO]: ==9847== [INFO]: ==9847== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9847== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9847== and then give GDB the following command [INFO]: ==9847== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9847 [INFO]: ==9847== --pid is optional if only one valgrind process is running [INFO]: ==9847== [INFO]: --9847-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9847-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9847-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9847-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9847-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9847-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9847-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9847-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9847-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9847-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9847-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9847-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9847-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9847-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9847-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9847-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9847-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9847-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9847-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9847-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9847-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9847== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9847== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9847== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9847== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9847-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9847-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9847-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9847-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9847-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9847-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9847-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9847-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9847-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9847-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9847-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9847-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9847-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9847-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9847-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9847-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9847-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9847-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9847== [INFO]: ==9847== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9847== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-_kjqzx50/valgrind.log [INFO]: ==9847== [INFO]: ==9847== [INFO]: ==9847== (No origin, error cannot be suppressed) [INFO]: ==9847== [INFO]: ==9847== HEAP SUMMARY: [INFO]: ==9847== in use at exit: 0 bytes in 0 blocks [INFO]: ==9847== total heap usage: 5,731 allocs, 5,731 frees, 822,135 bytes allocated [INFO]: ==9847== [INFO]: ==9847== All heap blocks were freed -- no leaks are possible [INFO]: ==9847== [INFO]: ==9847== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-_kjqzx50 ____________ ERROR at teardown of TC.test_clamscan_container_cache _____________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/container_sigs_test.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that near-matches for container sigs are not cached [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/zip_container.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar.zip --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar.zip: LDB.Clamav-Unit-Test-Signature-Container.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 2 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.445 sec (0 m 1 s) Start Date: 2024:06:28 10:43:36 End Date: 2024:06:28 10:43:38 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9849== Memcheck, a memory error detector [INFO]: ==9849== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9849== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9849== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/zip_container.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar.zip --allmatch [INFO]: ==9849== Parent PID: 9803 [INFO]: ==9849== [INFO]: --9849-- [INFO]: --9849-- Valgrind options: [INFO]: --9849-- -v [INFO]: --9849-- --trace-children=yes [INFO]: --9849-- --track-fds=yes [INFO]: --9849-- --leak-check=full [INFO]: --9849-- --show-possibly-lost=no [INFO]: --9849-- --show-leak-kinds=definite [INFO]: --9849-- --errors-for-leak-kinds=definite [INFO]: --9849-- --main-stacksize=16777216 [INFO]: --9849-- --gen-suppressions=all [INFO]: --9849-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9849-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [INFO]: --9849-- --error-exitcode=123 [INFO]: --9849-- Contents of /proc/version: [INFO]: --9849-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9849-- [INFO]: --9849-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9849-- Page sizes: currently 4096, max supported 4096 [INFO]: --9849-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9849-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9849-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9849-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9849-- might be shown as UnknownInlinedFun [INFO]: --9849-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9849-- object doesn't have a dynamic symbol table [INFO]: --9849-- Scheduler: using generic scheduler lock implementation. [INFO]: --9849-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9849-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9849== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9849-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9849== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9849-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9849== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9849-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9849== [INFO]: ==9849== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9849== don't want to do, unless you know exactly what you're doing, [INFO]: ==9849== or are doing some strange experiment): [INFO]: ==9849== /usr/libexec/valgrind/../../bin/vgdb --pid=9849 ...command... [INFO]: ==9849== [INFO]: ==9849== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9849== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9849== and then give GDB the following command [INFO]: ==9849== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9849 [INFO]: ==9849== --pid is optional if only one valgrind process is running [INFO]: ==9849== [INFO]: --9849-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9849-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9849-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9849-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9849-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9849-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9849-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9849-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9849-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9849-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9849-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9849-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9849-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9849-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9849-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9849-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9849-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9849-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9849-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9849-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9849-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9849== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9849== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9849== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9849== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9849-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9849-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9849-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9849-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9849-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9849-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9849-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9849-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9849-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9849-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9849-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9849-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9849-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9849-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9849-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9849-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9849-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9849-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9849-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9849== [INFO]: ==9849== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9849== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [INFO]: ==9849== [INFO]: ==9849== [INFO]: ==9849== (No origin, error cannot be suppressed) [INFO]: ==9849== [INFO]: ==9849== HEAP SUMMARY: [INFO]: ==9849== in use at exit: 0 bytes in 0 blocks [INFO]: ==9849== total heap usage: 5,485 allocs, 5,485 frees, 908,709 bytes allocated [INFO]: ==9849== [INFO]: ==9849== All heap blocks were freed -- no leaks are possible [INFO]: ==9849== [INFO]: ==9849== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________ ERROR at teardown of TC.test_container ____________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/container_sigs_test.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamav can successfully alert on jpeg image extracted from XLS documents [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/7z_zip_container.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip --gen-json --debug --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_container_good.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_container_good.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.707 sec (0 m 1 s) Start Date: 2024:06:28 10:43:39 End Date: 2024:06:28 10:43:41 [DEBUG]: stderr: LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64 LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /libclamunrar_iface..a not found LibClamAV debug: Cannot dlopen libclamunrar_iface: /libclamunrar_iface..a: cannot open shared object file: No such file or directory - unrar support unavailable LibClamAV debug: Initialized 1.0.6 engine LibClamAV debug: Initializing phishcheck module LibClamAV debug: Phishcheck: Compiling regex: ^ *(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$ LibClamAV debug: Phishcheck module initialized LibClamAV debug: Bytecode initialized in interpreter mode LibClamAV debug: Initializing engine matching structures LibClamAV debug: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/7z_zip_container.ldb loaded LibClamAV debug: Initializing engine matching structures LibClamAV debug: Loaded 156 filetype definitions LibClamAV debug: Using filter for trie 0 LibClamAV debug: Matcher[0]: GENERIC: AC sigs: 86 (reloff: 1, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 32 LibClamAV debug: Using filter for trie 1 LibClamAV debug: Matcher[1]: PE: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 LibClamAV debug: Matcher[2]: OLE2: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[3]: HTML: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 4 LibClamAV debug: Matcher[4]: MAIL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[5]: GRAPHICS: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[6]: ELF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 7 LibClamAV debug: Matcher[7]: ASCII: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[8]: NOT USED: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[9]: MACH-O: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[10]: PDF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[11]: FLASH: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[12]: JAVA: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[13]: INTERNAL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[14]: OTHER: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Dynamic engine configuration settings: LibClamAV debug: -------------------------------------- LibClamAV debug: Module PE: On LibClamAV debug: * Submodule PARITE: On LibClamAV debug: * Submodule KRIZ: On LibClamAV debug: * Submodule MAGISTR: On LibClamAV debug: * Submodule POLIPOS: On LibClamAV debug: * Submodule MD5SECT: On LibClamAV debug: * Submodule UPX: On LibClamAV debug: * Submodule FSG: On LibClamAV debug: * Submodule SWIZZOR: ** Off ** LibClamAV debug: * Submodule PETITE: On LibClamAV debug: * Submodule PESPIN: On LibClamAV debug: * Submodule YC: On LibClamAV debug: * Submodule WWPACK: On LibClamAV debug: * Submodule NSPACK: On LibClamAV debug: * Submodule MEW: On LibClamAV debug: * Submodule UPACK: On LibClamAV debug: * Submodule ASPACK: On LibClamAV debug: * Submodule CATALOG: On LibClamAV debug: * Submodule CERTS: On LibClamAV debug: * Submodule MATCHICON: On LibClamAV debug: * Submodule IMPTBL: On LibClamAV debug: Module ELF: On LibClamAV debug: Module MACHO: On LibClamAV debug: Module ARCHIVE: On LibClamAV debug: * Submodule RAR: On LibClamAV debug: * Submodule ZIP: On LibClamAV debug: * Submodule GZIP: On LibClamAV debug: * Submodule BZIP: On LibClamAV debug: * Submodule ARJ: On LibClamAV debug: * Submodule SZDD: On LibClamAV debug: * Submodule CAB: On LibClamAV debug: * Submodule CHM: On LibClamAV debug: * Submodule OLE2: On LibClamAV debug: * Submodule TAR: On LibClamAV debug: * Submodule CPIO: On LibClamAV debug: * Submodule BINHEX: On LibClamAV debug: * Submodule SIS: On LibClamAV debug: * Submodule NSIS: On LibClamAV debug: * Submodule AUTOIT: On LibClamAV debug: * Submodule ISHIELD: On LibClamAV debug: * Submodule 7zip: On LibClamAV debug: * Submodule ISO9660: On LibClamAV debug: * Submodule DMG: On LibClamAV debug: * Submodule XAR: On LibClamAV debug: * Submodule HFSPLUS: On LibClamAV debug: * Submodule XZ: On LibClamAV debug: * Submodule PASSWD: On LibClamAV debug: * Submodule MBR: On LibClamAV debug: * Submodule GPT: On LibClamAV debug: * Submodule APM: On LibClamAV debug: * Submodule EGG: On LibClamAV debug: Module DOCUMENT: On LibClamAV debug: * Submodule HTML: On LibClamAV debug: * Submodule RTF: On LibClamAV debug: * Submodule PDF: On LibClamAV debug: * Submodule SCRIPT: On LibClamAV debug: * Submodule HTMLSKIPRAW: On LibClamAV debug: * Submodule JSNORM: On LibClamAV debug: * Submodule SWF: On LibClamAV debug: * Submodule OOXML: On LibClamAV debug: * Submodule MSPML: On LibClamAV debug: * Submodule HWP: On LibClamAV debug: Module MAIL: On LibClamAV debug: * Submodule MBOX: On LibClamAV debug: * Submodule TNEF: On LibClamAV debug: Module OTHER: On LibClamAV debug: * Submodule UUENCODED: On LibClamAV debug: * Submodule SCRENC: On LibClamAV debug: * Submodule RIFF: On LibClamAV debug: * Submodule JPEG: On LibClamAV debug: * Submodule CRYPTFF: On LibClamAV debug: * Submodule DLP: On LibClamAV debug: * Submodule MYDOOMLOG: On LibClamAV debug: * Submodule PREFILTERING: On LibClamAV debug: * Submodule PDFNAMEOBJ: On LibClamAV debug: * Submodule PRTNINTXN: On LibClamAV debug: * Submodule LZW: On LibClamAV debug: * Submodule GIF: On LibClamAV debug: * Submodule PNG: On LibClamAV debug: * Submodule TIFF: On LibClamAV debug: Module PHISHING On LibClamAV debug: * Submodule ENGINE: On LibClamAV debug: * Submodule ENTCONV: On LibClamAV debug: Module BYTECODE On LibClamAV debug: * Submodule INTERPRETER: On LibClamAV debug: * Submodule JIT X86: On LibClamAV debug: * Submodule JIT PPC: On LibClamAV debug: * Submodule JIT ARM: ** Off ** LibClamAV debug: Module STATS Off LibClamAV debug: Module PCRE On LibClamAV debug: * Submodule SUPPORT: On LibClamAV debug: * Submodule OPTIONS: On LibClamAV debug: * Submodule GLOBAL: On LibClamAV debug: pool memory used: 5.945 MB LibClamAV debug: No bytecodes loaded, not running builtin test LibClamAV debug: Checking realpath of /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip LibClamAV debug: Recognized ZIP file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_unzip LibClamAV debug: cli_unzip: central directory header offset: @be LibClamAV debug: cli_unzip: checking for non-recursive zip bombs... LibClamAV debug: cli_unzip: central header - flags 0 - method 8 - csize 77 - usize 98 - flen d - elen 18 - clen 0 - disk 0 - off 0 LibClamAV debug: cli_unzip: central header - fname: v1rusv1rus.7z LibClamAV debug: CDBNAME:CL_TYPE_ZIP:119:v1rusv1rus.7z:119:152:0:1:823901048:(nil) LibClamAV debug: cli_unzip: local header - ZMDNAME:0:v1rusv1rus.7z:152:119:311bbb78:8:1:0 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:119:v1rusv1rus.7z:119:152:0:1:823901048:(nil) LibClamAV debug: cli_unzip: central header - wrkcomplete LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104340-scantemp.ef90f91ca2/clamav-4bac8716d36f1f5f8746124d1cc2593f.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 0/17) LibClamAV debug: Recognized 7zip file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: cli_7unz: extracting virusvirus.txt LibClamAV debug: CDBNAME:CL_TYPE_7Z:0:virusvirus.txt:0:10:0:0:238077078:(nil) LibClamAV debug: cli_7unz: Saving to /tmp/20240628_104340-scantemp.ef90f91ca2/clamav-f4e516881498457af4b11d20c539b40d.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: FP SIGNATURE: 5a8e8c78d8e42420120ea7f44cb41d00:10:7z_zip_container_good.UNOFFICIAL # Name: virusvirus.txt, Type: CL_TYPE_TEXT_ASCII LibClamAV debug: FP SIGNATURE: d736ca78f6b897fddc2c0328b248971b:152:7z_zip_container_good.UNOFFICIAL # Name: v1rusv1rus.7z, Type: CL_TYPE_7Z LibClamAV debug: FP SIGNATURE: 318224dc81ba90f27788e6053ce49c56:295:7z_zip_container_good.UNOFFICIAL # Name: v1rusv1rus.7z.zip, Type: CL_TYPE_ZIP LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: FP SIGNATURE: 5a8e8c78d8e42420120ea7f44cb41d00:10:7z_zip_container_good.UNOFFICIAL # Name: virusvirus.txt, Type: CL_TYPE_TEXT_ASCII LibClamAV debug: FP SIGNATURE: d736ca78f6b897fddc2c0328b248971b:152:7z_zip_container_good.UNOFFICIAL # Name: v1rusv1rus.7z, Type: CL_TYPE_7Z LibClamAV debug: FP SIGNATURE: 318224dc81ba90f27788e6053ce49c56:295:7z_zip_container_good.UNOFFICIAL # Name: v1rusv1rus.7z.zip, Type: CL_TYPE_ZIP LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: cli_7unz: completed successfully LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Matched signature for file type 7zip-SFX at 0 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: { "Magic":"CLAMJSONv0", "RootFileType":"CL_TYPE_ZIP", "FileName":"v1rusv1rus.7z.zip", "FileType":"CL_TYPE_ZIP", "FileSize":295, "FileMD5":"318224dc81ba90f27788e6053ce49c56", "ContainedObjects":[ { "FileName":"v1rusv1rus.7z", "FilePath":"/tmp/20240628_104340-scantemp.ef90f91ca2/clamav-4bac8716d36f1f5f8746124d1cc2593f.tmp", "FileType":"CL_TYPE_7Z", "FileSize":152, "FileMD5":"d736ca78f6b897fddc2c0328b248971b", "ContainedObjects":[ { "FileName":"virusvirus.txt", "FilePath":"/tmp/20240628_104340-scantemp.ef90f91ca2/clamav-f4e516881498457af4b11d20c539b40d.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":10, "FileMD5":"5a8e8c78d8e42420120ea7f44cb41d00", "Viruses":[ "7z_zip_container_good.UNOFFICIAL", "7z_zip_container_good.UNOFFICIAL" ] } ] } ] } LibClamAV debug: Bytecode executing hook id 260 (0 hooks) LibClamAV debug: Bytecode: no logical signature matched, no bytecode executed LibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Freeing phishcheck struct LibClamAV debug: Phishcheck cleaned up [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9851== Memcheck, a memory error detector [INFO]: ==9851== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9851== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9851== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/7z_zip_container.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip --gen-json --debug --allmatch [INFO]: ==9851== Parent PID: 9803 [INFO]: ==9851== [INFO]: --9851-- [INFO]: --9851-- Valgrind options: [INFO]: --9851-- -v [INFO]: --9851-- --trace-children=yes [INFO]: --9851-- --track-fds=yes [INFO]: --9851-- --leak-check=full [INFO]: --9851-- --show-possibly-lost=no [INFO]: --9851-- --show-leak-kinds=definite [INFO]: --9851-- --errors-for-leak-kinds=definite [INFO]: --9851-- --main-stacksize=16777216 [INFO]: --9851-- --gen-suppressions=all [INFO]: --9851-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9851-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [INFO]: --9851-- --error-exitcode=123 [INFO]: --9851-- Contents of /proc/version: [INFO]: --9851-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9851-- [INFO]: --9851-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9851-- Page sizes: currently 4096, max supported 4096 [INFO]: --9851-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9851-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9851-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9851-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9851-- might be shown as UnknownInlinedFun [INFO]: --9851-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9851-- object doesn't have a dynamic symbol table [INFO]: --9851-- Scheduler: using generic scheduler lock implementation. [INFO]: --9851-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9851-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9851== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9851-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9851== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9851-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9851== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9851-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9851== [INFO]: ==9851== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9851== don't want to do, unless you know exactly what you're doing, [INFO]: ==9851== or are doing some strange experiment): [INFO]: ==9851== /usr/libexec/valgrind/../../bin/vgdb --pid=9851 ...command... [INFO]: ==9851== [INFO]: ==9851== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9851== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9851== and then give GDB the following command [INFO]: ==9851== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9851 [INFO]: ==9851== --pid is optional if only one valgrind process is running [INFO]: ==9851== [INFO]: --9851-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9851-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9851-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9851-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9851-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9851-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9851-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9851-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9851-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9851-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9851-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9851-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9851-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9851-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9851-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9851-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9851-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9851-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9851-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9851-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9851-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9851== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9851== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9851== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9851== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9851-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9851-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9851-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9851-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9851-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9851-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9851-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9851-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9851-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9851-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9851-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9851-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9851-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9851-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9851-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9851-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9851-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9851-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9851-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9851== [INFO]: ==9851== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9851== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [INFO]: ==9851== [INFO]: ==9851== [INFO]: ==9851== (No origin, error cannot be suppressed) [INFO]: ==9851== [INFO]: ==9851== HEAP SUMMARY: [INFO]: ==9851== in use at exit: 0 bytes in 0 blocks [INFO]: ==9851== total heap usage: 5,536 allocs, 5,536 frees, 781,259 bytes allocated [INFO]: ==9851== [INFO]: ==9851== All heap blocks were freed -- no leaks are possible [INFO]: ==9851== [INFO]: ==9851== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________ ERROR at teardown of TC.test_intermediates __________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/container_sigs_test.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamav can successfully alert on jpeg image extracted from XLS documents [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/7z_zip_intermediates.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip --gen-json --debug --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_intermediates_good.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_intermediates_good.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.598 sec (0 m 1 s) Start Date: 2024:06:28 10:43:41 End Date: 2024:06:28 10:43:43 [DEBUG]: stderr: LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64 LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /libclamunrar_iface..a not found LibClamAV debug: Cannot dlopen libclamunrar_iface: /libclamunrar_iface..a: cannot open shared object file: No such file or directory - unrar support unavailable LibClamAV debug: Initialized 1.0.6 engine LibClamAV debug: Initializing phishcheck module LibClamAV debug: Phishcheck: Compiling regex: ^ *(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$ LibClamAV debug: Phishcheck module initialized LibClamAV debug: Bytecode initialized in interpreter mode LibClamAV debug: Initializing engine matching structures LibClamAV debug: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/7z_zip_intermediates.ldb loaded LibClamAV debug: Initializing engine matching structures LibClamAV debug: Loaded 156 filetype definitions LibClamAV debug: Using filter for trie 0 LibClamAV debug: Matcher[0]: GENERIC: AC sigs: 86 (reloff: 1, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 32 LibClamAV debug: Using filter for trie 1 LibClamAV debug: Matcher[1]: PE: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 LibClamAV debug: Matcher[2]: OLE2: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[3]: HTML: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 4 LibClamAV debug: Matcher[4]: MAIL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[5]: GRAPHICS: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[6]: ELF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 7 LibClamAV debug: Matcher[7]: ASCII: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[8]: NOT USED: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[9]: MACH-O: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[10]: PDF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[11]: FLASH: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[12]: JAVA: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[13]: INTERNAL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[14]: OTHER: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Dynamic engine configuration settings: LibClamAV debug: -------------------------------------- LibClamAV debug: Module PE: On LibClamAV debug: * Submodule PARITE: On LibClamAV debug: * Submodule KRIZ: On LibClamAV debug: * Submodule MAGISTR: On LibClamAV debug: * Submodule POLIPOS: On LibClamAV debug: * Submodule MD5SECT: On LibClamAV debug: * Submodule UPX: On LibClamAV debug: * Submodule FSG: On LibClamAV debug: * Submodule SWIZZOR: ** Off ** LibClamAV debug: * Submodule PETITE: On LibClamAV debug: * Submodule PESPIN: On LibClamAV debug: * Submodule YC: On LibClamAV debug: * Submodule WWPACK: On LibClamAV debug: * Submodule NSPACK: On LibClamAV debug: * Submodule MEW: On LibClamAV debug: * Submodule UPACK: On LibClamAV debug: * Submodule ASPACK: On LibClamAV debug: * Submodule CATALOG: On LibClamAV debug: * Submodule CERTS: On LibClamAV debug: * Submodule MATCHICON: On LibClamAV debug: * Submodule IMPTBL: On LibClamAV debug: Module ELF: On LibClamAV debug: Module MACHO: On LibClamAV debug: Module ARCHIVE: On LibClamAV debug: * Submodule RAR: On LibClamAV debug: * Submodule ZIP: On LibClamAV debug: * Submodule GZIP: On LibClamAV debug: * Submodule BZIP: On LibClamAV debug: * Submodule ARJ: On LibClamAV debug: * Submodule SZDD: On LibClamAV debug: * Submodule CAB: On LibClamAV debug: * Submodule CHM: On LibClamAV debug: * Submodule OLE2: On LibClamAV debug: * Submodule TAR: On LibClamAV debug: * Submodule CPIO: On LibClamAV debug: * Submodule BINHEX: On LibClamAV debug: * Submodule SIS: On LibClamAV debug: * Submodule NSIS: On LibClamAV debug: * Submodule AUTOIT: On LibClamAV debug: * Submodule ISHIELD: On LibClamAV debug: * Submodule 7zip: On LibClamAV debug: * Submodule ISO9660: On LibClamAV debug: * Submodule DMG: On LibClamAV debug: * Submodule XAR: On LibClamAV debug: * Submodule HFSPLUS: On LibClamAV debug: * Submodule XZ: On LibClamAV debug: * Submodule PASSWD: On LibClamAV debug: * Submodule MBR: On LibClamAV debug: * Submodule GPT: On LibClamAV debug: * Submodule APM: On LibClamAV debug: * Submodule EGG: On LibClamAV debug: Module DOCUMENT: On LibClamAV debug: * Submodule HTML: On LibClamAV debug: * Submodule RTF: On LibClamAV debug: * Submodule PDF: On LibClamAV debug: * Submodule SCRIPT: On LibClamAV debug: * Submodule HTMLSKIPRAW: On LibClamAV debug: * Submodule JSNORM: On LibClamAV debug: * Submodule SWF: On LibClamAV debug: * Submodule OOXML: On LibClamAV debug: * Submodule MSPML: On LibClamAV debug: * Submodule HWP: On LibClamAV debug: Module MAIL: On LibClamAV debug: * Submodule MBOX: On LibClamAV debug: * Submodule TNEF: On LibClamAV debug: Module OTHER: On LibClamAV debug: * Submodule UUENCODED: On LibClamAV debug: * Submodule SCRENC: On LibClamAV debug: * Submodule RIFF: On LibClamAV debug: * Submodule JPEG: On LibClamAV debug: * Submodule CRYPTFF: On LibClamAV debug: * Submodule DLP: On LibClamAV debug: * Submodule MYDOOMLOG: On LibClamAV debug: * Submodule PREFILTERING: On LibClamAV debug: * Submodule PDFNAMEOBJ: On LibClamAV debug: * Submodule PRTNINTXN: On LibClamAV debug: * Submodule LZW: On LibClamAV debug: * Submodule GIF: On LibClamAV debug: * Submodule PNG: On LibClamAV debug: * Submodule TIFF: On LibClamAV debug: Module PHISHING On LibClamAV debug: * Submodule ENGINE: On LibClamAV debug: * Submodule ENTCONV: On LibClamAV debug: Module BYTECODE On LibClamAV debug: * Submodule INTERPRETER: On LibClamAV debug: * Submodule JIT X86: On LibClamAV debug: * Submodule JIT PPC: On LibClamAV debug: * Submodule JIT ARM: ** Off ** LibClamAV debug: Module STATS Off LibClamAV debug: Module PCRE On LibClamAV debug: * Submodule SUPPORT: On LibClamAV debug: * Submodule OPTIONS: On LibClamAV debug: * Submodule GLOBAL: On LibClamAV debug: pool memory used: 5.945 MB LibClamAV debug: No bytecodes loaded, not running builtin test LibClamAV debug: Checking realpath of /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip LibClamAV debug: Recognized ZIP file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_unzip LibClamAV debug: cli_unzip: central directory header offset: @be LibClamAV debug: cli_unzip: checking for non-recursive zip bombs... LibClamAV debug: cli_unzip: central header - flags 0 - method 8 - csize 77 - usize 98 - flen d - elen 18 - clen 0 - disk 0 - off 0 LibClamAV debug: cli_unzip: central header - fname: v1rusv1rus.7z LibClamAV debug: CDBNAME:CL_TYPE_ZIP:119:v1rusv1rus.7z:119:152:0:1:823901048:(nil) LibClamAV debug: cli_unzip: local header - ZMDNAME:0:v1rusv1rus.7z:152:119:311bbb78:8:1:0 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:119:v1rusv1rus.7z:119:152:0:1:823901048:(nil) LibClamAV debug: cli_unzip: central header - wrkcomplete LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104342-scantemp.8b0f8b605e/clamav-466daf011bfdaaa58c4e70f1cca6e11f.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 0/17) LibClamAV debug: Recognized 7zip file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: cli_7unz: extracting virusvirus.txt LibClamAV debug: CDBNAME:CL_TYPE_7Z:0:virusvirus.txt:0:10:0:0:238077078:(nil) LibClamAV debug: cli_7unz: Saving to /tmp/20240628_104342-scantemp.8b0f8b605e/clamav-a8e8af35baf7816c6564592bb39427bb.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: FP SIGNATURE: 5a8e8c78d8e42420120ea7f44cb41d00:10:7z_zip_intermediates_good.UNOFFICIAL # Name: virusvirus.txt, Type: CL_TYPE_TEXT_ASCII LibClamAV debug: FP SIGNATURE: d736ca78f6b897fddc2c0328b248971b:152:7z_zip_intermediates_good.UNOFFICIAL # Name: v1rusv1rus.7z, Type: CL_TYPE_7Z LibClamAV debug: FP SIGNATURE: 318224dc81ba90f27788e6053ce49c56:295:7z_zip_intermediates_good.UNOFFICIAL # Name: v1rusv1rus.7z.zip, Type: CL_TYPE_ZIP LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: FP SIGNATURE: 5a8e8c78d8e42420120ea7f44cb41d00:10:7z_zip_intermediates_good.UNOFFICIAL # Name: virusvirus.txt, Type: CL_TYPE_TEXT_ASCII LibClamAV debug: FP SIGNATURE: d736ca78f6b897fddc2c0328b248971b:152:7z_zip_intermediates_good.UNOFFICIAL # Name: v1rusv1rus.7z, Type: CL_TYPE_7Z LibClamAV debug: FP SIGNATURE: 318224dc81ba90f27788e6053ce49c56:295:7z_zip_intermediates_good.UNOFFICIAL # Name: v1rusv1rus.7z.zip, Type: CL_TYPE_ZIP LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: cli_7unz: completed successfully LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Matched signature for file type 7zip-SFX at 0 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: { "Magic":"CLAMJSONv0", "RootFileType":"CL_TYPE_ZIP", "FileName":"v1rusv1rus.7z.zip", "FileType":"CL_TYPE_ZIP", "FileSize":295, "FileMD5":"318224dc81ba90f27788e6053ce49c56", "ContainedObjects":[ { "FileName":"v1rusv1rus.7z", "FilePath":"/tmp/20240628_104342-scantemp.8b0f8b605e/clamav-466daf011bfdaaa58c4e70f1cca6e11f.tmp", "FileType":"CL_TYPE_7Z", "FileSize":152, "FileMD5":"d736ca78f6b897fddc2c0328b248971b", "ContainedObjects":[ { "FileName":"virusvirus.txt", "FilePath":"/tmp/20240628_104342-scantemp.8b0f8b605e/clamav-a8e8af35baf7816c6564592bb39427bb.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":10, "FileMD5":"5a8e8c78d8e42420120ea7f44cb41d00", "Viruses":[ "7z_zip_intermediates_good.UNOFFICIAL", "7z_zip_intermediates_good.UNOFFICIAL" ] } ] } ] } LibClamAV debug: Bytecode executing hook id 260 (0 hooks) LibClamAV debug: Bytecode: no logical signature matched, no bytecode executed LibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Freeing phishcheck struct LibClamAV debug: Phishcheck cleaned up [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9853== Memcheck, a memory error detector [INFO]: ==9853== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9853== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9853== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/7z_zip_intermediates.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip --gen-json --debug --allmatch [INFO]: ==9853== Parent PID: 9803 [INFO]: ==9853== [INFO]: --9853-- [INFO]: --9853-- Valgrind options: [INFO]: --9853-- -v [INFO]: --9853-- --trace-children=yes [INFO]: --9853-- --track-fds=yes [INFO]: --9853-- --leak-check=full [INFO]: --9853-- --show-possibly-lost=no [INFO]: --9853-- --show-leak-kinds=definite [INFO]: --9853-- --errors-for-leak-kinds=definite [INFO]: --9853-- --main-stacksize=16777216 [INFO]: --9853-- --gen-suppressions=all [INFO]: --9853-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9853-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [INFO]: --9853-- --error-exitcode=123 [INFO]: --9853-- Contents of /proc/version: [INFO]: --9853-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9853-- [INFO]: --9853-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9853-- Page sizes: currently 4096, max supported 4096 [INFO]: --9853-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9853-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9853-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9853-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9853-- might be shown as UnknownInlinedFun [INFO]: --9853-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9853-- object doesn't have a dynamic symbol table [INFO]: --9853-- Scheduler: using generic scheduler lock implementation. [INFO]: --9853-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9853-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9853== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9853-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9853== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9853-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9853== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9853-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9853== [INFO]: ==9853== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9853== don't want to do, unless you know exactly what you're doing, [INFO]: ==9853== or are doing some strange experiment): [INFO]: ==9853== /usr/libexec/valgrind/../../bin/vgdb --pid=9853 ...command... [INFO]: ==9853== [INFO]: ==9853== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9853== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9853== and then give GDB the following command [INFO]: ==9853== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9853 [INFO]: ==9853== --pid is optional if only one valgrind process is running [INFO]: ==9853== [INFO]: --9853-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9853-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9853-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9853-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9853-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9853-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9853-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9853-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9853-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9853-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9853-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9853-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9853-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9853-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9853-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9853-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9853-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9853-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9853-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9853-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9853-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9853== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9853== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9853== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9853== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9853-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9853-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9853-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9853-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9853-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9853-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9853-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9853-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9853-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9853-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9853-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9853-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9853-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9853-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9853-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9853-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9853-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9853-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9853-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9853== [INFO]: ==9853== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9853== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [INFO]: ==9853== [INFO]: ==9853== [INFO]: ==9853== (No origin, error cannot be suppressed) [INFO]: ==9853== [INFO]: ==9853== HEAP SUMMARY: [INFO]: ==9853== in use at exit: 0 bytes in 0 blocks [INFO]: ==9853== total heap usage: 5,536 allocs, 5,536 frees, 781,279 bytes allocated [INFO]: ==9853== [INFO]: ==9853== All heap blocks were freed -- no leaks are possible [INFO]: ==9853== [INFO]: ==9853== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________ ERROR at teardown of TC.test_intermediates_cache _______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/container_sigs_test.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that near-matches for intermediates sigs are not cached [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/zip_intermediates.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar.zip --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar.zip: LDB.Clamav-Unit-Test-Signature-Intermediates.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 2 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.440 sec (0 m 1 s) Start Date: 2024:06:28 10:43:44 End Date: 2024:06:28 10:43:45 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9855== Memcheck, a memory error detector [INFO]: ==9855== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9855== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9855== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/zip_intermediates.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar.zip --allmatch [INFO]: ==9855== Parent PID: 9803 [INFO]: ==9855== [INFO]: --9855-- [INFO]: --9855-- Valgrind options: [INFO]: --9855-- -v [INFO]: --9855-- --trace-children=yes [INFO]: --9855-- --track-fds=yes [INFO]: --9855-- --leak-check=full [INFO]: --9855-- --show-possibly-lost=no [INFO]: --9855-- --show-leak-kinds=definite [INFO]: --9855-- --errors-for-leak-kinds=definite [INFO]: --9855-- --main-stacksize=16777216 [INFO]: --9855-- --gen-suppressions=all [INFO]: --9855-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9855-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [INFO]: --9855-- --error-exitcode=123 [INFO]: --9855-- Contents of /proc/version: [INFO]: --9855-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9855-- [INFO]: --9855-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9855-- Page sizes: currently 4096, max supported 4096 [INFO]: --9855-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9855-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9855-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9855-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9855-- might be shown as UnknownInlinedFun [INFO]: --9855-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9855-- object doesn't have a dynamic symbol table [INFO]: --9855-- Scheduler: using generic scheduler lock implementation. [INFO]: --9855-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9855-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9855== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9855-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9855== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9855-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9855== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9855-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9855== [INFO]: ==9855== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9855== don't want to do, unless you know exactly what you're doing, [INFO]: ==9855== or are doing some strange experiment): [INFO]: ==9855== /usr/libexec/valgrind/../../bin/vgdb --pid=9855 ...command... [INFO]: ==9855== [INFO]: ==9855== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9855== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9855== and then give GDB the following command [INFO]: ==9855== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9855 [INFO]: ==9855== --pid is optional if only one valgrind process is running [INFO]: ==9855== [INFO]: --9855-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9855-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9855-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9855-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9855-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9855-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9855-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9855-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9855-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9855-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9855-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9855-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9855-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9855-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9855-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9855-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9855-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9855-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9855-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9855-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9855-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9855== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9855== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9855== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9855== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9855-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9855-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9855-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9855-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9855-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9855-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9855-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9855-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9855-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9855-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9855-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9855-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9855-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9855-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9855-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9855-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9855-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9855-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9855-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9855== [INFO]: ==9855== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9855== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [INFO]: ==9855== [INFO]: ==9855== [INFO]: ==9855== (No origin, error cannot be suppressed) [INFO]: ==9855== [INFO]: ==9855== HEAP SUMMARY: [INFO]: ==9855== in use at exit: 0 bytes in 0 blocks [INFO]: ==9855== total heap usage: 5,485 allocs, 5,485 frees, 908,717 bytes allocated [INFO]: ==9855== [INFO]: ==9855== All heap blocks were freed -- no leaks are possible [INFO]: ==9855== [INFO]: ==9855== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6 _______________ ERROR at teardown of TC.test_sigs_bad_algorithm ________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fuzzy_img_hash_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test invalid fuzzy image hash algorithm [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-alg.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 0 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.823 sec (0 m 0 s) Start Date: 2024:06:28 10:44:04 End Date: 2024:06:28 10:44:05 [DEBUG]: stderr: LibClamAV Error: cli_mpool_hex2ui(): Malformed hexstring: fuzzy_imgy#af2ad01ed42993c7#0 (length: 29) LibClamAV Error: cli_add_content_match_pattern: Problem adding signature (3). LibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad LibClamAV Error: Problem parsing database at line 1 LibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-alg.ldb: Malformed database ERROR: Malformed database [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9873== Memcheck, a memory error detector [INFO]: ==9873== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9873== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9873== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-alg.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [INFO]: ==9873== Parent PID: 9803 [INFO]: ==9873== [INFO]: --9873-- [INFO]: --9873-- Valgrind options: [INFO]: --9873-- -v [INFO]: --9873-- --trace-children=yes [INFO]: --9873-- --track-fds=yes [INFO]: --9873-- --leak-check=full [INFO]: --9873-- --show-possibly-lost=no [INFO]: --9873-- --show-leak-kinds=definite [INFO]: --9873-- --errors-for-leak-kinds=definite [INFO]: --9873-- --main-stacksize=16777216 [INFO]: --9873-- --gen-suppressions=all [INFO]: --9873-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9873-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [INFO]: --9873-- --error-exitcode=123 [INFO]: --9873-- Contents of /proc/version: [INFO]: --9873-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9873-- [INFO]: --9873-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9873-- Page sizes: currently 4096, max supported 4096 [INFO]: --9873-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9873-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9873-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9873-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9873-- might be shown as UnknownInlinedFun [INFO]: --9873-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9873-- object doesn't have a dynamic symbol table [INFO]: --9873-- Scheduler: using generic scheduler lock implementation. [INFO]: --9873-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9873-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9873== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9873-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9873== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9873-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9873== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9873-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9873== [INFO]: ==9873== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9873== don't want to do, unless you know exactly what you're doing, [INFO]: ==9873== or are doing some strange experiment): [INFO]: ==9873== /usr/libexec/valgrind/../../bin/vgdb --pid=9873 ...command... [INFO]: ==9873== [INFO]: ==9873== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9873== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9873== and then give GDB the following command [INFO]: ==9873== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9873 [INFO]: ==9873== --pid is optional if only one valgrind process is running [INFO]: ==9873== [INFO]: --9873-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9873-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9873-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9873-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9873-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9873-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9873-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9873-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9873-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9873-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9873-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9873-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9873-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9873-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9873-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9873-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9873-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9873-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9873-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9873-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9873-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9873== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9873== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9873== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9873== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9873-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9873-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9873-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9873-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9873-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9873-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9873-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9873-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9873-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9873-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9873-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9873-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9873-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9873-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9873== [INFO]: ==9873== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9873== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [INFO]: ==9873== [INFO]: ==9873== [INFO]: ==9873== (No origin, error cannot be suppressed) [INFO]: ==9873== [INFO]: ==9873== HEAP SUMMARY: [INFO]: ==9873== in use at exit: 0 bytes in 0 blocks [INFO]: ==9873== total heap usage: 459 allocs, 459 frees, 295,172 bytes allocated [INFO]: ==9873== [INFO]: ==9873== All heap blocks were freed -- no leaks are possible [INFO]: ==9873== [INFO]: ==9873== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ________________ ERROR at teardown of TC.test_sigs_bad_hamming _________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fuzzy_img_hash_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test Unsupported hamming distancee [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-ham.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 0 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.822 sec (0 m 0 s) Start Date: 2024:06:28 10:44:06 End Date: 2024:06:28 10:44:07 [DEBUG]: stderr: LibClamAV Error: Non-zero hamming distances for image fuzzy hashes are not supported in this version. LibClamAV Error: Failed to load fuzzy hash logical subsignature 'fuzzy_img#af2ad01ed42993c7#1': Invalid hamming distance: 1 Expected format: algorithm#hash[#hammingdistance] where - algorithm: Must be 'fuzzy_img' - hash: Must be an 8-byte hex string - hammingdistance: (optional) Must be an unsigned integer LibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad LibClamAV Error: Problem parsing database at line 1 LibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-ham.ldb: Bad format or broken data ERROR: Bad format or broken data [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9875== Memcheck, a memory error detector [INFO]: ==9875== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9875== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9875== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-ham.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [INFO]: ==9875== Parent PID: 9803 [INFO]: ==9875== [INFO]: --9875-- [INFO]: --9875-- Valgrind options: [INFO]: --9875-- -v [INFO]: --9875-- --trace-children=yes [INFO]: --9875-- --track-fds=yes [INFO]: --9875-- --leak-check=full [INFO]: --9875-- --show-possibly-lost=no [INFO]: --9875-- --show-leak-kinds=definite [INFO]: --9875-- --errors-for-leak-kinds=definite [INFO]: --9875-- --main-stacksize=16777216 [INFO]: --9875-- --gen-suppressions=all [INFO]: --9875-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9875-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [INFO]: --9875-- --error-exitcode=123 [INFO]: --9875-- Contents of /proc/version: [INFO]: --9875-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9875-- [INFO]: --9875-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9875-- Page sizes: currently 4096, max supported 4096 [INFO]: --9875-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9875-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9875-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9875-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9875-- might be shown as UnknownInlinedFun [INFO]: --9875-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9875-- object doesn't have a dynamic symbol table [INFO]: --9875-- Scheduler: using generic scheduler lock implementation. [INFO]: --9875-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9875-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9875== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9875-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9875== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9875-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9875== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9875-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9875== [INFO]: ==9875== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9875== don't want to do, unless you know exactly what you're doing, [INFO]: ==9875== or are doing some strange experiment): [INFO]: ==9875== /usr/libexec/valgrind/../../bin/vgdb --pid=9875 ...command... [INFO]: ==9875== [INFO]: ==9875== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9875== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9875== and then give GDB the following command [INFO]: ==9875== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9875 [INFO]: ==9875== --pid is optional if only one valgrind process is running [INFO]: ==9875== [INFO]: --9875-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9875-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9875-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9875-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9875-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9875-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9875-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9875-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9875-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9875-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9875-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9875-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9875-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9875-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9875-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9875-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9875-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9875-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9875-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9875-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9875-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9875== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9875== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9875== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9875== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9875-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9875-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9875-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9875-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9875-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9875-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9875-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9875-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9875-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9875-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9875-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9875-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9875-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9875-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9875== [INFO]: ==9875== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9875== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [INFO]: ==9875== [INFO]: ==9875== [INFO]: ==9875== (No origin, error cannot be suppressed) [INFO]: ==9875== [INFO]: ==9875== HEAP SUMMARY: [INFO]: ==9875== in use at exit: 0 bytes in 0 blocks [INFO]: ==9875== total heap usage: 467 allocs, 467 frees, 295,712 bytes allocated [INFO]: ==9875== [INFO]: ==9875== All heap blocks were freed -- no leaks are possible [INFO]: ==9875== [INFO]: ==9875== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________ ERROR at teardown of TC.test_sigs_bad_hash __________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fuzzy_img_hash_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test Invalid hash [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-hash.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 0 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.820 sec (0 m 0 s) Start Date: 2024:06:28 10:44:08 End Date: 2024:06:28 10:44:09 [DEBUG]: stderr: LibClamAV Error: Failed to load fuzzy hash logical subsignature 'fuzzy_img#abcdef#0': Invalid hash: Image fuzzy hash must be 16 characters in length: abcdef Expected format: algorithm#hash[#hammingdistance] where - algorithm: Must be 'fuzzy_img' - hash: Must be an 8-byte hex string - hammingdistance: (optional) Must be an unsigned integer LibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad LibClamAV Error: Problem parsing database at line 1 LibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-hash.ldb: Bad format or broken data ERROR: Bad format or broken data [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9877== Memcheck, a memory error detector [INFO]: ==9877== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9877== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9877== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-hash.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [INFO]: ==9877== Parent PID: 9803 [INFO]: ==9877== [INFO]: --9877-- [INFO]: --9877-- Valgrind options: [INFO]: --9877-- -v [INFO]: --9877-- --trace-children=yes [INFO]: --9877-- --track-fds=yes [INFO]: --9877-- --leak-check=full [INFO]: --9877-- --show-possibly-lost=no [INFO]: --9877-- --show-leak-kinds=definite [INFO]: --9877-- --errors-for-leak-kinds=definite [INFO]: --9877-- --main-stacksize=16777216 [INFO]: --9877-- --gen-suppressions=all [INFO]: --9877-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9877-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [INFO]: --9877-- --error-exitcode=123 [INFO]: --9877-- Contents of /proc/version: [INFO]: --9877-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9877-- [INFO]: --9877-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9877-- Page sizes: currently 4096, max supported 4096 [INFO]: --9877-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9877-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9877-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9877-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9877-- might be shown as UnknownInlinedFun [INFO]: --9877-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9877-- object doesn't have a dynamic symbol table [INFO]: --9877-- Scheduler: using generic scheduler lock implementation. [INFO]: --9877-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9877-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9877== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9877-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9877== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9877-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9877== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9877-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9877== [INFO]: ==9877== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9877== don't want to do, unless you know exactly what you're doing, [INFO]: ==9877== or are doing some strange experiment): [INFO]: ==9877== /usr/libexec/valgrind/../../bin/vgdb --pid=9877 ...command... [INFO]: ==9877== [INFO]: ==9877== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9877== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9877== and then give GDB the following command [INFO]: ==9877== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9877 [INFO]: ==9877== --pid is optional if only one valgrind process is running [INFO]: ==9877== [INFO]: --9877-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9877-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9877-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9877-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9877-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9877-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9877-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9877-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9877-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9877-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9877-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9877-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9877-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9877-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9877-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9877-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9877-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9877-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9877-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9877-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9877-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9877== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9877== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9877== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9877== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9877-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9877-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9877-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9877-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9877-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9877-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9877-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9877-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9877-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9877-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9877-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9877-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9877-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9877-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9877== [INFO]: ==9877== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9877== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [INFO]: ==9877== [INFO]: ==9877== [INFO]: ==9877== (No origin, error cannot be suppressed) [INFO]: ==9877== [INFO]: ==9877== HEAP SUMMARY: [INFO]: ==9877== in use at exit: 0 bytes in 0 blocks [INFO]: ==9877== total heap usage: 466 allocs, 466 frees, 295,568 bytes allocated [INFO]: ==9877== [INFO]: ==9877== All heap blocks were freed -- no leaks are possible [INFO]: ==9877== [INFO]: ==9877== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________ ERROR at teardown of TC.test_sigs_good_allmatch ________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/fuzzy_img_hash_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test with a good database in all-match mode. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/good.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/logo.png: logo.png.good.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/logo.png: logo.png.good.with.second.subsig.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 3 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.02 MB Data read: 0.02 MB (ratio 1.00:1) Time: 1.815 sec (0 m 1 s) Start Date: 2024:06:28 10:44:10 End Date: 2024:06:28 10:44:11 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9879== Memcheck, a memory error detector [INFO]: ==9879== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9879== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9879== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/good.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [INFO]: ==9879== Parent PID: 9803 [INFO]: ==9879== [INFO]: --9879-- [INFO]: --9879-- Valgrind options: [INFO]: --9879-- -v [INFO]: --9879-- --trace-children=yes [INFO]: --9879-- --track-fds=yes [INFO]: --9879-- --leak-check=full [INFO]: --9879-- --show-possibly-lost=no [INFO]: --9879-- --show-leak-kinds=definite [INFO]: --9879-- --errors-for-leak-kinds=definite [INFO]: --9879-- --main-stacksize=16777216 [INFO]: --9879-- --gen-suppressions=all [INFO]: --9879-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9879-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [INFO]: --9879-- --error-exitcode=123 [INFO]: --9879-- Contents of /proc/version: [INFO]: --9879-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9879-- [INFO]: --9879-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9879-- Page sizes: currently 4096, max supported 4096 [INFO]: --9879-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9879-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9879-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9879-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9879-- might be shown as UnknownInlinedFun [INFO]: --9879-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9879-- object doesn't have a dynamic symbol table [INFO]: --9879-- Scheduler: using generic scheduler lock implementation. [INFO]: --9879-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9879-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9879== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9879-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9879== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9879-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9879== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9879-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9879== [INFO]: ==9879== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9879== don't want to do, unless you know exactly what you're doing, [INFO]: ==9879== or are doing some strange experiment): [INFO]: ==9879== /usr/libexec/valgrind/../../bin/vgdb --pid=9879 ...command... [INFO]: ==9879== [INFO]: ==9879== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9879== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9879== and then give GDB the following command [INFO]: ==9879== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9879 [INFO]: ==9879== --pid is optional if only one valgrind process is running [INFO]: ==9879== [INFO]: --9879-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9879-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9879-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9879-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9879-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9879-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9879-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9879-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9879-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9879-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9879-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9879-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9879-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9879-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9879-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9879-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9879-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9879-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9879-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9879-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9879-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9879== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9879== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9879== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9879== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9879-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9879-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9879-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9879-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9879-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9879-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9879-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9879-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9879-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9879-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9879-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9879-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9879-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9879-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9879-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9879-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9879-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9879-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9879-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9879== [INFO]: ==9879== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9879== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [INFO]: ==9879== [INFO]: ==9879== [INFO]: ==9879== (No origin, error cannot be suppressed) [INFO]: ==9879== [INFO]: ==9879== HEAP SUMMARY: [INFO]: ==9879== in use at exit: 0 bytes in 0 blocks [INFO]: ==9879== total heap usage: 5,427 allocs, 5,427 frees, 2,033,400 bytes allocated [INFO]: ==9879== [INFO]: ==9879== All heap blocks were freed -- no leaks are possible [INFO]: ==9879== [INFO]: ==9879== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr ____________________ ERROR at teardown of TC.test_allmatch _____________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a clam heuristic alert will alert LAST in allmatch mode without heuristic-precedence. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.01 MB Data read: 0.00 MB (ratio 2.00:1) Time: 1.720 sec (0 m 1 s) Start Date: 2024:06:28 10:44:12 End Date: 2024:06:28 10:44:14 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9881== Memcheck, a memory error detector [INFO]: ==9881== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9881== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9881== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media --allmatch [INFO]: ==9881== Parent PID: 9803 [INFO]: ==9881== [INFO]: --9881-- [INFO]: --9881-- Valgrind options: [INFO]: --9881-- -v [INFO]: --9881-- --trace-children=yes [INFO]: --9881-- --track-fds=yes [INFO]: --9881-- --leak-check=full [INFO]: --9881-- --show-possibly-lost=no [INFO]: --9881-- --show-leak-kinds=definite [INFO]: --9881-- --errors-for-leak-kinds=definite [INFO]: --9881-- --main-stacksize=16777216 [INFO]: --9881-- --gen-suppressions=all [INFO]: --9881-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9881-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: --9881-- --error-exitcode=123 [INFO]: --9881-- Contents of /proc/version: [INFO]: --9881-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9881-- [INFO]: --9881-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9881-- Page sizes: currently 4096, max supported 4096 [INFO]: --9881-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9881-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9881-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9881-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9881-- might be shown as UnknownInlinedFun [INFO]: --9881-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9881-- object doesn't have a dynamic symbol table [INFO]: --9881-- Scheduler: using generic scheduler lock implementation. [INFO]: --9881-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9881-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9881== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9881-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9881== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9881-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9881== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9881-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9881== [INFO]: ==9881== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9881== don't want to do, unless you know exactly what you're doing, [INFO]: ==9881== or are doing some strange experiment): [INFO]: ==9881== /usr/libexec/valgrind/../../bin/vgdb --pid=9881 ...command... [INFO]: ==9881== [INFO]: ==9881== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9881== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9881== and then give GDB the following command [INFO]: ==9881== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9881 [INFO]: ==9881== --pid is optional if only one valgrind process is running [INFO]: ==9881== [INFO]: --9881-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9881-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9881-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9881-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9881-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9881-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9881-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9881-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9881-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9881-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9881-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9881-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9881-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9881-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9881-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9881-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9881-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9881-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9881-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9881== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9881== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9881== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9881== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9881-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9881-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9881-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9881-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9881-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9881-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9881-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9881-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9881-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9881-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9881-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9881-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9881-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9881-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9881-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9881-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9881-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9881-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9881-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9881-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9881== [INFO]: ==9881== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9881== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: ==9881== [INFO]: ==9881== [INFO]: ==9881== (No origin, error cannot be suppressed) [INFO]: ==9881== [INFO]: ==9881== HEAP SUMMARY: [INFO]: ==9881== in use at exit: 0 bytes in 0 blocks [INFO]: ==9881== total heap usage: 5,439 allocs, 5,439 frees, 1,153,118 bytes allocated [INFO]: ==9881== [INFO]: ==9881== All heap blocks were freed -- no leaks are possible [INFO]: ==9881== [INFO]: ==9881== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________ ERROR at teardown of TC.test_allmatch_precedence _______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a clam heuristic alert will alert FIRST in allmatch mode with heuristic-precedence. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media --allmatch --heuristic-scan-precedence [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.01 MB Data read: 0.00 MB (ratio 2.00:1) Time: 1.714 sec (0 m 1 s) Start Date: 2024:06:28 10:44:15 End Date: 2024:06:28 10:44:17 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9883== Memcheck, a memory error detector [INFO]: ==9883== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9883== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9883== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media --allmatch --heuristic-scan-precedence [INFO]: ==9883== Parent PID: 9803 [INFO]: ==9883== [INFO]: --9883-- [INFO]: --9883-- Valgrind options: [INFO]: --9883-- -v [INFO]: --9883-- --trace-children=yes [INFO]: --9883-- --track-fds=yes [INFO]: --9883-- --leak-check=full [INFO]: --9883-- --show-possibly-lost=no [INFO]: --9883-- --show-leak-kinds=definite [INFO]: --9883-- --errors-for-leak-kinds=definite [INFO]: --9883-- --main-stacksize=16777216 [INFO]: --9883-- --gen-suppressions=all [INFO]: --9883-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9883-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: --9883-- --error-exitcode=123 [INFO]: --9883-- Contents of /proc/version: [INFO]: --9883-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9883-- [INFO]: --9883-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9883-- Page sizes: currently 4096, max supported 4096 [INFO]: --9883-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9883-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9883-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9883-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9883-- might be shown as UnknownInlinedFun [INFO]: --9883-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9883-- object doesn't have a dynamic symbol table [INFO]: --9883-- Scheduler: using generic scheduler lock implementation. [INFO]: --9883-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9883-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9883== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9883-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9883== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9883-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9883== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9883-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9883== [INFO]: ==9883== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9883== don't want to do, unless you know exactly what you're doing, [INFO]: ==9883== or are doing some strange experiment): [INFO]: ==9883== /usr/libexec/valgrind/../../bin/vgdb --pid=9883 ...command... [INFO]: ==9883== [INFO]: ==9883== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9883== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9883== and then give GDB the following command [INFO]: ==9883== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9883 [INFO]: ==9883== --pid is optional if only one valgrind process is running [INFO]: ==9883== [INFO]: --9883-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9883-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9883-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9883-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9883-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9883-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9883-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9883-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9883-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9883-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9883-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9883-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9883-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9883-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9883-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9883-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9883-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9883-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9883-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9883-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9883-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9883== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9883== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9883== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9883== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9883-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9883-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9883-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9883-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9883-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9883-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9883-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9883-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9883-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9883-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9883-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9883-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9883-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9883-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9883-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9883-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9883-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9883-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9883-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9883-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9883== [INFO]: ==9883== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9883== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: ==9883== [INFO]: ==9883== [INFO]: ==9883== (No origin, error cannot be suppressed) [INFO]: ==9883== [INFO]: ==9883== HEAP SUMMARY: [INFO]: ==9883== in use at exit: 0 bytes in 0 blocks [INFO]: ==9883== total heap usage: 5,438 allocs, 5,438 frees, 1,152,914 bytes allocated [INFO]: ==9883== [INFO]: ==9883== All heap blocks were freed -- no leaks are possible [INFO]: ==9883== [INFO]: ==9883== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ___________ ERROR at teardown of TC.test_hidden_by_strong_indicator ____________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a clam heuristic not alert because regular sig alerts first. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 1.00:1) Time: 1.635 sec (0 m 1 s) Start Date: 2024:06:28 10:44:17 End Date: 2024:06:28 10:44:19 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9885== Memcheck, a memory error detector [INFO]: ==9885== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9885== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9885== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media [INFO]: ==9885== Parent PID: 9803 [INFO]: ==9885== [INFO]: --9885-- [INFO]: --9885-- Valgrind options: [INFO]: --9885-- -v [INFO]: --9885-- --trace-children=yes [INFO]: --9885-- --track-fds=yes [INFO]: --9885-- --leak-check=full [INFO]: --9885-- --show-possibly-lost=no [INFO]: --9885-- --show-leak-kinds=definite [INFO]: --9885-- --errors-for-leak-kinds=definite [INFO]: --9885-- --main-stacksize=16777216 [INFO]: --9885-- --gen-suppressions=all [INFO]: --9885-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9885-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: --9885-- --error-exitcode=123 [INFO]: --9885-- Contents of /proc/version: [INFO]: --9885-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9885-- [INFO]: --9885-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9885-- Page sizes: currently 4096, max supported 4096 [INFO]: --9885-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9885-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9885-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9885-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9885-- might be shown as UnknownInlinedFun [INFO]: --9885-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9885-- object doesn't have a dynamic symbol table [INFO]: --9885-- Scheduler: using generic scheduler lock implementation. [INFO]: --9885-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9885-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9885== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9885-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9885== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9885-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9885== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9885-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9885== [INFO]: ==9885== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9885== don't want to do, unless you know exactly what you're doing, [INFO]: ==9885== or are doing some strange experiment): [INFO]: ==9885== /usr/libexec/valgrind/../../bin/vgdb --pid=9885 ...command... [INFO]: ==9885== [INFO]: ==9885== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9885== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9885== and then give GDB the following command [INFO]: ==9885== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9885 [INFO]: ==9885== --pid is optional if only one valgrind process is running [INFO]: ==9885== [INFO]: --9885-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9885-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9885-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9885-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9885-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9885-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9885-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9885-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9885-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9885-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9885-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9885-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9885-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9885-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9885-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9885-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9885-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9885-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9885-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9885-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9885-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9885== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9885== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9885== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9885== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9885-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9885-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9885-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9885-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9885-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9885-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9885-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9885-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9885-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9885-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9885-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9885-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9885-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9885-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9885-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9885-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9885-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9885-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9885-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9885-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9885== [INFO]: ==9885== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9885== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: ==9885== [INFO]: ==9885== [INFO]: ==9885== (No origin, error cannot be suppressed) [INFO]: ==9885== [INFO]: ==9885== HEAP SUMMARY: [INFO]: ==9885== in use at exit: 0 bytes in 0 blocks [INFO]: ==9885== total heap usage: 5,423 allocs, 5,423 frees, 1,149,519 bytes allocated [INFO]: ==9885== [INFO]: ==9885== All heap blocks were freed -- no leaks are possible [INFO]: ==9885== [INFO]: ==9885== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________ ERROR at teardown of TC.test_only_heur ____________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a clam heuristic will alert, because it is the only detection. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/empty.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.01 MB Data read: 0.00 MB (ratio 2.00:1) Time: 1.646 sec (0 m 1 s) Start Date: 2024:06:28 10:44:20 End Date: 2024:06:28 10:44:22 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9887== Memcheck, a memory error detector [INFO]: ==9887== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9887== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9887== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/empty.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media [INFO]: ==9887== Parent PID: 9803 [INFO]: ==9887== [INFO]: --9887-- [INFO]: --9887-- Valgrind options: [INFO]: --9887-- -v [INFO]: --9887-- --trace-children=yes [INFO]: --9887-- --track-fds=yes [INFO]: --9887-- --leak-check=full [INFO]: --9887-- --show-possibly-lost=no [INFO]: --9887-- --show-leak-kinds=definite [INFO]: --9887-- --errors-for-leak-kinds=definite [INFO]: --9887-- --main-stacksize=16777216 [INFO]: --9887-- --gen-suppressions=all [INFO]: --9887-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9887-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: --9887-- --error-exitcode=123 [INFO]: --9887-- Contents of /proc/version: [INFO]: --9887-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9887-- [INFO]: --9887-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9887-- Page sizes: currently 4096, max supported 4096 [INFO]: --9887-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9887-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9887-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9887-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9887-- might be shown as UnknownInlinedFun [INFO]: --9887-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9887-- object doesn't have a dynamic symbol table [INFO]: --9887-- Scheduler: using generic scheduler lock implementation. [INFO]: --9887-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9887-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9887== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9887-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9887== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9887-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9887== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9887-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9887== [INFO]: ==9887== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9887== don't want to do, unless you know exactly what you're doing, [INFO]: ==9887== or are doing some strange experiment): [INFO]: ==9887== /usr/libexec/valgrind/../../bin/vgdb --pid=9887 ...command... [INFO]: ==9887== [INFO]: ==9887== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9887== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9887== and then give GDB the following command [INFO]: ==9887== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9887 [INFO]: ==9887== --pid is optional if only one valgrind process is running [INFO]: ==9887== [INFO]: --9887-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9887-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9887-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9887-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9887-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9887-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9887-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9887-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9887-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9887-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9887-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9887-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9887-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9887-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9887-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9887-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9887-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9887-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9887-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9887-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9887-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9887== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9887== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9887== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9887== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9887-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9887-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9887-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9887-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9887-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9887-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9887-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9887-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9887-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9887-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9887-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9887-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9887-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9887-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9887-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9887-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9887-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9887-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9887-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9887== [INFO]: ==9887== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9887== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: ==9887== [INFO]: ==9887== [INFO]: ==9887== (No origin, error cannot be suppressed) [INFO]: ==9887== [INFO]: ==9887== HEAP SUMMARY: [INFO]: ==9887== in use at exit: 0 bytes in 0 blocks [INFO]: ==9887== total heap usage: 5,436 allocs, 5,436 frees, 1,152,864 bytes allocated [INFO]: ==9887== [INFO]: ==9887== All heap blocks were freed -- no leaks are possible [INFO]: ==9887== [INFO]: ==9887== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ___________________ ERROR at teardown of TC.test_precedence ____________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/heuristics_test.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a heuristic-precendence will cause the heuristic alert to happen first, with no other alerts because not allmatch. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media --heuristic-scan-precedence [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.377 sec (0 m 1 s) Start Date: 2024:06:28 10:44:22 End Date: 2024:06:28 10:44:24 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9889== Memcheck, a memory error detector [INFO]: ==9889== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9889== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9889== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media --heuristic-scan-precedence [INFO]: ==9889== Parent PID: 9803 [INFO]: ==9889== [INFO]: --9889-- [INFO]: --9889-- Valgrind options: [INFO]: --9889-- -v [INFO]: --9889-- --trace-children=yes [INFO]: --9889-- --track-fds=yes [INFO]: --9889-- --leak-check=full [INFO]: --9889-- --show-possibly-lost=no [INFO]: --9889-- --show-leak-kinds=definite [INFO]: --9889-- --errors-for-leak-kinds=definite [INFO]: --9889-- --main-stacksize=16777216 [INFO]: --9889-- --gen-suppressions=all [INFO]: --9889-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9889-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: --9889-- --error-exitcode=123 [INFO]: --9889-- Contents of /proc/version: [INFO]: --9889-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9889-- [INFO]: --9889-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9889-- Page sizes: currently 4096, max supported 4096 [INFO]: --9889-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9889-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9889-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9889-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9889-- might be shown as UnknownInlinedFun [INFO]: --9889-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9889-- object doesn't have a dynamic symbol table [INFO]: --9889-- Scheduler: using generic scheduler lock implementation. [INFO]: --9889-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9889-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9889== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9889-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9889== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9889-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9889== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9889-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9889== [INFO]: ==9889== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9889== don't want to do, unless you know exactly what you're doing, [INFO]: ==9889== or are doing some strange experiment): [INFO]: ==9889== /usr/libexec/valgrind/../../bin/vgdb --pid=9889 ...command... [INFO]: ==9889== [INFO]: ==9889== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9889== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9889== and then give GDB the following command [INFO]: ==9889== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9889 [INFO]: ==9889== --pid is optional if only one valgrind process is running [INFO]: ==9889== [INFO]: --9889-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9889-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9889-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9889-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9889-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9889-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9889-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9889-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9889-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9889-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9889-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9889-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9889-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9889-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9889-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9889-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9889-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9889-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9889-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9889-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9889-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9889== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9889== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9889== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9889== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9889-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9889-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9889-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9889-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9889-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9889-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9889-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9889-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9889-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9889-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9889-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9889-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9889-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9889-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9889-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9889-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9889-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9889-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9889-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9889-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9889== [INFO]: ==9889== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9889== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: ==9889== [INFO]: ==9889== [INFO]: ==9889== (No origin, error cannot be suppressed) [INFO]: ==9889== [INFO]: ==9889== HEAP SUMMARY: [INFO]: ==9889== in use at exit: 0 bytes in 0 blocks [INFO]: ==9889== total heap usage: 5,333 allocs, 5,333 frees, 598,785 bytes allocated [INFO]: ==9889== [INFO]: ==9889== All heap blocks were freed -- no leaks are possible [INFO]: ==9889== [INFO]: ==9889== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho __________________ ERROR at teardown of TC.test_xls_jpeg_png ___________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/image_extraction_test.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamav can successfully extract jpeg and png images from XLS documents [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav.hdb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls --gen-json --debug [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.12 MB Data read: 0.06 MB (ratio 1.88:1) Time: 2.541 sec (0 m 2 s) Start Date: 2024:06:28 10:44:25 End Date: 2024:06:28 10:44:27 [DEBUG]: stderr: LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64 LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /libclamunrar_iface..a not found LibClamAV debug: Cannot dlopen libclamunrar_iface: /libclamunrar_iface..a: cannot open shared object file: No such file or directory - unrar support unavailable LibClamAV debug: Initialized 1.0.6 engine LibClamAV debug: Initializing phishcheck module LibClamAV debug: Phishcheck: Compiling regex: ^ *(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$ LibClamAV debug: Phishcheck module initialized LibClamAV debug: Bytecode initialized in interpreter mode LibClamAV debug: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav.hdb loaded LibClamAV debug: Initializing engine matching structures LibClamAV debug: Loaded 156 filetype definitions LibClamAV debug: Using filter for trie 0 LibClamAV debug: Matcher[0]: GENERIC: AC sigs: 84 (reloff: 1, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 32 LibClamAV debug: Using filter for trie 1 LibClamAV debug: Matcher[1]: PE: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 LibClamAV debug: Matcher[2]: OLE2: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[3]: HTML: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 4 LibClamAV debug: Matcher[4]: MAIL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[5]: GRAPHICS: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[6]: ELF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 7 LibClamAV debug: Matcher[7]: ASCII: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[8]: NOT USED: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[9]: MACH-O: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[10]: PDF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[11]: FLASH: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[12]: JAVA: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[13]: INTERNAL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[14]: OTHER: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Dynamic engine configuration settings: LibClamAV debug: -------------------------------------- LibClamAV debug: Module PE: On LibClamAV debug: * Submodule PARITE: On LibClamAV debug: * Submodule KRIZ: On LibClamAV debug: * Submodule MAGISTR: On LibClamAV debug: * Submodule POLIPOS: On LibClamAV debug: * Submodule MD5SECT: On LibClamAV debug: * Submodule UPX: On LibClamAV debug: * Submodule FSG: On LibClamAV debug: * Submodule SWIZZOR: ** Off ** LibClamAV debug: * Submodule PETITE: On LibClamAV debug: * Submodule PESPIN: On LibClamAV debug: * Submodule YC: On LibClamAV debug: * Submodule WWPACK: On LibClamAV debug: * Submodule NSPACK: On LibClamAV debug: * Submodule MEW: On LibClamAV debug: * Submodule UPACK: On LibClamAV debug: * Submodule ASPACK: On LibClamAV debug: * Submodule CATALOG: On LibClamAV debug: * Submodule CERTS: On LibClamAV debug: * Submodule MATCHICON: On LibClamAV debug: * Submodule IMPTBL: On LibClamAV debug: Module ELF: On LibClamAV debug: Module MACHO: On LibClamAV debug: Module ARCHIVE: On LibClamAV debug: * Submodule RAR: On LibClamAV debug: * Submodule ZIP: On LibClamAV debug: * Submodule GZIP: On LibClamAV debug: * Submodule BZIP: On LibClamAV debug: * Submodule ARJ: On LibClamAV debug: * Submodule SZDD: On LibClamAV debug: * Submodule CAB: On LibClamAV debug: * Submodule CHM: On LibClamAV debug: * Submodule OLE2: On LibClamAV debug: * Submodule TAR: On LibClamAV debug: * Submodule CPIO: On LibClamAV debug: * Submodule BINHEX: On LibClamAV debug: * Submodule SIS: On LibClamAV debug: * Submodule NSIS: On LibClamAV debug: * Submodule AUTOIT: On LibClamAV debug: * Submodule ISHIELD: On LibClamAV debug: * Submodule 7zip: On LibClamAV debug: * Submodule ISO9660: On LibClamAV debug: * Submodule DMG: On LibClamAV debug: * Submodule XAR: On LibClamAV debug: * Submodule HFSPLUS: On LibClamAV debug: * Submodule XZ: On LibClamAV debug: * Submodule PASSWD: On LibClamAV debug: * Submodule MBR: On LibClamAV debug: * Submodule GPT: On LibClamAV debug: * Submodule APM: On LibClamAV debug: * Submodule EGG: On LibClamAV debug: Module DOCUMENT: On LibClamAV debug: * Submodule HTML: On LibClamAV debug: * Submodule RTF: On LibClamAV debug: * Submodule PDF: On LibClamAV debug: * Submodule SCRIPT: On LibClamAV debug: * Submodule HTMLSKIPRAW: On LibClamAV debug: * Submodule JSNORM: On LibClamAV debug: * Submodule SWF: On LibClamAV debug: * Submodule OOXML: On LibClamAV debug: * Submodule MSPML: On LibClamAV debug: * Submodule HWP: On LibClamAV debug: Module MAIL: On LibClamAV debug: * Submodule MBOX: On LibClamAV debug: * Submodule TNEF: On LibClamAV debug: Module OTHER: On LibClamAV debug: * Submodule UUENCODED: On LibClamAV debug: * Submodule SCRENC: On LibClamAV debug: * Submodule RIFF: On LibClamAV debug: * Submodule JPEG: On LibClamAV debug: * Submodule CRYPTFF: On LibClamAV debug: * Submodule DLP: On LibClamAV debug: * Submodule MYDOOMLOG: On LibClamAV debug: * Submodule PREFILTERING: On LibClamAV debug: * Submodule PDFNAMEOBJ: On LibClamAV debug: * Submodule PRTNINTXN: On LibClamAV debug: * Submodule LZW: On LibClamAV debug: * Submodule GIF: On LibClamAV debug: * Submodule PNG: On LibClamAV debug: * Submodule TIFF: On LibClamAV debug: Module PHISHING On LibClamAV debug: * Submodule ENGINE: On LibClamAV debug: * Submodule ENTCONV: On LibClamAV debug: Module BYTECODE On LibClamAV debug: * Submodule INTERPRETER: On LibClamAV debug: * Submodule JIT X86: On LibClamAV debug: * Submodule JIT PPC: On LibClamAV debug: * Submodule JIT ARM: ** Off ** LibClamAV debug: Module STATS Off LibClamAV debug: Module PCRE On LibClamAV debug: * Submodule SUPPORT: On LibClamAV debug: * Submodule OPTIONS: On LibClamAV debug: * Submodule GLOBAL: On LibClamAV debug: pool memory used: 5.941 MB LibClamAV debug: No bytecodes loaded, not running builtin test LibClamAV debug: Checking realpath of /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls LibClamAV debug: Recognized OLE2 container file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_scanole2() LibClamAV debug: in cli_ole2_extract() LibClamAV debug: Major Version = 0x0 LibClamAV debug: Minor Version = 0x0 LibClamAV debug: Flags = 0x0 LibClamAV debug: Size = 0xe020c0 LibClamAV debug: ole2: Flags must match LibClamAV debug: Encrypted with VelvetSweatshop: 0 LibClamAV debug: LibClamAV debug: Magic: 0xd0cf11e0a1b11ae1 LibClamAV debug: CLSID: {0000-00-00-00-000000} LibClamAV debug: Minor version: 0x3e LibClamAV debug: DLL version: 0x3 LibClamAV debug: Byte Order: -2 LibClamAV debug: Big Block Size: 9 LibClamAV debug: Small Block Size: 6 LibClamAV debug: BAT count: 1 LibClamAV debug: Prop start: 126 LibClamAV debug: SBAT cutoff: 4096 LibClamAV debug: SBat start: -2 LibClamAV debug: SBat block count: 0 LibClamAV debug: XBat start: -2 LibClamAV debug: XBat block count: 0 LibClamAV debug: LibClamAV debug: Max block number: 1016 LibClamAV debug: [scan_biff_for_xlm_macros_and_images] Found image in sheet LibClamAV debug: OLE2: VBA project found LibClamAV debug: OLE2: root entry [root] b size:0x00000000 flags:0x00000000 LibClamAV debug: OLE2: _5_summaryinformation [file] b size:0x00001000 flags:0x00000000 LibClamAV debug: Storing _5_summaryinformation in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping '_5_summaryinformation' to '/tmp/20240628_104426-scantemp.fb9075dbed/ole2-tmp.70d4267387/8f77ea59a4794f91b39913db2e55f3fc_1' LibClamAV debug: OLE2: _5_documentsummaryinformation [file] b size:0x00001000 flags:0x00000000 LibClamAV debug: Storing _5_documentsummaryinformation in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping '_5_documentsummaryinformation' to '/tmp/20240628_104426-scantemp.fb9075dbed/ole2-tmp.70d4267387/c94e3926fdf7b9e624cba640b87b17a8_1' LibClamAV debug: OLE2: workbook [file] b size:0x0000d8e5 flags:0x00000000 LibClamAV debug: Storing workbook in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping 'workbook' to '/tmp/20240628_104426-scantemp.fb9075dbed/ole2-tmp.70d4267387/e3af082cc2ec644830a69ddafe5abe31_1' LibClamAV debug: cli_ole2_scan_tempdir: /tmp/20240628_104426-scantemp.fb9075dbed/ole2-tmp.70d4267387 LibClamAV debug: cli_ole2_tempdir_scan_summary: detected a '_5_summaryinformation' stream LibClamAV debug: in cli_ole2_summary_json LibClamAV debug: ole2_summary_json: streamsize: 4096 LibClamAV debug: ole2_summary_json: byteorder 0xfffe LibClamAV debug: ole2_summary_json: 1 property set(s) detected LibClamAV debug: in ole2_summary_propset_json LibClamAV debug: ole2_summary_propset_json: pssize: 176, numprops: 7 LibClamAV debug: ole2_summary_propset_json: processing 7 of 7 (25 max) properties LibClamAV debug: ole2_summary_propset_json: propid: 0x00000001, propoff: 64 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000004, propoff: 72 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000008, propoff: 96 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000012, propoff: 120 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000c, propoff: 144 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000d, propoff: 156 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000013, propoff: 168 LibClamAV debug: in cli_ole2_summary_json_cleanup: 0[0] LibClamAV debug: cli_ole2_tempdir_scan_summary: detected a '_5_documentsummaryinformation' stream LibClamAV debug: in cli_ole2_summary_json LibClamAV debug: ole2_summary_json: streamsize: 4096 LibClamAV debug: ole2_summary_json: byteorder 0xfffe LibClamAV debug: ole2_summary_json: 1 property set(s) detected LibClamAV debug: in ole2_summary_propset_json LibClamAV debug: ole2_summary_propset_json: pssize: 196, numprops: 9 LibClamAV debug: ole2_summary_propset_json: processing 9 of 9 (25 max) properties LibClamAV debug: ole2_summary_propset_json: propid: 0x00000001, propoff: 80 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000f, propoff: 88 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000017, propoff: 100 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000b, propoff: 108 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000010, propoff: 116 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000013, propoff: 124 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000016, propoff: 132 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000d, propoff: 140 LibClamAV debug: ole2_process_property: unhandled property type 0x101e for DocPartTitles property LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000c, propoff: 159 LibClamAV debug: ole2_process_property: unhandled property type 0x100c for HeadingPairs property LibClamAV debug: in cli_ole2_summary_json_cleanup: 0[100] LibClamAV debug: [cli_extract_xlm_macros_and_images] Extracting macros to /tmp/20240628_104426-scantemp.fb9075dbed/xlm_macros.766b35625f LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0xf LibClamAV debug: read_office_art_record_header: recInstance 0x0 LibClamAV debug: read_office_art_record_header: recType 0xf000 LibClamAV debug: read_office_art_record_header: recLen 39456 LibClamAV debug: cli_extract_images_from_drawing_group: Found drawing group of size 39456 bytes LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x0 LibClamAV debug: read_office_art_record_header: recType 0xf006 LibClamAV debug: read_office_art_record_header: recLen 24 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0xf LibClamAV debug: read_office_art_record_header: recInstance 0x2 LibClamAV debug: read_office_art_record_header: recType 0xf001 LibClamAV debug: read_office_art_record_header: recLen 39366 LibClamAV debug: cli_extract_images_from_drawing_group: Found an OfficeArtBStoreContainerFileBlock (Blip store). LibClamAV debug: cli_extract_images_from_drawing_group: size: 39366 bytes, contains: 2 file block records LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x2 LibClamAV debug: read_office_art_record_header: recInstance 0x5 LibClamAV debug: read_office_art_record_header: recType 0xf007 LibClamAV debug: read_office_art_record_header: recLen 16623 LibClamAV debug: process_blip_store_container: Invalid recVer for Blip record header: 2 LibClamAV debug: process_blip_store_container: Found a File Blip Store Entry (FBSE) record LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x46a LibClamAV debug: read_office_art_record_header: recType 0xf01d LibClamAV debug: read_office_art_record_header: recLen 16579 LibClamAV debug: process_blip_store_container: Found OfficeArtBlipJPEG LibClamAV debug: Scanning extracted image of size 16562 LibClamAV debug: cli_magic_scan_nested_fmap_type: [0, +16562) LibClamAV debug: magic_scan_nested_fmap_type: [0, +16562), [0, +16562) LibClamAV debug: Recognized JPEG file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_parsejpeg() LibClamAV debug: segment[1] = 0xe0, Length 16 LibClamAV debug: JFIF application marker LibClamAV debug: segment[2] = 0xe1, Length 6604 LibClamAV debug: Exif application marker LibClamAV debug: segment[3] = 0xe2, Length 3160 LibClamAV debug: ICC Profile, chunk # 1 LibClamAV debug: segment[4] = 0xdb, Length 67 LibClamAV debug: Quantization Tables definitions (DQT) LibClamAV debug: segment[5] = 0xdb, Length 67 LibClamAV debug: Quantization Tables definitions (DQT) LibClamAV debug: segment[6] = 0xc2, Length 17 LibClamAV debug: Start of Frame (S0F) c2 LibClamAV debug: segment[7] = 0xc4, Length 28 LibClamAV debug: Huffman Tables definitions (DHT) LibClamAV debug: segment[8] = 0xc4, Length 27 LibClamAV debug: Huffman Tables definitions (DHT) LibClamAV debug: segment[9] = 0xda, Length 12 LibClamAV debug: Start of Scan (SOS) segment marker LibClamAV debug: Image hash: ea0f85d0de719887 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Checking image fuzzy hash 'ea0f85d0de719887' for signature match LibClamAV debug: Checking image fuzzy hash 'ea0f85d0de719887' for signature match LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x2 LibClamAV debug: read_office_art_record_header: recInstance 0x6 LibClamAV debug: read_office_art_record_header: recType 0xf007 LibClamAV debug: read_office_art_record_header: recLen 22727 LibClamAV debug: process_blip_store_container: Invalid recVer for Blip record header: 2 LibClamAV debug: process_blip_store_container: Found a File Blip Store Entry (FBSE) record LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x6e0 LibClamAV debug: read_office_art_record_header: recType 0xf01e LibClamAV debug: read_office_art_record_header: recLen 22683 LibClamAV debug: process_blip_store_container: Found OfficeArtBlipPNG LibClamAV debug: Scanning extracted image of size 22666 LibClamAV debug: cli_magic_scan_nested_fmap_type: [0, +22666) LibClamAV debug: magic_scan_nested_fmap_type: [0, +22666), [0, +22666) LibClamAV debug: Recognized PNG file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_parsepng() LibClamAV debug: Chunk Type: IHDR, Data Length: 13 bytes LibClamAV debug: Width: 144 LibClamAV debug: Height: 144 LibClamAV debug: Bit Depth: 8 (Sample Depth: 32) LibClamAV debug: Color Type: 6 LibClamAV debug: Compression Method: 0 LibClamAV debug: Filter Method: 0 LibClamAV debug: Interlace Method: 0 LibClamAV debug: Chunk CRC: 0xe746e2b8 LibClamAV debug: Chunk Type: zTXt, Data Length: 7087 bytes LibClamAV debug: Chunk CRC: 0x19546b29 LibClamAV debug: Chunk Type: iCCP, Data Length: 2618 bytes LibClamAV debug: Chunk CRC: 0x361c0fd2 LibClamAV debug: Chunk Type: iCCP, Data Length: 2618 bytes LibClamAV debug: Chunk CRC: 0x25771675 LibClamAV debug: Chunk Type: bKGD, Data Length: 6 bytes LibClamAV debug: Chunk CRC: 0xa0bda793 LibClamAV debug: Chunk Type: pHYs, Data Length: 9 bytes LibClamAV debug: Chunk CRC: 0x9a9c18 LibClamAV debug: Chunk Type: tIME, Data Length: 7 bytes LibClamAV debug: Chunk CRC: 0x2423dc6b LibClamAV debug: Chunk Type: IDAT, Data Length: 8192 bytes LibClamAV debug: IDAT chunk: image data decompression no longer performed in PNG CVE checker. LibClamAV debug: Chunk CRC: 0x80ae8521 LibClamAV debug: Chunk Type: IDAT, Data Length: 1988 bytes LibClamAV debug: IDAT chunk: image data decompression no longer performed in PNG CVE checker. LibClamAV debug: Chunk CRC: 0x2fbbd0c7 LibClamAV debug: Chunk Type: IEND, Data Length: 0 bytes LibClamAV debug: Chunk CRC: 0xae426082 LibClamAV debug: Image hash: 97e5789e252983c6 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Checking image fuzzy hash '97e5789e252983c6' for signature match LibClamAV debug: Checking image fuzzy hash '97e5789e252983c6' for signature match LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x3 LibClamAV debug: read_office_art_record_header: recInstance 0x3 LibClamAV debug: read_office_art_record_header: recType 0xf00b LibClamAV debug: read_office_art_record_header: recLen 18 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x4 LibClamAV debug: read_office_art_record_header: recType 0xf11e LibClamAV debug: read_office_art_record_header: recLen 16 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Matched signature for file type ZIP-SFX at 51936 LibClamAV debug: Matched signature for file type ZIP-SFX at 52240 LibClamAV debug: Matched signature for file type ZIP-SFX at 52473 LibClamAV debug: Matched signature for file type ZIP-SFX at 52662 LibClamAV debug: Matched signature for file type ZIP-SFX at 54457 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 51936 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:[Content_Types].xml:540:255:bf0fdee9:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:255:[Content_Types].xml:255:540:0:0:3205488361:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104426-scantemp.fb9075dbed/clamav-49e3296440cc62b28c30ae3dd8634809.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52240 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:_rels/.rels:310:192:e7a7d6a5:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:192:_rels/.rels:192:310:0:0:3886536357:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104426-scantemp.fb9075dbed/clamav-3e71f49915a822bdd185f5d6a74d248c.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52473 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/themeManager.xml:138:131:1696796b:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:131:theme/theme/themeManager.xml:131:138:0:0:378960235:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104426-scantemp.fb9075dbed/clamav-8cf25cab94500baf4a16e30898eb825a.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52662 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/theme1.xml:8112:1743:d16dd24e:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:1743:theme/theme/theme1.xml:1743:8112:0:0:3513635406:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104426-scantemp.fb9075dbed/clamav-c5743bc6bd336ddf1a2fbb0ef3ec7f9a.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: CL_TYPE_ZIPSFX signature found at 54457 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/_rels/themeManager.xml.rels:283:182:9f90d10d:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:182:theme/theme/_rels/themeManager.xml.rels:182:283:0:0:2677068045:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104426-scantemp.fb9075dbed/clamav-2622883e14cfd061549b763c75d60c52.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: { "Magic":"CLAMJSONv0", "RootFileType":"CL_TYPE_MSXL", "FileName":"has_png_and_jpeg.xls", "FileType":"CL_TYPE_MSXL", "FileSize":65536, "FileMD5":"bd7f9450b08d919d4d330a13c8aa14a5", "EncryptedWithVelvetSweatshop":0, "Streams":[ "_5_summaryinformation", "_5_documentsummaryinformation", "workbook" ], "SummaryInfo":{ "CodePage":1252, "Author":"Micah Snyder", "LastAuthor":"Micah Snyder", "AppName":"Microsoft Excel", "CreatedTime":1626380512, "ModifiedTime":1626380712, "Security":0 }, "DocSummaryInfo":{ "CodePage":1252, "Company":"", "Version":1048576, "Scale":false, "LinksDirty":false, "SharedDoc":false, "HyperLinksChanged":false, "ParseErrors":[ "OLE2_SUMMARY_FLAG_UNHANDLED_PROPTYPE" ] }, "ContainedObjects":[ { "FileType":"CL_TYPE_JPEG", "FileSize":16562, "FileMD5":"41e64a9ddb49690f0b6fbbd71362b1b3", "ImageFuzzyHash":{ "Hash":"ea0f85d0de719887" } }, { "FileType":"CL_TYPE_PNG", "FileSize":22666, "FileMD5":"5341e0efde53a50c416b2352263e7693", "ImageFuzzyHash":{ "Hash":"97e5789e252983c6" } } ], "EmbeddedObjects":[ { "FileType":"CL_TYPE_ZIPSFX", "Offset":51936, "ContainedObjects":[ { "FileName":"[Content_Types].xml", "FilePath":"/tmp/20240628_104426-scantemp.fb9075dbed/clamav-49e3296440cc62b28c30ae3dd8634809.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":540, "FileMD5":"c9cbcd6f377d2c787064d8e5464412f1" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52240, "ContainedObjects":[ { "FileName":".rels", "FilePath":"/tmp/20240628_104426-scantemp.fb9075dbed/clamav-3e71f49915a822bdd185f5d6a74d248c.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":310, "FileMD5":"72721ae37030f210de7a73d75dbc33eb" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52473, "ContainedObjects":[ { "FileName":"themeManager.xml", "FilePath":"/tmp/20240628_104426-scantemp.fb9075dbed/clamav-8cf25cab94500baf4a16e30898eb825a.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":138, "FileMD5":"ad57ce056452726e5fb113fb8c6f229e" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52662, "ContainedObjects":[ { "FileName":"theme1.xml", "FilePath":"/tmp/20240628_104426-scantemp.fb9075dbed/clamav-c5743bc6bd336ddf1a2fbb0ef3ec7f9a.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":8112, "FileMD5":"d6519a9212444706e7cbda9fb2917083" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":54457, "ContainedObjects":[ { "FileName":"themeManager.xml.rels", "FilePath":"/tmp/20240628_104426-scantemp.fb9075dbed/clamav-2622883e14cfd061549b763c75d60c52.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":283, "FileMD5":"c8d47b0b4a92b9587777ef824be3c8c4" } ] } ] } LibClamAV debug: Bytecode executing hook id 260 (0 hooks) LibClamAV debug: Bytecode: no logical signature matched, no bytecode executed LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Freeing phishcheck struct LibClamAV debug: Phishcheck cleaned up [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9891== Memcheck, a memory error detector [INFO]: ==9891== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9891== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9891== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav.hdb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls --gen-json --debug [INFO]: ==9891== Parent PID: 9803 [INFO]: ==9891== [INFO]: --9891-- [INFO]: --9891-- Valgrind options: [INFO]: --9891-- -v [INFO]: --9891-- --trace-children=yes [INFO]: --9891-- --track-fds=yes [INFO]: --9891-- --leak-check=full [INFO]: --9891-- --show-possibly-lost=no [INFO]: --9891-- --show-leak-kinds=definite [INFO]: --9891-- --errors-for-leak-kinds=definite [INFO]: --9891-- --main-stacksize=16777216 [INFO]: --9891-- --gen-suppressions=all [INFO]: --9891-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9891-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log [INFO]: --9891-- --error-exitcode=123 [INFO]: --9891-- Contents of /proc/version: [INFO]: --9891-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9891-- [INFO]: --9891-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9891-- Page sizes: currently 4096, max supported 4096 [INFO]: --9891-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9891-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9891-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9891-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9891-- might be shown as UnknownInlinedFun [INFO]: --9891-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9891-- object doesn't have a dynamic symbol table [INFO]: --9891-- Scheduler: using generic scheduler lock implementation. [INFO]: --9891-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9891-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9891== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9891-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9891== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9891-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9891== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9891-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9891== [INFO]: ==9891== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9891== don't want to do, unless you know exactly what you're doing, [INFO]: ==9891== or are doing some strange experiment): [INFO]: ==9891== /usr/libexec/valgrind/../../bin/vgdb --pid=9891 ...command... [INFO]: ==9891== [INFO]: ==9891== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9891== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9891== and then give GDB the following command [INFO]: ==9891== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9891 [INFO]: ==9891== --pid is optional if only one valgrind process is running [INFO]: ==9891== [INFO]: --9891-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9891-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9891-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9891-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9891-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9891-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9891-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9891-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9891-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9891-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9891-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9891-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9891-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9891-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9891-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9891-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9891-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9891-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9891-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9891-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9891-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9891== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9891== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9891== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9891== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9891-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9891-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9891-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9891-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9891-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9891-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9891-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9891-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9891-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9891-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9891-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9891-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9891-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9891-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9891-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9891-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9891-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9891-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9891-- Reading syms from /usr/lib64/gconv/CP1252.so [INFO]: ==9891== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9891== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9891== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9891== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9891== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9891== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9891== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9891== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9891== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9891== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9891== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9891== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9891== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9891== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9891== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9891== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9891== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9891== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9891== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9891== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9891== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9891== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9891== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9891== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9891== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9891== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9891== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9891== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9891== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9891== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9891== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9891== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9891== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9891== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9891== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9891== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9891== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9891== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9891== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9891== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9891== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9891== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9891== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9891== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9891== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9891== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9891== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9891== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9891== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9891== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9891== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9891== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9891== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9891== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9891== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9891== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: --9891-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9891-- Discarding syms at 0x5f0d100-0x5f0e150 in /usr/lib64/gconv/CP1252.so (have_dinfo 1) [INFO]: ==9891== [INFO]: ==9891== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9891== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log [INFO]: ==9891== [INFO]: ==9891== [INFO]: ==9891== (No origin, error cannot be suppressed) [INFO]: ==9891== [INFO]: ==9891== HEAP SUMMARY: [INFO]: ==9891== in use at exit: 23,256 bytes in 37 blocks [INFO]: ==9891== total heap usage: 6,981 allocs, 6,944 frees, 3,327,546 bytes allocated [INFO]: ==9891== [INFO]: ==9891== Searching for pointers to 37 not-freed blocks [INFO]: ==9891== Checked 4,457,776 bytes [INFO]: ==9891== [INFO]: ==9891== LEAK SUMMARY: [INFO]: ==9891== definitely lost: 0 bytes in 0 blocks [INFO]: ==9891== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9891== possibly lost: 608 bytes in 2 blocks [INFO]: ==9891== still reachable: 22,648 bytes in 35 blocks [INFO]: ==9891== suppressed: 0 bytes in 0 blocks [INFO]: ==9891== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9891== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9891== [INFO]: ==9891== Use --track-origins=yes to see where uninitialised values come from [INFO]: ==9891== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) [INFO]: ==9891== [INFO]: ==9891== 9 errors in context 1 of 2: [INFO]: ==9891== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9891== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9891== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9891== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9891== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9891== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9891== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9891== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9891== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9891== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9891== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9891== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9891== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9891== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9891== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9891== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9891== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9891== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9891== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9891== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9891== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9891== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9891== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9891== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9891== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9891== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9891== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9891== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9891== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9891== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9891== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9891== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9891== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9891== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9891== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9891== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9891== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9891== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9891== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9891== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9891== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9891== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9891== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9891== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9891== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9891== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9891== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9891== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9891== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9891== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9891== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9891== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9891== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9891== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9891== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9891== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9891== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) _______________ ERROR at teardown of TC.test_xls_with_detection ________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/image_extraction_test.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamav can successfully alert on PNG image extracted from XLS documents [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/logo.png.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls --gen-json --debug --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls: logo.png.good.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.12 MB Data read: 0.06 MB (ratio 1.88:1) Time: 2.690 sec (0 m 2 s) Start Date: 2024:06:28 10:44:28 End Date: 2024:06:28 10:44:31 [DEBUG]: stderr: LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64 LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /libclamunrar_iface..a not found LibClamAV debug: Cannot dlopen libclamunrar_iface: /libclamunrar_iface..a: cannot open shared object file: No such file or directory - unrar support unavailable LibClamAV debug: Initialized 1.0.6 engine LibClamAV debug: Initializing phishcheck module LibClamAV debug: Phishcheck: Compiling regex: ^ *(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$ LibClamAV debug: Phishcheck module initialized LibClamAV debug: Bytecode initialized in interpreter mode LibClamAV debug: Initializing engine matching structures LibClamAV debug: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/logo.png.ldb loaded LibClamAV debug: Initializing engine matching structures LibClamAV debug: Loaded 156 filetype definitions LibClamAV debug: Using filter for trie 0 LibClamAV debug: Matcher[0]: GENERIC: AC sigs: 84 (reloff: 1, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 32 LibClamAV debug: Using filter for trie 1 LibClamAV debug: Matcher[1]: PE: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 LibClamAV debug: Matcher[2]: OLE2: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[3]: HTML: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 4 LibClamAV debug: Matcher[4]: MAIL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[5]: GRAPHICS: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[6]: ELF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 7 LibClamAV debug: Matcher[7]: ASCII: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[8]: NOT USED: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[9]: MACH-O: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[10]: PDF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[11]: FLASH: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[12]: JAVA: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[13]: INTERNAL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[14]: OTHER: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Dynamic engine configuration settings: LibClamAV debug: -------------------------------------- LibClamAV debug: Module PE: On LibClamAV debug: * Submodule PARITE: On LibClamAV debug: * Submodule KRIZ: On LibClamAV debug: * Submodule MAGISTR: On LibClamAV debug: * Submodule POLIPOS: On LibClamAV debug: * Submodule MD5SECT: On LibClamAV debug: * Submodule UPX: On LibClamAV debug: * Submodule FSG: On LibClamAV debug: * Submodule SWIZZOR: ** Off ** LibClamAV debug: * Submodule PETITE: On LibClamAV debug: * Submodule PESPIN: On LibClamAV debug: * Submodule YC: On LibClamAV debug: * Submodule WWPACK: On LibClamAV debug: * Submodule NSPACK: On LibClamAV debug: * Submodule MEW: On LibClamAV debug: * Submodule UPACK: On LibClamAV debug: * Submodule ASPACK: On LibClamAV debug: * Submodule CATALOG: On LibClamAV debug: * Submodule CERTS: On LibClamAV debug: * Submodule MATCHICON: On LibClamAV debug: * Submodule IMPTBL: On LibClamAV debug: Module ELF: On LibClamAV debug: Module MACHO: On LibClamAV debug: Module ARCHIVE: On LibClamAV debug: * Submodule RAR: On LibClamAV debug: * Submodule ZIP: On LibClamAV debug: * Submodule GZIP: On LibClamAV debug: * Submodule BZIP: On LibClamAV debug: * Submodule ARJ: On LibClamAV debug: * Submodule SZDD: On LibClamAV debug: * Submodule CAB: On LibClamAV debug: * Submodule CHM: On LibClamAV debug: * Submodule OLE2: On LibClamAV debug: * Submodule TAR: On LibClamAV debug: * Submodule CPIO: On LibClamAV debug: * Submodule BINHEX: On LibClamAV debug: * Submodule SIS: On LibClamAV debug: * Submodule NSIS: On LibClamAV debug: * Submodule AUTOIT: On LibClamAV debug: * Submodule ISHIELD: On LibClamAV debug: * Submodule 7zip: On LibClamAV debug: * Submodule ISO9660: On LibClamAV debug: * Submodule DMG: On LibClamAV debug: * Submodule XAR: On LibClamAV debug: * Submodule HFSPLUS: On LibClamAV debug: * Submodule XZ: On LibClamAV debug: * Submodule PASSWD: On LibClamAV debug: * Submodule MBR: On LibClamAV debug: * Submodule GPT: On LibClamAV debug: * Submodule APM: On LibClamAV debug: * Submodule EGG: On LibClamAV debug: Module DOCUMENT: On LibClamAV debug: * Submodule HTML: On LibClamAV debug: * Submodule RTF: On LibClamAV debug: * Submodule PDF: On LibClamAV debug: * Submodule SCRIPT: On LibClamAV debug: * Submodule HTMLSKIPRAW: On LibClamAV debug: * Submodule JSNORM: On LibClamAV debug: * Submodule SWF: On LibClamAV debug: * Submodule OOXML: On LibClamAV debug: * Submodule MSPML: On LibClamAV debug: * Submodule HWP: On LibClamAV debug: Module MAIL: On LibClamAV debug: * Submodule MBOX: On LibClamAV debug: * Submodule TNEF: On LibClamAV debug: Module OTHER: On LibClamAV debug: * Submodule UUENCODED: On LibClamAV debug: * Submodule SCRENC: On LibClamAV debug: * Submodule RIFF: On LibClamAV debug: * Submodule JPEG: On LibClamAV debug: * Submodule CRYPTFF: On LibClamAV debug: * Submodule DLP: On LibClamAV debug: * Submodule MYDOOMLOG: On LibClamAV debug: * Submodule PREFILTERING: On LibClamAV debug: * Submodule PDFNAMEOBJ: On LibClamAV debug: * Submodule PRTNINTXN: On LibClamAV debug: * Submodule LZW: On LibClamAV debug: * Submodule GIF: On LibClamAV debug: * Submodule PNG: On LibClamAV debug: * Submodule TIFF: On LibClamAV debug: Module PHISHING On LibClamAV debug: * Submodule ENGINE: On LibClamAV debug: * Submodule ENTCONV: On LibClamAV debug: Module BYTECODE On LibClamAV debug: * Submodule INTERPRETER: On LibClamAV debug: * Submodule JIT X86: On LibClamAV debug: * Submodule JIT PPC: On LibClamAV debug: * Submodule JIT ARM: ** Off ** LibClamAV debug: Module STATS Off LibClamAV debug: Module PCRE On LibClamAV debug: * Submodule SUPPORT: On LibClamAV debug: * Submodule OPTIONS: On LibClamAV debug: * Submodule GLOBAL: On LibClamAV debug: pool memory used: 5.941 MB LibClamAV debug: No bytecodes loaded, not running builtin test LibClamAV debug: Checking realpath of /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls LibClamAV debug: Recognized OLE2 container file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_scanole2() LibClamAV debug: in cli_ole2_extract() LibClamAV debug: Major Version = 0x0 LibClamAV debug: Minor Version = 0x0 LibClamAV debug: Flags = 0x0 LibClamAV debug: Size = 0xe020c0 LibClamAV debug: ole2: Flags must match LibClamAV debug: Encrypted with VelvetSweatshop: 0 LibClamAV debug: LibClamAV debug: Magic: 0xd0cf11e0a1b11ae1 LibClamAV debug: CLSID: {0000-00-00-00-000000} LibClamAV debug: Minor version: 0x3e LibClamAV debug: DLL version: 0x3 LibClamAV debug: Byte Order: -2 LibClamAV debug: Big Block Size: 9 LibClamAV debug: Small Block Size: 6 LibClamAV debug: BAT count: 1 LibClamAV debug: Prop start: 126 LibClamAV debug: SBAT cutoff: 4096 LibClamAV debug: SBat start: -2 LibClamAV debug: SBat block count: 0 LibClamAV debug: XBat start: -2 LibClamAV debug: XBat block count: 0 LibClamAV debug: LibClamAV debug: Max block number: 1016 LibClamAV debug: [scan_biff_for_xlm_macros_and_images] Found image in sheet LibClamAV debug: OLE2: VBA project found LibClamAV debug: OLE2: root entry [root] b size:0x00000000 flags:0x00000000 LibClamAV debug: OLE2: _5_summaryinformation [file] b size:0x00001000 flags:0x00000000 LibClamAV debug: Storing _5_summaryinformation in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping '_5_summaryinformation' to '/tmp/20240628_104429-scantemp.00ec2fe966/ole2-tmp.50bf42d4ab/8f77ea59a4794f91b39913db2e55f3fc_1' LibClamAV debug: OLE2: _5_documentsummaryinformation [file] b size:0x00001000 flags:0x00000000 LibClamAV debug: Storing _5_documentsummaryinformation in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping '_5_documentsummaryinformation' to '/tmp/20240628_104429-scantemp.00ec2fe966/ole2-tmp.50bf42d4ab/c94e3926fdf7b9e624cba640b87b17a8_1' LibClamAV debug: OLE2: workbook [file] b size:0x0000d8e5 flags:0x00000000 LibClamAV debug: Storing workbook in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping 'workbook' to '/tmp/20240628_104429-scantemp.00ec2fe966/ole2-tmp.50bf42d4ab/e3af082cc2ec644830a69ddafe5abe31_1' LibClamAV debug: cli_ole2_scan_tempdir: /tmp/20240628_104429-scantemp.00ec2fe966/ole2-tmp.50bf42d4ab LibClamAV debug: cli_ole2_tempdir_scan_summary: detected a '_5_summaryinformation' stream LibClamAV debug: in cli_ole2_summary_json LibClamAV debug: ole2_summary_json: streamsize: 4096 LibClamAV debug: ole2_summary_json: byteorder 0xfffe LibClamAV debug: ole2_summary_json: 1 property set(s) detected LibClamAV debug: in ole2_summary_propset_json LibClamAV debug: ole2_summary_propset_json: pssize: 176, numprops: 7 LibClamAV debug: ole2_summary_propset_json: processing 7 of 7 (25 max) properties LibClamAV debug: ole2_summary_propset_json: propid: 0x00000001, propoff: 64 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000004, propoff: 72 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000008, propoff: 96 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000012, propoff: 120 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000c, propoff: 144 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000d, propoff: 156 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000013, propoff: 168 LibClamAV debug: in cli_ole2_summary_json_cleanup: 0[0] LibClamAV debug: cli_ole2_tempdir_scan_summary: detected a '_5_documentsummaryinformation' stream LibClamAV debug: in cli_ole2_summary_json LibClamAV debug: ole2_summary_json: streamsize: 4096 LibClamAV debug: ole2_summary_json: byteorder 0xfffe LibClamAV debug: ole2_summary_json: 1 property set(s) detected LibClamAV debug: in ole2_summary_propset_json LibClamAV debug: ole2_summary_propset_json: pssize: 196, numprops: 9 LibClamAV debug: ole2_summary_propset_json: processing 9 of 9 (25 max) properties LibClamAV debug: ole2_summary_propset_json: propid: 0x00000001, propoff: 80 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000f, propoff: 88 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000017, propoff: 100 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000b, propoff: 108 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000010, propoff: 116 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000013, propoff: 124 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000016, propoff: 132 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000d, propoff: 140 LibClamAV debug: ole2_process_property: unhandled property type 0x101e for DocPartTitles property LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000c, propoff: 159 LibClamAV debug: ole2_process_property: unhandled property type 0x100c for HeadingPairs property LibClamAV debug: in cli_ole2_summary_json_cleanup: 0[100] LibClamAV debug: [cli_extract_xlm_macros_and_images] Extracting macros to /tmp/20240628_104429-scantemp.00ec2fe966/xlm_macros.e25249217c LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0xf LibClamAV debug: read_office_art_record_header: recInstance 0x0 LibClamAV debug: read_office_art_record_header: recType 0xf000 LibClamAV debug: read_office_art_record_header: recLen 39456 LibClamAV debug: cli_extract_images_from_drawing_group: Found drawing group of size 39456 bytes LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x0 LibClamAV debug: read_office_art_record_header: recType 0xf006 LibClamAV debug: read_office_art_record_header: recLen 24 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0xf LibClamAV debug: read_office_art_record_header: recInstance 0x2 LibClamAV debug: read_office_art_record_header: recType 0xf001 LibClamAV debug: read_office_art_record_header: recLen 39366 LibClamAV debug: cli_extract_images_from_drawing_group: Found an OfficeArtBStoreContainerFileBlock (Blip store). LibClamAV debug: cli_extract_images_from_drawing_group: size: 39366 bytes, contains: 2 file block records LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x2 LibClamAV debug: read_office_art_record_header: recInstance 0x5 LibClamAV debug: read_office_art_record_header: recType 0xf007 LibClamAV debug: read_office_art_record_header: recLen 16623 LibClamAV debug: process_blip_store_container: Invalid recVer for Blip record header: 2 LibClamAV debug: process_blip_store_container: Found a File Blip Store Entry (FBSE) record LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x46a LibClamAV debug: read_office_art_record_header: recType 0xf01d LibClamAV debug: read_office_art_record_header: recLen 16579 LibClamAV debug: process_blip_store_container: Found OfficeArtBlipJPEG LibClamAV debug: Scanning extracted image of size 16562 LibClamAV debug: cli_magic_scan_nested_fmap_type: [0, +16562) LibClamAV debug: magic_scan_nested_fmap_type: [0, +16562), [0, +16562) LibClamAV debug: Recognized JPEG file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_parsejpeg() LibClamAV debug: segment[1] = 0xe0, Length 16 LibClamAV debug: JFIF application marker LibClamAV debug: segment[2] = 0xe1, Length 6604 LibClamAV debug: Exif application marker LibClamAV debug: segment[3] = 0xe2, Length 3160 LibClamAV debug: ICC Profile, chunk # 1 LibClamAV debug: segment[4] = 0xdb, Length 67 LibClamAV debug: Quantization Tables definitions (DQT) LibClamAV debug: segment[5] = 0xdb, Length 67 LibClamAV debug: Quantization Tables definitions (DQT) LibClamAV debug: segment[6] = 0xc2, Length 17 LibClamAV debug: Start of Frame (S0F) c2 LibClamAV debug: segment[7] = 0xc4, Length 28 LibClamAV debug: Huffman Tables definitions (DHT) LibClamAV debug: segment[8] = 0xc4, Length 27 LibClamAV debug: Huffman Tables definitions (DHT) LibClamAV debug: segment[9] = 0xda, Length 12 LibClamAV debug: Start of Scan (SOS) segment marker LibClamAV debug: Image hash: ea0f85d0de719887 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Checking image fuzzy hash 'ea0f85d0de719887' for signature match LibClamAV debug: Checking image fuzzy hash 'ea0f85d0de719887' for signature match LibClamAV debug: FP SIGNATURE: 41e64a9ddb49690f0b6fbbd71362b1b3:16562:logo.png.good.UNOFFICIAL # Name: n/a, Type: CL_TYPE_JPEG LibClamAV debug: FP SIGNATURE: bd7f9450b08d919d4d330a13c8aa14a5:65536:logo.png.good.UNOFFICIAL # Name: has_png_and_jpeg.xls, Type: CL_TYPE_MSOLE2 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x2 LibClamAV debug: read_office_art_record_header: recInstance 0x6 LibClamAV debug: read_office_art_record_header: recType 0xf007 LibClamAV debug: read_office_art_record_header: recLen 22727 LibClamAV debug: process_blip_store_container: Invalid recVer for Blip record header: 2 LibClamAV debug: process_blip_store_container: Found a File Blip Store Entry (FBSE) record LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x6e0 LibClamAV debug: read_office_art_record_header: recType 0xf01e LibClamAV debug: read_office_art_record_header: recLen 22683 LibClamAV debug: process_blip_store_container: Found OfficeArtBlipPNG LibClamAV debug: Scanning extracted image of size 22666 LibClamAV debug: cli_magic_scan_nested_fmap_type: [0, +22666) LibClamAV debug: magic_scan_nested_fmap_type: [0, +22666), [0, +22666) LibClamAV debug: Recognized PNG file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_parsepng() LibClamAV debug: Chunk Type: IHDR, Data Length: 13 bytes LibClamAV debug: Width: 144 LibClamAV debug: Height: 144 LibClamAV debug: Bit Depth: 8 (Sample Depth: 32) LibClamAV debug: Color Type: 6 LibClamAV debug: Compression Method: 0 LibClamAV debug: Filter Method: 0 LibClamAV debug: Interlace Method: 0 LibClamAV debug: Chunk CRC: 0xe746e2b8 LibClamAV debug: Chunk Type: zTXt, Data Length: 7087 bytes LibClamAV debug: Chunk CRC: 0x19546b29 LibClamAV debug: Chunk Type: iCCP, Data Length: 2618 bytes LibClamAV debug: Chunk CRC: 0x361c0fd2 LibClamAV debug: Chunk Type: iCCP, Data Length: 2618 bytes LibClamAV debug: Chunk CRC: 0x25771675 LibClamAV debug: Chunk Type: bKGD, Data Length: 6 bytes LibClamAV debug: Chunk CRC: 0xa0bda793 LibClamAV debug: Chunk Type: pHYs, Data Length: 9 bytes LibClamAV debug: Chunk CRC: 0x9a9c18 LibClamAV debug: Chunk Type: tIME, Data Length: 7 bytes LibClamAV debug: Chunk CRC: 0x2423dc6b LibClamAV debug: Chunk Type: IDAT, Data Length: 8192 bytes LibClamAV debug: IDAT chunk: image data decompression no longer performed in PNG CVE checker. LibClamAV debug: Chunk CRC: 0x80ae8521 LibClamAV debug: Chunk Type: IDAT, Data Length: 1988 bytes LibClamAV debug: IDAT chunk: image data decompression no longer performed in PNG CVE checker. LibClamAV debug: Chunk CRC: 0x2fbbd0c7 LibClamAV debug: Chunk Type: IEND, Data Length: 0 bytes LibClamAV debug: Chunk CRC: 0xae426082 LibClamAV debug: Image hash: 97e5789e252983c6 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Checking image fuzzy hash '97e5789e252983c6' for signature match LibClamAV debug: Checking image fuzzy hash '97e5789e252983c6' for signature match LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x3 LibClamAV debug: read_office_art_record_header: recInstance 0x3 LibClamAV debug: read_office_art_record_header: recType 0xf00b LibClamAV debug: read_office_art_record_header: recLen 18 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x4 LibClamAV debug: read_office_art_record_header: recType 0xf11e LibClamAV debug: read_office_art_record_header: recLen 16 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Matched signature for file type ZIP-SFX at 51936 LibClamAV debug: Matched signature for file type ZIP-SFX at 52240 LibClamAV debug: Matched signature for file type ZIP-SFX at 52473 LibClamAV debug: Matched signature for file type ZIP-SFX at 52662 LibClamAV debug: Matched signature for file type ZIP-SFX at 54457 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 51936 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:[Content_Types].xml:540:255:bf0fdee9:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:255:[Content_Types].xml:255:540:0:0:3205488361:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104429-scantemp.00ec2fe966/clamav-601b7993dacab3df3b8fc048a7f5dd2a.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52240 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:_rels/.rels:310:192:e7a7d6a5:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:192:_rels/.rels:192:310:0:0:3886536357:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104429-scantemp.00ec2fe966/clamav-a389d8f0b85e1a1d82e9d59b468eb5f4.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52473 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/themeManager.xml:138:131:1696796b:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:131:theme/theme/themeManager.xml:131:138:0:0:378960235:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104429-scantemp.00ec2fe966/clamav-d326ed43651617715549e2597dca963c.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52662 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/theme1.xml:8112:1743:d16dd24e:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:1743:theme/theme/theme1.xml:1743:8112:0:0:3513635406:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104429-scantemp.00ec2fe966/clamav-f1d5a0a2389568e9b3ae800018e4e9e0.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 54457 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/_rels/themeManager.xml.rels:283:182:9f90d10d:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:182:theme/theme/_rels/themeManager.xml.rels:182:283:0:0:2677068045:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104429-scantemp.00ec2fe966/clamav-d8790994e73d8bc09c1f85be087684cf.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: { "Magic":"CLAMJSONv0", "RootFileType":"CL_TYPE_MSXL", "FileName":"has_png_and_jpeg.xls", "FileType":"CL_TYPE_MSXL", "FileSize":65536, "FileMD5":"bd7f9450b08d919d4d330a13c8aa14a5", "EncryptedWithVelvetSweatshop":0, "Streams":[ "_5_summaryinformation", "_5_documentsummaryinformation", "workbook" ], "SummaryInfo":{ "CodePage":1252, "Author":"Micah Snyder", "LastAuthor":"Micah Snyder", "AppName":"Microsoft Excel", "CreatedTime":1626380512, "ModifiedTime":1626380712, "Security":0 }, "DocSummaryInfo":{ "CodePage":1252, "Company":"", "Version":1048576, "Scale":false, "LinksDirty":false, "SharedDoc":false, "HyperLinksChanged":false, "ParseErrors":[ "OLE2_SUMMARY_FLAG_UNHANDLED_PROPTYPE" ] }, "ContainedObjects":[ { "FileType":"CL_TYPE_JPEG", "FileSize":16562, "FileMD5":"41e64a9ddb49690f0b6fbbd71362b1b3", "ImageFuzzyHash":{ "Hash":"ea0f85d0de719887" }, "Viruses":[ "logo.png.good.UNOFFICIAL" ] }, { "FileType":"CL_TYPE_PNG", "FileSize":22666, "FileMD5":"5341e0efde53a50c416b2352263e7693", "ImageFuzzyHash":{ "Hash":"97e5789e252983c6" } } ], "EmbeddedObjects":[ { "FileType":"CL_TYPE_ZIPSFX", "Offset":51936, "ContainedObjects":[ { "FileName":"[Content_Types].xml", "FilePath":"/tmp/20240628_104429-scantemp.00ec2fe966/clamav-601b7993dacab3df3b8fc048a7f5dd2a.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":540, "FileMD5":"c9cbcd6f377d2c787064d8e5464412f1" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52240, "ContainedObjects":[ { "FileName":".rels", "FilePath":"/tmp/20240628_104429-scantemp.00ec2fe966/clamav-a389d8f0b85e1a1d82e9d59b468eb5f4.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":310, "FileMD5":"72721ae37030f210de7a73d75dbc33eb" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52473, "ContainedObjects":[ { "FileName":"themeManager.xml", "FilePath":"/tmp/20240628_104429-scantemp.00ec2fe966/clamav-d326ed43651617715549e2597dca963c.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":138, "FileMD5":"ad57ce056452726e5fb113fb8c6f229e" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52662, "ContainedObjects":[ { "FileName":"theme1.xml", "FilePath":"/tmp/20240628_104429-scantemp.00ec2fe966/clamav-f1d5a0a2389568e9b3ae800018e4e9e0.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":8112, "FileMD5":"d6519a9212444706e7cbda9fb2917083" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":54457, "ContainedObjects":[ { "FileName":"themeManager.xml.rels", "FilePath":"/tmp/20240628_104429-scantemp.00ec2fe966/clamav-d8790994e73d8bc09c1f85be087684cf.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":283, "FileMD5":"c8d47b0b4a92b9587777ef824be3c8c4" } ] } ] } LibClamAV debug: Bytecode executing hook id 260 (0 hooks) LibClamAV debug: Bytecode: no logical signature matched, no bytecode executed LibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Freeing phishcheck struct LibClamAV debug: Phishcheck cleaned up [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9895== Memcheck, a memory error detector [INFO]: ==9895== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9895== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9895== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/logo.png.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls --gen-json --debug --allmatch [INFO]: ==9895== Parent PID: 9803 [INFO]: ==9895== [INFO]: --9895-- [INFO]: --9895-- Valgrind options: [INFO]: --9895-- -v [INFO]: --9895-- --trace-children=yes [INFO]: --9895-- --track-fds=yes [INFO]: --9895-- --leak-check=full [INFO]: --9895-- --show-possibly-lost=no [INFO]: --9895-- --show-leak-kinds=definite [INFO]: --9895-- --errors-for-leak-kinds=definite [INFO]: --9895-- --main-stacksize=16777216 [INFO]: --9895-- --gen-suppressions=all [INFO]: --9895-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9895-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log [INFO]: --9895-- --error-exitcode=123 [INFO]: --9895-- Contents of /proc/version: [INFO]: --9895-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9895-- [INFO]: --9895-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9895-- Page sizes: currently 4096, max supported 4096 [INFO]: --9895-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9895-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9895-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9895-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9895-- might be shown as UnknownInlinedFun [INFO]: --9895-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9895-- object doesn't have a dynamic symbol table [INFO]: --9895-- Scheduler: using generic scheduler lock implementation. [INFO]: --9895-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9895-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9895== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9895-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9895== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9895-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9895== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9895-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9895== [INFO]: ==9895== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9895== don't want to do, unless you know exactly what you're doing, [INFO]: ==9895== or are doing some strange experiment): [INFO]: ==9895== /usr/libexec/valgrind/../../bin/vgdb --pid=9895 ...command... [INFO]: ==9895== [INFO]: ==9895== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9895== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9895== and then give GDB the following command [INFO]: ==9895== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9895 [INFO]: ==9895== --pid is optional if only one valgrind process is running [INFO]: ==9895== [INFO]: --9895-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9895-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9895-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9895-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9895-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9895-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9895-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9895-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9895-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9895-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9895-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9895-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9895-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9895-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9895-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9895-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9895-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9895-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9895-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9895== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9895== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9895== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9895== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9895-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9895-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9895-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9895-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9895-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9895-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9895-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9895-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9895-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9895-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9895-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9895-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9895-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9895-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9895-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9895-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9895-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9895-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9895-- Reading syms from /usr/lib64/gconv/CP1252.so [INFO]: ==9895== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9895== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9895== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9895== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9895== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9895== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9895== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9895== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9895== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9895== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9895== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9895== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9895== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9895== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9895== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9895== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9895== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9895== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9895== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9895== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9895== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9895== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9895== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9895== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9895== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9895== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9895== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9895== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9895== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9895== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9895== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9895== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9895== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9895== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9895== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9895== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9895== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9895== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9895== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9895== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9895== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9895== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9895== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9895== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9895== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9895== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9895== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9895== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9895== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9895== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9895== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9895== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9895== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9895== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9895== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9895== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: --9895-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9895-- Discarding syms at 0x5f0d100-0x5f0e150 in /usr/lib64/gconv/CP1252.so (have_dinfo 1) [INFO]: ==9895== [INFO]: ==9895== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9895== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log [INFO]: ==9895== [INFO]: ==9895== [INFO]: ==9895== (No origin, error cannot be suppressed) [INFO]: ==9895== [INFO]: ==9895== HEAP SUMMARY: [INFO]: ==9895== in use at exit: 23,256 bytes in 37 blocks [INFO]: ==9895== total heap usage: 7,183 allocs, 7,146 frees, 3,347,627 bytes allocated [INFO]: ==9895== [INFO]: ==9895== Searching for pointers to 37 not-freed blocks [INFO]: ==9895== Checked 4,457,808 bytes [INFO]: ==9895== [INFO]: ==9895== LEAK SUMMARY: [INFO]: ==9895== definitely lost: 0 bytes in 0 blocks [INFO]: ==9895== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9895== possibly lost: 608 bytes in 2 blocks [INFO]: ==9895== still reachable: 22,648 bytes in 35 blocks [INFO]: ==9895== suppressed: 0 bytes in 0 blocks [INFO]: ==9895== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9895== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9895== [INFO]: ==9895== Use --track-origins=yes to see where uninitialised values come from [INFO]: ==9895== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) [INFO]: ==9895== [INFO]: ==9895== 9 errors in context 1 of 2: [INFO]: ==9895== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9895== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9895== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9895== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9895== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9895== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9895== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9895== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9895== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9895== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9895== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9895== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9895== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9895== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9895== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9895== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9895== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9895== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9895== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9895== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9895== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9895== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9895== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9895== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9895== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9895== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9895== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9895== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9895== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9895== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9895== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9895== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9895== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9895== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9895== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9895== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9895== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9895== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9895== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9895== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9895== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9895== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9895== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9895== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9895== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9895== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9895== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9895== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9895== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9895== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9895== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9895== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9895== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9895== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9895== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9895== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9895== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1 _____________________ ERROR at teardown of TC.test_LDB_VI ______________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/match_offsets_test.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB VI feature [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/Clam-VI.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: Clam-VI-Test:Target.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: Clam-VI-Test:Target.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 2 Data scanned: 15.36 MB Data read: 6.91 MB (ratio 2.22:1) Time: 9.259 sec (0 m 9 s) Start Date: 2024:06:28 10:44:32 End Date: 2024:06:28 10:44:41 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9899== Memcheck, a memory error detector [INFO]: ==9899== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9899== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9899== Parent PID: 9803 [INFO]: ==9899== [INFO]: --9899-- [INFO]: --9899-- Valgrind options: [INFO]: --9899-- -v [INFO]: --9899-- --trace-children=yes [INFO]: --9899-- --track-fds=yes [INFO]: --9899-- --leak-check=full [INFO]: --9899-- --show-possibly-lost=no [INFO]: --9899-- --show-leak-kinds=definite [INFO]: --9899-- --errors-for-leak-kinds=definite [INFO]: --9899-- --main-stacksize=16777216 [INFO]: --9899-- --gen-suppressions=all [INFO]: --9899-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9899-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [INFO]: --9899-- --error-exitcode=123 [INFO]: --9899-- Contents of /proc/version: [INFO]: --9899-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9899-- [INFO]: --9899-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9899-- Page sizes: currently 4096, max supported 4096 [INFO]: --9899-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9899-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9899-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9899-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9899-- might be shown as UnknownInlinedFun [INFO]: --9899-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9899-- object doesn't have a dynamic symbol table [INFO]: --9899-- Scheduler: using generic scheduler lock implementation. [INFO]: --9899-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9899-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9899== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9899-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9899== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9899-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9899== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9899-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9899== [INFO]: ==9899== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9899== don't want to do, unless you know exactly what you're doing, [INFO]: ==9899== or are doing some strange experiment): [INFO]: ==9899== /usr/libexec/valgrind/../../bin/vgdb --pid=9899 ...command... [INFO]: ==9899== [INFO]: ==9899== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9899== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9899== and then give GDB the following command [INFO]: ==9899== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9899 [INFO]: ==9899== --pid is optional if only one valgrind process is running [INFO]: ==9899== [INFO]: --9899-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9899-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9899-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9899-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9899-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9899-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9899-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9899-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9899-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9899-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9899-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9899-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9899-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9899-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9899-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9899-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9899-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9899-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9899-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9899-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9899-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9899== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9899== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9899== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9899== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9899-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9899-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9899-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9899-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9899-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9899-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9899-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9899-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9899-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9899-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9899-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9899-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9899-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9899-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9899-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9899-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9899-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9899-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9899-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9899-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9899-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9899-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9899-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9899-- REDIR: 0x5209c40 (libc.so.6:__strcpy_chk) redirected to 0x484e740 (__strcpy_chk) [INFO]: --9899-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: --9899-- Discarding syms at 0x5f4d160-0x5f4e940 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9899== [INFO]: ==9899== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9899== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [INFO]: ==9899== [INFO]: ==9899== [INFO]: ==9899== (No origin, error cannot be suppressed) [INFO]: ==9899== [INFO]: ==9899== HEAP SUMMARY: [INFO]: ==9899== in use at exit: 1,059 bytes in 61 blocks [INFO]: ==9899== total heap usage: 13,561 allocs, 13,500 frees, 48,974,018 bytes allocated [INFO]: ==9899== [INFO]: ==9899== Searching for pointers to 61 not-freed blocks [INFO]: ==9899== Checked 280,880 bytes [INFO]: ==9899== [INFO]: ==9899== LEAK SUMMARY: [INFO]: ==9899== definitely lost: 0 bytes in 0 blocks [INFO]: ==9899== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9899== possibly lost: 0 bytes in 0 blocks [INFO]: ==9899== still reachable: 1,059 bytes in 61 blocks [INFO]: ==9899== suppressed: 0 bytes in 0 blocks [INFO]: ==9899== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9899== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9899== [INFO]: ==9899== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________ ERROR at teardown of TC.test_yara_at_offset __________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/match_offsets_test.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test yara signature - detect TAR file magic at an offset [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/yara-at-offset.yara /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: YARA.yara_at_offset.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: YARA.yara_at_offset.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: YARA.yara_at_offset.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 3 Data scanned: 20.95 MB Data read: 6.91 MB (ratio 3.03:1) Time: 12.511 sec (0 m 12 s) Start Date: 2024:06:28 10:44:42 End Date: 2024:06:28 10:44:54 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9901== Memcheck, a memory error detector [INFO]: ==9901== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9901== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9901== Parent PID: 9803 [INFO]: ==9901== [INFO]: --9901-- [INFO]: --9901-- Valgrind options: [INFO]: --9901-- -v [INFO]: --9901-- --trace-children=yes [INFO]: --9901-- --track-fds=yes [INFO]: --9901-- --leak-check=full [INFO]: --9901-- --show-possibly-lost=no [INFO]: --9901-- --show-leak-kinds=definite [INFO]: --9901-- --errors-for-leak-kinds=definite [INFO]: --9901-- --main-stacksize=16777216 [INFO]: --9901-- --gen-suppressions=all [INFO]: --9901-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9901-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [INFO]: --9901-- --error-exitcode=123 [INFO]: --9901-- Contents of /proc/version: [INFO]: --9901-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9901-- [INFO]: --9901-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9901-- Page sizes: currently 4096, max supported 4096 [INFO]: --9901-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9901-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9901-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9901-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9901-- might be shown as UnknownInlinedFun [INFO]: --9901-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9901-- object doesn't have a dynamic symbol table [INFO]: --9901-- Scheduler: using generic scheduler lock implementation. [INFO]: --9901-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9901-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9901== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9901-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9901== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9901-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9901== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9901-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9901== [INFO]: ==9901== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9901== don't want to do, unless you know exactly what you're doing, [INFO]: ==9901== or are doing some strange experiment): [INFO]: ==9901== /usr/libexec/valgrind/../../bin/vgdb --pid=9901 ...command... [INFO]: ==9901== [INFO]: ==9901== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9901== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9901== and then give GDB the following command [INFO]: ==9901== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9901 [INFO]: ==9901== --pid is optional if only one valgrind process is running [INFO]: ==9901== [INFO]: --9901-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9901-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9901-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9901-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9901-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9901-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9901-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9901-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9901-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9901-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9901-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9901-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9901-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9901-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9901-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9901-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9901-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9901-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9901-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9901== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9901== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9901== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9901== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9901-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9901-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9901-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9901-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9901-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9901-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9901-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9901-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9901-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9901-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9901-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9901-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9901-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9901-- REDIR: 0x5193210 (libc.so.6:strlcpy) redirected to 0x48474b0 (strlcpy) [INFO]: --9901-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9901-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9901-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9901-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9901-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9901-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9901-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9901-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9901-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9901-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9901-- REDIR: 0x5209c40 (libc.so.6:__strcpy_chk) redirected to 0x484e740 (__strcpy_chk) [INFO]: --9901-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9901== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9901== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9901== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9901== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9901== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9901== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9901== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9901== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9901== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9901== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9901== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9901== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9901== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9901== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9901== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9901== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9901== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9901== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9901== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9901== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9901== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9901== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9901== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9901== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9901== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9901== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9901== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9901== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9901== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9901== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9901== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9901== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9901== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9901== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9901== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9901== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9901== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9901== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9901== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9901== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9901== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9901== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9901== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9901== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9901== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9901== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9901== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9901== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9901== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9901== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9901== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9901== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9901== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9901== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9901== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9901== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: --9901-- Discarding syms at 0x5f4d160-0x5f4e940 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9901== [INFO]: ==9901== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9901== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [INFO]: ==9901== [INFO]: ==9901== [INFO]: ==9901== (No origin, error cannot be suppressed) [INFO]: ==9901== [INFO]: ==9901== HEAP SUMMARY: [INFO]: ==9901== in use at exit: 24,315 bytes in 98 blocks [INFO]: ==9901== total heap usage: 25,523 allocs, 25,425 frees, 59,695,472 bytes allocated [INFO]: ==9901== [INFO]: ==9901== Searching for pointers to 98 not-freed blocks [INFO]: ==9901== Checked 4,462,392 bytes [INFO]: ==9901== [INFO]: ==9901== LEAK SUMMARY: [INFO]: ==9901== definitely lost: 0 bytes in 0 blocks [INFO]: ==9901== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9901== possibly lost: 608 bytes in 2 blocks [INFO]: ==9901== still reachable: 23,707 bytes in 96 blocks [INFO]: ==9901== suppressed: 0 bytes in 0 blocks [INFO]: ==9901== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9901== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9901== [INFO]: ==9901== Use --track-origins=yes to see where uninitialised values come from [INFO]: ==9901== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) [INFO]: ==9901== [INFO]: ==9901== 9 errors in context 1 of 2: [INFO]: ==9901== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9901== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9901== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9901== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9901== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9901== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9901== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9901== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9901== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9901== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9901== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9901== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9901== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9901== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9901== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9901== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9901== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9901== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9901== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9901== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9901== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9901== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9901== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9901== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9901== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9901== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9901== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9901== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9901== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9901== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9901== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9901== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9901== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9901== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9901== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9901== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9901== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9901== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9901== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9901== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9901== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9901== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9901== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9901== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9901== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9901== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9901== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9901== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9901== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9901== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9901== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9901== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9901== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9901== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9901== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9901== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9901== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) __________________ ERROR at teardown of TC.test_yara_in_range __________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/match_offsets_test.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test yara signature - detect TAR file magic in a range [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/yara-in-range.yara /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: YARA.yara_in_range.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: YARA.yara_in_range.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: YARA.yara_in_range.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 3 Data scanned: 20.95 MB Data read: 6.91 MB (ratio 3.03:1) Time: 12.253 sec (0 m 12 s) Start Date: 2024:06:28 10:44:55 End Date: 2024:06:28 10:45:07 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9905== Memcheck, a memory error detector [INFO]: ==9905== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9905== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9905== Parent PID: 9803 [INFO]: ==9905== [INFO]: --9905-- [INFO]: --9905-- Valgrind options: [INFO]: --9905-- -v [INFO]: --9905-- --trace-children=yes [INFO]: --9905-- --track-fds=yes [INFO]: --9905-- --leak-check=full [INFO]: --9905-- --show-possibly-lost=no [INFO]: --9905-- --show-leak-kinds=definite [INFO]: --9905-- --errors-for-leak-kinds=definite [INFO]: --9905-- --main-stacksize=16777216 [INFO]: --9905-- --gen-suppressions=all [INFO]: --9905-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9905-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [INFO]: --9905-- --error-exitcode=123 [INFO]: --9905-- Contents of /proc/version: [INFO]: --9905-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9905-- [INFO]: --9905-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9905-- Page sizes: currently 4096, max supported 4096 [INFO]: --9905-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9905-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9905-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9905-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9905-- might be shown as UnknownInlinedFun [INFO]: --9905-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9905-- object doesn't have a dynamic symbol table [INFO]: --9905-- Scheduler: using generic scheduler lock implementation. [INFO]: --9905-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9905-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9905== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9905-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9905== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9905-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9905== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9905-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9905== [INFO]: ==9905== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9905== don't want to do, unless you know exactly what you're doing, [INFO]: ==9905== or are doing some strange experiment): [INFO]: ==9905== /usr/libexec/valgrind/../../bin/vgdb --pid=9905 ...command... [INFO]: ==9905== [INFO]: ==9905== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9905== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9905== and then give GDB the following command [INFO]: ==9905== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9905 [INFO]: ==9905== --pid is optional if only one valgrind process is running [INFO]: ==9905== [INFO]: --9905-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9905-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9905-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9905-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9905-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9905-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9905-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9905-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9905-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9905-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9905-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9905-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9905-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9905-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9905-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9905-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9905-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9905-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9905-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9905-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9905-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9905== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9905== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9905== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9905== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9905-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9905-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9905-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9905-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9905-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9905-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9905-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9905-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9905-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9905-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9905-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9905-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9905-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9905-- REDIR: 0x5193210 (libc.so.6:strlcpy) redirected to 0x48474b0 (strlcpy) [INFO]: --9905-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9905-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9905-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9905-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9905-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9905-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9905-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9905-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9905-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9905-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9905-- REDIR: 0x5209c40 (libc.so.6:__strcpy_chk) redirected to 0x484e740 (__strcpy_chk) [INFO]: --9905-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9905== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9905== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9905== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9905== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9905== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9905== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9905== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9905== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9905== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9905== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9905== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9905== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9905== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9905== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9905== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9905== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9905== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9905== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9905== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9905== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9905== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9905== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9905== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9905== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9905== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9905== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9905== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9905== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9905== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9905== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9905== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9905== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9905== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9905== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9905== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9905== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9905== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9905== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9905== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9905== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9905== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9905== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9905== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9905== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9905== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9905== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9905== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9905== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9905== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9905== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9905== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9905== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9905== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9905== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9905== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9905== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: --9905-- Discarding syms at 0x5f4d160-0x5f4e940 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9905== [INFO]: ==9905== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9905== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [INFO]: ==9905== [INFO]: ==9905== [INFO]: ==9905== (No origin, error cannot be suppressed) [INFO]: ==9905== [INFO]: ==9905== HEAP SUMMARY: [INFO]: ==9905== in use at exit: 24,315 bytes in 98 blocks [INFO]: ==9905== total heap usage: 25,523 allocs, 25,425 frees, 59,695,464 bytes allocated [INFO]: ==9905== [INFO]: ==9905== Searching for pointers to 98 not-freed blocks [INFO]: ==9905== Checked 4,462,600 bytes [INFO]: ==9905== [INFO]: ==9905== LEAK SUMMARY: [INFO]: ==9905== definitely lost: 0 bytes in 0 blocks [INFO]: ==9905== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9905== possibly lost: 608 bytes in 2 blocks [INFO]: ==9905== still reachable: 23,707 bytes in 96 blocks [INFO]: ==9905== suppressed: 0 bytes in 0 blocks [INFO]: ==9905== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9905== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9905== [INFO]: ==9905== Use --track-origins=yes to see where uninitialised values come from [INFO]: ==9905== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) [INFO]: ==9905== [INFO]: ==9905== 9 errors in context 1 of 2: [INFO]: ==9905== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9905== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9905== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9905== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9905== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9905== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9905== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9905== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9905== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9905== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9905== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9905== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9905== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9905== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9905== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9905== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9905== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9905== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9905== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9905== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9905== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9905== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9905== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9905== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9905== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9905== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9905== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9905== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9905== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9905== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9905== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9905== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9905== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9905== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9905== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9905== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9905== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9905== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9905== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9905== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9905== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9905== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9905== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9905== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9905== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9905== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9905== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9905== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9905== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9905== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9905== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9905== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9905== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9905== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9905== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9905== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9905== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi ___________________ ERROR at teardown of TC.test_not_enabled ___________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/phishing_test.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamscan will load the phishing sigs w/out issue [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/monitor-example-com.pdb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl: OK /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean: OK /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 3 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.527 sec (0 m 1 s) Start Date: 2024:06:28 10:45:08 End Date: 2024:06:28 10:45:10 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9909== Memcheck, a memory error detector [INFO]: ==9909== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9909== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9909== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/monitor-example-com.pdb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak [INFO]: ==9909== Parent PID: 9803 [INFO]: ==9909== [INFO]: --9909-- [INFO]: --9909-- Valgrind options: [INFO]: --9909-- -v [INFO]: --9909-- --trace-children=yes [INFO]: --9909-- --track-fds=yes [INFO]: --9909-- --leak-check=full [INFO]: --9909-- --show-possibly-lost=no [INFO]: --9909-- --show-leak-kinds=definite [INFO]: --9909-- --errors-for-leak-kinds=definite [INFO]: --9909-- --main-stacksize=16777216 [INFO]: --9909-- --gen-suppressions=all [INFO]: --9909-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9909-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log [INFO]: --9909-- --error-exitcode=123 [INFO]: --9909-- Contents of /proc/version: [INFO]: --9909-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9909-- [INFO]: --9909-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9909-- Page sizes: currently 4096, max supported 4096 [INFO]: --9909-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9909-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9909-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9909-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9909-- might be shown as UnknownInlinedFun [INFO]: --9909-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9909-- object doesn't have a dynamic symbol table [INFO]: --9909-- Scheduler: using generic scheduler lock implementation. [INFO]: --9909-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9909-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9909== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9909-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9909== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9909-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9909== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9909-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9909== [INFO]: ==9909== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9909== don't want to do, unless you know exactly what you're doing, [INFO]: ==9909== or are doing some strange experiment): [INFO]: ==9909== /usr/libexec/valgrind/../../bin/vgdb --pid=9909 ...command... [INFO]: ==9909== [INFO]: ==9909== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9909== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9909== and then give GDB the following command [INFO]: ==9909== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9909 [INFO]: ==9909== --pid is optional if only one valgrind process is running [INFO]: ==9909== [INFO]: --9909-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9909-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9909-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9909-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9909-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9909-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9909-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9909-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9909-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9909-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9909-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9909-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9909-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9909-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9909-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9909-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9909-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9909-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9909-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9909-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9909-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9909== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9909== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9909== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9909== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9909-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9909-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9909-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9909-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9909-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9909-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9909-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9909-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9909-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9909-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9909-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9909-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9909-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9909-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9909-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9909-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9909-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9909-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9909-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9909-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: ==9909== [INFO]: ==9909== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9909== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log [INFO]: ==9909== [INFO]: ==9909== [INFO]: ==9909== (No origin, error cannot be suppressed) [INFO]: ==9909== [INFO]: ==9909== HEAP SUMMARY: [INFO]: ==9909== in use at exit: 1,059 bytes in 61 blocks [INFO]: ==9909== total heap usage: 5,892 allocs, 5,831 frees, 1,251,684 bytes allocated [INFO]: ==9909== [INFO]: ==9909== Searching for pointers to 61 not-freed blocks [INFO]: ==9909== Checked 275,824 bytes [INFO]: ==9909== [INFO]: ==9909== LEAK SUMMARY: [INFO]: ==9909== definitely lost: 0 bytes in 0 blocks [INFO]: ==9909== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9909== possibly lost: 0 bytes in 0 blocks [INFO]: ==9909== still reachable: 1,059 bytes in 61 blocks [INFO]: ==9909== suppressed: 0 bytes in 0 blocks [INFO]: ==9909== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9909== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9909== [INFO]: ==9909== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________ ERROR at teardown of TC.test_ssl_and_cloak __________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/phishing_test.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test clamscan --alert-phishing-ssl --alert-phishing-cloak [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/monitor-example-com.pdb --alert-phishing-ssl --alert-phishing-cloak /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl: Heuristics.Phishing.Email.SSL-Spoof FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean: OK /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak: Heuristics.Phishing.Email.Cloaked.Null FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 3 Infected files: 2 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.602 sec (0 m 1 s) Start Date: 2024:06:28 10:45:11 End Date: 2024:06:28 10:45:12 [DEBUG]: stderr: LibClamAV info: Suspicious link found! LibClamAV info: Real URL: ssl-example.com LibClamAV info: Display URL: https://ssl-example.com LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://real-example.comfake.example.com LibClamAV info: Display URL: real-example.com [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9911== Memcheck, a memory error detector [INFO]: ==9911== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9911== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9911== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/monitor-example-com.pdb --alert-phishing-ssl --alert-phishing-cloak /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak [INFO]: ==9911== Parent PID: 9803 [INFO]: ==9911== [INFO]: --9911-- [INFO]: --9911-- Valgrind options: [INFO]: --9911-- -v [INFO]: --9911-- --trace-children=yes [INFO]: --9911-- --track-fds=yes [INFO]: --9911-- --leak-check=full [INFO]: --9911-- --show-possibly-lost=no [INFO]: --9911-- --show-leak-kinds=definite [INFO]: --9911-- --errors-for-leak-kinds=definite [INFO]: --9911-- --main-stacksize=16777216 [INFO]: --9911-- --gen-suppressions=all [INFO]: --9911-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9911-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log [INFO]: --9911-- --error-exitcode=123 [INFO]: --9911-- Contents of /proc/version: [INFO]: --9911-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9911-- [INFO]: --9911-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9911-- Page sizes: currently 4096, max supported 4096 [INFO]: --9911-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9911-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9911-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9911-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9911-- might be shown as UnknownInlinedFun [INFO]: --9911-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9911-- object doesn't have a dynamic symbol table [INFO]: --9911-- Scheduler: using generic scheduler lock implementation. [INFO]: --9911-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9911-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9911== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9911-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9911== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9911-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9911== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9911-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9911== [INFO]: ==9911== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9911== don't want to do, unless you know exactly what you're doing, [INFO]: ==9911== or are doing some strange experiment): [INFO]: ==9911== /usr/libexec/valgrind/../../bin/vgdb --pid=9911 ...command... [INFO]: ==9911== [INFO]: ==9911== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9911== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9911== and then give GDB the following command [INFO]: ==9911== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9911 [INFO]: ==9911== --pid is optional if only one valgrind process is running [INFO]: ==9911== [INFO]: --9911-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9911-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9911-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9911-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9911-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9911-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9911-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9911-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9911-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9911-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9911-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9911-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9911-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9911-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9911-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9911-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9911-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9911-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9911-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9911-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9911-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9911== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9911== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9911== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9911== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9911-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9911-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9911-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9911-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9911-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9911-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9911-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9911-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9911-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9911-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9911-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9911-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9911-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9911-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9911-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9911-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9911-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9911-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9911-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9911-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: ==9911== [INFO]: ==9911== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9911== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log [INFO]: ==9911== [INFO]: ==9911== [INFO]: ==9911== (No origin, error cannot be suppressed) [INFO]: ==9911== [INFO]: ==9911== HEAP SUMMARY: [INFO]: ==9911== in use at exit: 1,059 bytes in 61 blocks [INFO]: ==9911== total heap usage: 5,898 allocs, 5,837 frees, 1,252,229 bytes allocated [INFO]: ==9911== [INFO]: ==9911== Searching for pointers to 61 not-freed blocks [INFO]: ==9911== Checked 275,888 bytes [INFO]: ==9911== [INFO]: ==9911== LEAK SUMMARY: [INFO]: ==9911== definitely lost: 0 bytes in 0 blocks [INFO]: ==9911== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9911== possibly lost: 0 bytes in 0 blocks [INFO]: ==9911== still reachable: 1,059 bytes in 61 blocks [INFO]: ==9911== suppressed: 0 bytes in 0 blocks [INFO]: ==9911== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9911== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9911== [INFO]: ==9911== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti _________________ ERROR at teardown of TC.test_ldb_multi_pcre __________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB and Yara regex rules with / and : in the string work [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_multi_pcre.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_multi_pcre [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_multi_pcre: ldb_multi_pcre.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.373 sec (0 m 1 s) Start Date: 2024:06:28 10:45:13 End Date: 2024:06:28 10:45:15 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9913== Memcheck, a memory error detector [INFO]: ==9913== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9913== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9913== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_multi_pcre.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_multi_pcre [INFO]: ==9913== Parent PID: 9803 [INFO]: ==9913== [INFO]: --9913-- [INFO]: --9913-- Valgrind options: [INFO]: --9913-- -v [INFO]: --9913-- --trace-children=yes [INFO]: --9913-- --track-fds=yes [INFO]: --9913-- --leak-check=full [INFO]: --9913-- --show-possibly-lost=no [INFO]: --9913-- --show-leak-kinds=definite [INFO]: --9913-- --errors-for-leak-kinds=definite [INFO]: --9913-- --main-stacksize=16777216 [INFO]: --9913-- --gen-suppressions=all [INFO]: --9913-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9913-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: --9913-- --error-exitcode=123 [INFO]: --9913-- Contents of /proc/version: [INFO]: --9913-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9913-- [INFO]: --9913-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9913-- Page sizes: currently 4096, max supported 4096 [INFO]: --9913-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9913-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9913-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9913-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9913-- might be shown as UnknownInlinedFun [INFO]: --9913-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9913-- object doesn't have a dynamic symbol table [INFO]: --9913-- Scheduler: using generic scheduler lock implementation. [INFO]: --9913-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9913-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9913== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9913-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9913== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9913-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9913== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9913-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9913== [INFO]: ==9913== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9913== don't want to do, unless you know exactly what you're doing, [INFO]: ==9913== or are doing some strange experiment): [INFO]: ==9913== /usr/libexec/valgrind/../../bin/vgdb --pid=9913 ...command... [INFO]: ==9913== [INFO]: ==9913== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9913== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9913== and then give GDB the following command [INFO]: ==9913== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9913 [INFO]: ==9913== --pid is optional if only one valgrind process is running [INFO]: ==9913== [INFO]: --9913-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9913-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9913-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9913-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9913-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9913-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9913-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9913-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9913-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9913-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9913-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9913-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9913-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9913-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9913-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9913-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9913-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9913-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9913-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9913-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9913-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9913== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9913== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9913== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9913== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9913-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9913-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9913-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9913-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9913-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9913-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9913-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9913-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9913-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9913-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9913-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9913-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9913-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9913-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9913-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9913-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9913-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9913-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9913== [INFO]: ==9913== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9913== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: ==9913== [INFO]: ==9913== [INFO]: ==9913== (No origin, error cannot be suppressed) [INFO]: ==9913== [INFO]: ==9913== HEAP SUMMARY: [INFO]: ==9913== in use at exit: 0 bytes in 0 blocks [INFO]: ==9913== total heap usage: 5,372 allocs, 5,372 frees, 595,871 bytes allocated [INFO]: ==9913== [INFO]: ==9913== All heap blocks were freed -- no leaks are possible [INFO]: ==9913== [INFO]: ==9913== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________ ERROR at teardown of TC.test_ldb_offset_pcre _________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB regex rules with an offset [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_pcre_no_offset.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_offset_pcre [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_offset_pcre: ldb_pcre_no_offset.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.384 sec (0 m 1 s) Start Date: 2024:06:28 10:45:15 End Date: 2024:06:28 10:45:17 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9915== Memcheck, a memory error detector [INFO]: ==9915== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9915== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9915== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_pcre_no_offset.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_offset_pcre [INFO]: ==9915== Parent PID: 9803 [INFO]: ==9915== [INFO]: --9915-- [INFO]: --9915-- Valgrind options: [INFO]: --9915-- -v [INFO]: --9915-- --trace-children=yes [INFO]: --9915-- --track-fds=yes [INFO]: --9915-- --leak-check=full [INFO]: --9915-- --show-possibly-lost=no [INFO]: --9915-- --show-leak-kinds=definite [INFO]: --9915-- --errors-for-leak-kinds=definite [INFO]: --9915-- --main-stacksize=16777216 [INFO]: --9915-- --gen-suppressions=all [INFO]: --9915-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9915-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: --9915-- --error-exitcode=123 [INFO]: --9915-- Contents of /proc/version: [INFO]: --9915-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9915-- [INFO]: --9915-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9915-- Page sizes: currently 4096, max supported 4096 [INFO]: --9915-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9915-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9915-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9915-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9915-- might be shown as UnknownInlinedFun [INFO]: --9915-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9915-- object doesn't have a dynamic symbol table [INFO]: --9915-- Scheduler: using generic scheduler lock implementation. [INFO]: --9915-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9915-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9915== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9915-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9915== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9915-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9915== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9915-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9915== [INFO]: ==9915== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9915== don't want to do, unless you know exactly what you're doing, [INFO]: ==9915== or are doing some strange experiment): [INFO]: ==9915== /usr/libexec/valgrind/../../bin/vgdb --pid=9915 ...command... [INFO]: ==9915== [INFO]: ==9915== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9915== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9915== and then give GDB the following command [INFO]: ==9915== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9915 [INFO]: ==9915== --pid is optional if only one valgrind process is running [INFO]: ==9915== [INFO]: --9915-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9915-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9915-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9915-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9915-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9915-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9915-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9915-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9915-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9915-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9915-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9915-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9915-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9915-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9915-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9915-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9915-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9915-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9915-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9915-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9915-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9915== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9915== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9915== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9915== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9915-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9915-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9915-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9915-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9915-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9915-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9915-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9915-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9915-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9915-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9915-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9915-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9915-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9915-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9915-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9915-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9915-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9915-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9915== [INFO]: ==9915== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9915== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: ==9915== [INFO]: ==9915== [INFO]: ==9915== (No origin, error cannot be suppressed) [INFO]: ==9915== [INFO]: ==9915== HEAP SUMMARY: [INFO]: ==9915== in use at exit: 0 bytes in 0 blocks [INFO]: ==9915== total heap usage: 5,364 allocs, 5,364 frees, 574,912 bytes allocated [INFO]: ==9915== [INFO]: ==9915== All heap blocks were freed -- no leaks are possible [INFO]: ==9915== [INFO]: ==9915== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________ ERROR at teardown of TC.test_pcre_flag ____________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB regex rules with case insensitive flag [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_pcre_case.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_pcre_flag [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_pcre_flag: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.387 sec (0 m 1 s) Start Date: 2024:06:28 10:45:18 End Date: 2024:06:28 10:45:19 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9917== Memcheck, a memory error detector [INFO]: ==9917== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9917== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9917== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_pcre_case.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_pcre_flag [INFO]: ==9917== Parent PID: 9803 [INFO]: ==9917== [INFO]: --9917-- [INFO]: --9917-- Valgrind options: [INFO]: --9917-- -v [INFO]: --9917-- --trace-children=yes [INFO]: --9917-- --track-fds=yes [INFO]: --9917-- --leak-check=full [INFO]: --9917-- --show-possibly-lost=no [INFO]: --9917-- --show-leak-kinds=definite [INFO]: --9917-- --errors-for-leak-kinds=definite [INFO]: --9917-- --main-stacksize=16777216 [INFO]: --9917-- --gen-suppressions=all [INFO]: --9917-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9917-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: --9917-- --error-exitcode=123 [INFO]: --9917-- Contents of /proc/version: [INFO]: --9917-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9917-- [INFO]: --9917-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9917-- Page sizes: currently 4096, max supported 4096 [INFO]: --9917-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9917-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9917-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9917-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9917-- might be shown as UnknownInlinedFun [INFO]: --9917-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9917-- object doesn't have a dynamic symbol table [INFO]: --9917-- Scheduler: using generic scheduler lock implementation. [INFO]: --9917-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9917-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9917== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9917-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9917== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9917-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9917== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9917-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9917== [INFO]: ==9917== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9917== don't want to do, unless you know exactly what you're doing, [INFO]: ==9917== or are doing some strange experiment): [INFO]: ==9917== /usr/libexec/valgrind/../../bin/vgdb --pid=9917 ...command... [INFO]: ==9917== [INFO]: ==9917== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9917== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9917== and then give GDB the following command [INFO]: ==9917== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9917 [INFO]: ==9917== --pid is optional if only one valgrind process is running [INFO]: ==9917== [INFO]: --9917-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9917-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9917-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9917-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9917-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9917-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9917-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9917-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9917-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9917-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9917-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9917-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9917-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9917-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9917-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9917-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9917-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9917-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9917-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9917-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9917-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9917== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9917== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9917== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9917== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9917-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9917-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9917-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9917-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9917-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9917-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9917-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9917-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9917-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9917-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9917-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9917-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9917-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9917-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9917-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9917-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9917-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9917-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9917== [INFO]: ==9917== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9917== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: ==9917== [INFO]: ==9917== [INFO]: ==9917== (No origin, error cannot be suppressed) [INFO]: ==9917== [INFO]: ==9917== HEAP SUMMARY: [INFO]: ==9917== in use at exit: 0 bytes in 0 blocks [INFO]: ==9917== total heap usage: 5,361 allocs, 5,361 frees, 574,606 bytes allocated [INFO]: ==9917== [INFO]: ==9917== All heap blocks were freed -- no leaks are possible [INFO]: ==9917== [INFO]: ==9917== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ___________________ ERROR at teardown of TC.test_slash_colon ___________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB and Yara regex rules with / and : in the string work [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex-slash-colon.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex-slash-colon.sample [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex-slash-colon.sample: regex.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.379 sec (0 m 1 s) Start Date: 2024:06:28 10:45:20 End Date: 2024:06:28 10:45:21 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9919== Memcheck, a memory error detector [INFO]: ==9919== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9919== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9919== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex-slash-colon.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex-slash-colon.sample [INFO]: ==9919== Parent PID: 9803 [INFO]: ==9919== [INFO]: --9919-- [INFO]: --9919-- Valgrind options: [INFO]: --9919-- -v [INFO]: --9919-- --trace-children=yes [INFO]: --9919-- --track-fds=yes [INFO]: --9919-- --leak-check=full [INFO]: --9919-- --show-possibly-lost=no [INFO]: --9919-- --show-leak-kinds=definite [INFO]: --9919-- --errors-for-leak-kinds=definite [INFO]: --9919-- --main-stacksize=16777216 [INFO]: --9919-- --gen-suppressions=all [INFO]: --9919-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9919-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: --9919-- --error-exitcode=123 [INFO]: --9919-- Contents of /proc/version: [INFO]: --9919-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9919-- [INFO]: --9919-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9919-- Page sizes: currently 4096, max supported 4096 [INFO]: --9919-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9919-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9919-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9919-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9919-- might be shown as UnknownInlinedFun [INFO]: --9919-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9919-- object doesn't have a dynamic symbol table [INFO]: --9919-- Scheduler: using generic scheduler lock implementation. [INFO]: --9919-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9919-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9919== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9919-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9919== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9919-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9919== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9919-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9919== [INFO]: ==9919== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9919== don't want to do, unless you know exactly what you're doing, [INFO]: ==9919== or are doing some strange experiment): [INFO]: ==9919== /usr/libexec/valgrind/../../bin/vgdb --pid=9919 ...command... [INFO]: ==9919== [INFO]: ==9919== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9919== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9919== and then give GDB the following command [INFO]: ==9919== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9919 [INFO]: ==9919== --pid is optional if only one valgrind process is running [INFO]: ==9919== [INFO]: --9919-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9919-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9919-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9919-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9919-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9919-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9919-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9919-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9919-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9919-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9919-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9919-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9919-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9919-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9919-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9919-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9919-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9919-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9919-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9919== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9919== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9919== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9919== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9919-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9919-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9919-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9919-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9919-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9919-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9919-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9919-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9919-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9919-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9919-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9919-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9919-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9919-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9919-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9919-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9919-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9919-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9919== [INFO]: ==9919== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9919== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: ==9919== [INFO]: ==9919== [INFO]: ==9919== (No origin, error cannot be suppressed) [INFO]: ==9919== [INFO]: ==9919== HEAP SUMMARY: [INFO]: ==9919== in use at exit: 0 bytes in 0 blocks [INFO]: ==9919== total heap usage: 5,383 allocs, 5,383 frees, 576,883 bytes allocated [INFO]: ==9919== [INFO]: ==9919== All heap blocks were freed -- no leaks are possible [INFO]: ==9919== [INFO]: ==9919== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________ ERROR at teardown of TC.test_yara _______________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/regex_test.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test yara signature - detect TAR file magic in a range [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex.yara /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex.sample [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex.sample: YARA.regex.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.432 sec (0 m 1 s) Start Date: 2024:06:28 10:45:22 End Date: 2024:06:28 10:45:24 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9921== Memcheck, a memory error detector [INFO]: ==9921== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9921== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9921== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex.yara /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex.sample [INFO]: ==9921== Parent PID: 9803 [INFO]: ==9921== [INFO]: --9921-- [INFO]: --9921-- Valgrind options: [INFO]: --9921-- -v [INFO]: --9921-- --trace-children=yes [INFO]: --9921-- --track-fds=yes [INFO]: --9921-- --leak-check=full [INFO]: --9921-- --show-possibly-lost=no [INFO]: --9921-- --show-leak-kinds=definite [INFO]: --9921-- --errors-for-leak-kinds=definite [INFO]: --9921-- --main-stacksize=16777216 [INFO]: --9921-- --gen-suppressions=all [INFO]: --9921-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9921-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: --9921-- --error-exitcode=123 [INFO]: --9921-- Contents of /proc/version: [INFO]: --9921-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9921-- [INFO]: --9921-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9921-- Page sizes: currently 4096, max supported 4096 [INFO]: --9921-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9921-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9921-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9921-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9921-- might be shown as UnknownInlinedFun [INFO]: --9921-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9921-- object doesn't have a dynamic symbol table [INFO]: --9921-- Scheduler: using generic scheduler lock implementation. [INFO]: --9921-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9921-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9921== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9921-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9921== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9921-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9921== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9921-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9921== [INFO]: ==9921== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9921== don't want to do, unless you know exactly what you're doing, [INFO]: ==9921== or are doing some strange experiment): [INFO]: ==9921== /usr/libexec/valgrind/../../bin/vgdb --pid=9921 ...command... [INFO]: ==9921== [INFO]: ==9921== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9921== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9921== and then give GDB the following command [INFO]: ==9921== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9921 [INFO]: ==9921== --pid is optional if only one valgrind process is running [INFO]: ==9921== [INFO]: --9921-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9921-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9921-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9921-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9921-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9921-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9921-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9921-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9921-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9921-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9921-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9921-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9921-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9921-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9921-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9921-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9921-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9921-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9921-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9921== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9921== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9921== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9921== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9921-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9921-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9921-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9921-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9921-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9921-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9921-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9921-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9921-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9921-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9921-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9921-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9921-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9921-- REDIR: 0x5193210 (libc.so.6:strlcpy) redirected to 0x48474b0 (strlcpy) [INFO]: --9921-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9921-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9921-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9921-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9921-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9921== [INFO]: ==9921== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9921== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: ==9921== [INFO]: ==9921== [INFO]: ==9921== (No origin, error cannot be suppressed) [INFO]: ==9921== [INFO]: ==9921== HEAP SUMMARY: [INFO]: ==9921== in use at exit: 0 bytes in 0 blocks [INFO]: ==9921== total heap usage: 5,446 allocs, 5,446 frees, 983,406 bytes allocated [INFO]: ==9921== [INFO]: ==9921== All heap blocks were freed -- no leaks are possible [INFO]: ==9921== [INFO]: ==9921== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van =================================== FAILURES =================================== ______________________________ TC.test_00_version ______________________________ self = <_basic_test.TC testMethod=test_00_version> def test_00_version(self): self.step_name('clamscan version test') command = '{valgrind} {valgrind_args} {clamscan} -V'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan ) output = self.execute_command(command) > assert output.ec == 0 # success E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='ClamAV 1.0.6\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/_basic_test.py:49: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: clamscan version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9809== Memcheck, a memory error detector [INFO]: ==9809== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9809== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9809== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [INFO]: ==9809== Parent PID: 9803 [INFO]: ==9809== [INFO]: --9809-- [INFO]: --9809-- Valgrind options: [INFO]: --9809-- -v [INFO]: --9809-- --trace-children=yes [INFO]: --9809-- --track-fds=yes [INFO]: --9809-- --leak-check=full [INFO]: --9809-- --show-possibly-lost=no [INFO]: --9809-- --show-leak-kinds=definite [INFO]: --9809-- --errors-for-leak-kinds=definite [INFO]: --9809-- --main-stacksize=16777216 [INFO]: --9809-- --gen-suppressions=all [INFO]: --9809-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9809-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [INFO]: --9809-- --error-exitcode=123 [INFO]: --9809-- Contents of /proc/version: [INFO]: --9809-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9809-- [INFO]: --9809-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9809-- Page sizes: currently 4096, max supported 4096 [INFO]: --9809-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9809-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9809-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9809-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9809-- might be shown as UnknownInlinedFun [INFO]: --9809-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9809-- object doesn't have a dynamic symbol table [INFO]: --9809-- Scheduler: using generic scheduler lock implementation. [INFO]: --9809-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9809-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9809== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9809-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9809== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9809-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9809== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9809-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9809== [INFO]: ==9809== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9809== don't want to do, unless you know exactly what you're doing, [INFO]: ==9809== or are doing some strange experiment): [INFO]: ==9809== /usr/libexec/valgrind/../../bin/vgdb --pid=9809 ...command... [INFO]: ==9809== [INFO]: ==9809== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9809== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9809== and then give GDB the following command [INFO]: ==9809== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9809 [INFO]: ==9809== --pid is optional if only one valgrind process is running [INFO]: ==9809== [INFO]: --9809-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9809-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9809-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9809-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9809-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9809-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9809-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9809-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9809-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9809-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9809-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9809-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9809-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9809-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9809-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9809-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9809-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9809-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9809-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9809-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9809-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9809== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9809== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9809== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9809== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9809-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9809-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9809-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9809-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9809-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9809-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9809-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9809-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9809-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9809-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: ==9809== [INFO]: ==9809== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9809== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [INFO]: ==9809== [INFO]: ==9809== [INFO]: ==9809== (No origin, error cannot be suppressed) [INFO]: ==9809== [INFO]: ==9809== HEAP SUMMARY: [INFO]: ==9809== in use at exit: 0 bytes in 0 blocks [INFO]: ==9809== total heap usage: 369 allocs, 369 frees, 27,014 bytes allocated [INFO]: ==9809== [INFO]: ==9809== All heap blocks were freed -- no leaks are possible [INFO]: ==9809== [INFO]: ==9809== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ___________________________ TC.test_01_all_testfiles ___________________________ self = <_basic_test.TC testMethod=test_01_all_testfiles> def test_01_all_testfiles(self): self.step_name('Test that clamscan alerts on all test files') testfiles = ' '.join([str(testpath) for testpath in TC.testpaths]) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_db / 'clamav.hdb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/in...amAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 47\nInfected files: 47\nData scanned: 14.05 MB\nData read: 6.91 MB (ratio 2.03:1)\nTime: 9.916 sec (0 m 9 s)\nStart Date: 2024:06:28 10:42:24\nEnd Date: 2024:06:28 10:42:34\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/_basic_test.py:68: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamscan alerts on all test files [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/database/clamav.hdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 47 Data scanned: 14.05 MB Data read: 6.91 MB (ratio 2.03:1) Time: 9.916 sec (0 m 9 s) Start Date: 2024:06:28 10:42:24 End Date: 2024:06:28 10:42:34 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9811== Memcheck, a memory error detector [INFO]: ==9811== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9811== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9811== Parent PID: 9803 [INFO]: ==9811== [INFO]: --9811-- [INFO]: --9811-- Valgrind options: [INFO]: --9811-- -v [INFO]: --9811-- --trace-children=yes [INFO]: --9811-- --track-fds=yes [INFO]: --9811-- --leak-check=full [INFO]: --9811-- --show-possibly-lost=no [INFO]: --9811-- --show-leak-kinds=definite [INFO]: --9811-- --errors-for-leak-kinds=definite [INFO]: --9811-- --main-stacksize=16777216 [INFO]: --9811-- --gen-suppressions=all [INFO]: --9811-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9811-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [INFO]: --9811-- --error-exitcode=123 [INFO]: --9811-- Contents of /proc/version: [INFO]: --9811-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9811-- [INFO]: --9811-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9811-- Page sizes: currently 4096, max supported 4096 [INFO]: --9811-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9811-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9811-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9811-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9811-- might be shown as UnknownInlinedFun [INFO]: --9811-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9811-- object doesn't have a dynamic symbol table [INFO]: --9811-- Scheduler: using generic scheduler lock implementation. [INFO]: --9811-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9811-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9811== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9811-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9811== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9811-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9811== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9811-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9811== [INFO]: ==9811== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9811== don't want to do, unless you know exactly what you're doing, [INFO]: ==9811== or are doing some strange experiment): [INFO]: ==9811== /usr/libexec/valgrind/../../bin/vgdb --pid=9811 ...command... [INFO]: ==9811== [INFO]: ==9811== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9811== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9811== and then give GDB the following command [INFO]: ==9811== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9811 [INFO]: ==9811== --pid is optional if only one valgrind process is running [INFO]: ==9811== [INFO]: --9811-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9811-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9811-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9811-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9811-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9811-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9811-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9811-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9811-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9811-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9811-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9811-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9811-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9811-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9811-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9811-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9811-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9811-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9811-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9811-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9811-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9811== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9811== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9811== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9811== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9811-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9811-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9811-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9811-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9811-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9811-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9811-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9811-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9811-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9811-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9811-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9811-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9811-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9811-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9811-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9811-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9811-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9811-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9811-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9811-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9811-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9811-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9811-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9811-- REDIR: 0x5209c40 (libc.so.6:__strcpy_chk) redirected to 0x484e740 (__strcpy_chk) [INFO]: --9811-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9811== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9811== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9811== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9811== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9811== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9811== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9811== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9811== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9811== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9811== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9811== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9811== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9811== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9811== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9811== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9811== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9811== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9811== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9811== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9811== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9811== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9811== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9811== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9811== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9811== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9811== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9811== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9811== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9811== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9811== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9811== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9811== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9811== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9811== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9811== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9811== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9811== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9811== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9811== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9811== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9811== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9811== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9811== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9811== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9811== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9811== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9811== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9811== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9811== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9811== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9811== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9811== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9811== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9811== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9811== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9811== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: --9811-- Discarding syms at 0x5f4d160-0x5f4e940 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9811== [INFO]: ==9811== FILE DESCRIPTORS: 5 open (3 std) at exit. [INFO]: ==9811== Open file descriptor 5: /tmp/20240628_104227-scantemp.a3fa1cbd6a/ole2-tmp.b4234d593a/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9811== at 0x51EE408: open (in /usr/lib64/libc.so.6) [INFO]: ==9811== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9811== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9811== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9811== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9811== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9811== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9811== by 0x49827F9: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9811== by 0x11ADB1: scanfile (manager.c:411) [INFO]: ==9811== by 0x116001: UnknownInlinedFun (manager.c:1018) [INFO]: ==9811== by 0x116001: UnknownInlinedFun (manager.c:1625) [INFO]: ==9811== by 0x116001: main (clamscan.c:171) [INFO]: ==9811== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:scanfile [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:main [INFO]: } [INFO]: ==9811== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [INFO]: ==9811== [INFO]: ==9811== [INFO]: ==9811== (No origin, error cannot be suppressed) [INFO]: ==9811== [INFO]: ==9811== HEAP SUMMARY: [INFO]: ==9811== in use at exit: 24,315 bytes in 98 blocks [INFO]: ==9811== total heap usage: 17,006 allocs, 16,908 frees, 50,731,618 bytes allocated [INFO]: ==9811== [INFO]: ==9811== Searching for pointers to 98 not-freed blocks [INFO]: ==9811== Checked 4,462,472 bytes [INFO]: ==9811== [INFO]: ==9811== LEAK SUMMARY: [INFO]: ==9811== definitely lost: 0 bytes in 0 blocks [INFO]: ==9811== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9811== possibly lost: 608 bytes in 2 blocks [INFO]: ==9811== still reachable: 23,707 bytes in 96 blocks [INFO]: ==9811== suppressed: 0 bytes in 0 blocks [INFO]: ==9811== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9811== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9811== [INFO]: ==9811== Use --track-origins=yes to see where uninitialised values come from [INFO]: ==9811== ERROR SUMMARY: 11 errors from 3 contexts (suppressed: 0 from 0) [INFO]: ==9811== [INFO]: ==9811== 9 errors in context 1 of 3: [INFO]: ==9811== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9811== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9811== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9811== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9811== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9811== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9811== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9811== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9811== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9811== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9811== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9811== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9811== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9811== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9811== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9811== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9811== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9811== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9811== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9811== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9811== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9811== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9811== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9811== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9811== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9811== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9811== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9811== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9811== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9811== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9811== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9811== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9811== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9811== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9811== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9811== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9811== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9811== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9811== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9811== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9811== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9811== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9811== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9811== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9811== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9811== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9811== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9811== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9811== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9811== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9811== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9811== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9811== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9811== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9811== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9811== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9811== ERROR SUMMARY: 11 errors from 3 contexts (suppressed: 0 from 0) ________________________ TC.test_02_all_testfiles_ign2 _________________________ self = <_basic_test.TC testMethod=test_02_all_testfiles_ign2> def test_02_all_testfiles_ign2(self): self.step_name('Test that clamscan ignores ClamAV-Test-File alerts') # Drop an ignore db into the test database directory # in our scan, we'll just use the whole directory, which should load the ignore db *first*. (TC.path_db / 'clamav.ign2').write_text('ClamAV-Test-File\n') testfiles = ' '.join([str(testpath) for testpath in TC.testpaths]) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_db, testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 0 # virus found E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam...ilddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 0\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 47\nInfected files: 0\nData scanned: 21.06 MB\nData read: 6.91 MB (ratio 3.05:1)\nTime: 12.845 sec (0 m 12 s)\nStart Date: 2024:06:28 10:42:35\nEnd Date: 2024:06:28 10:42:48\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/_basic_test.py:91: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamscan ignores ClamAV-Test-File alerts [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 0 Data scanned: 21.06 MB Data read: 6.91 MB (ratio 3.05:1) Time: 12.845 sec (0 m 12 s) Start Date: 2024:06:28 10:42:35 End Date: 2024:06:28 10:42:48 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9815== Memcheck, a memory error detector [INFO]: ==9815== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9815== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9815== Parent PID: 9803 [INFO]: ==9815== [INFO]: --9815-- [INFO]: --9815-- Valgrind options: [INFO]: --9815-- -v [INFO]: --9815-- --trace-children=yes [INFO]: --9815-- --track-fds=yes [INFO]: --9815-- --leak-check=full [INFO]: --9815-- --show-possibly-lost=no [INFO]: --9815-- --show-leak-kinds=definite [INFO]: --9815-- --errors-for-leak-kinds=definite [INFO]: --9815-- --main-stacksize=16777216 [INFO]: --9815-- --gen-suppressions=all [INFO]: --9815-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9815-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [INFO]: --9815-- --error-exitcode=123 [INFO]: --9815-- Contents of /proc/version: [INFO]: --9815-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9815-- [INFO]: --9815-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9815-- Page sizes: currently 4096, max supported 4096 [INFO]: --9815-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9815-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9815-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9815-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9815-- might be shown as UnknownInlinedFun [INFO]: --9815-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9815-- object doesn't have a dynamic symbol table [INFO]: --9815-- Scheduler: using generic scheduler lock implementation. [INFO]: --9815-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9815-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9815== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9815-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9815== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9815-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9815== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9815-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9815== [INFO]: ==9815== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9815== don't want to do, unless you know exactly what you're doing, [INFO]: ==9815== or are doing some strange experiment): [INFO]: ==9815== /usr/libexec/valgrind/../../bin/vgdb --pid=9815 ...command... [INFO]: ==9815== [INFO]: ==9815== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9815== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9815== and then give GDB the following command [INFO]: ==9815== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9815 [INFO]: ==9815== --pid is optional if only one valgrind process is running [INFO]: ==9815== [INFO]: --9815-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9815-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9815-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9815-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9815-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9815-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9815-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9815-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9815-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9815-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9815-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9815-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9815-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9815-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9815-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9815-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9815-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9815-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9815-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9815-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9815-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9815== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9815== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9815== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9815== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9815-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9815-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9815-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9815-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9815-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9815-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9815-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9815-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9815-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9815-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9815-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9815-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9815-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9815-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9815-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9815-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9815-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9815-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9815-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9815-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9815-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9815-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9815-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9815-- REDIR: 0x5209c40 (libc.so.6:__strcpy_chk) redirected to 0x484e740 (__strcpy_chk) [INFO]: --9815-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9815== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9815== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9815== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9815== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9815== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9815== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9815== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9815== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9815== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9815== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9815== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9815== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9815== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9815== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9815== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9815== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9815== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9815== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9815== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9815== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9815== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9815== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9815== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9815== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9815== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9815== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9815== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9815== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9815== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9815== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9815== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9815== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9815== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9815== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9815== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9815== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9815== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9815== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9815== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9815== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9815== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9815== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9815== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9815== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9815== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9815== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9815== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9815== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9815== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9815== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9815== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9815== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9815== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9815== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9815== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9815== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: --9815-- Discarding syms at 0x5f4d160-0x5f4e940 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9815== [INFO]: ==9815== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9815== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zrcm5ezz/valgrind.log [INFO]: ==9815== [INFO]: ==9815== [INFO]: ==9815== (No origin, error cannot be suppressed) [INFO]: ==9815== [INFO]: ==9815== HEAP SUMMARY: [INFO]: ==9815== in use at exit: 24,315 bytes in 98 blocks [INFO]: ==9815== total heap usage: 19,903 allocs, 19,805 frees, 59,306,919 bytes allocated [INFO]: ==9815== [INFO]: ==9815== Searching for pointers to 98 not-freed blocks [INFO]: ==9815== Checked 4,462,216 bytes [INFO]: ==9815== [INFO]: ==9815== LEAK SUMMARY: [INFO]: ==9815== definitely lost: 0 bytes in 0 blocks [INFO]: ==9815== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9815== possibly lost: 608 bytes in 2 blocks [INFO]: ==9815== still reachable: 23,707 bytes in 96 blocks [INFO]: ==9815== suppressed: 0 bytes in 0 blocks [INFO]: ==9815== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9815== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9815== [INFO]: ==9815== Use --track-origins=yes to see where uninitialised values come from [INFO]: ==9815== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) [INFO]: ==9815== [INFO]: ==9815== 9 errors in context 1 of 2: [INFO]: ==9815== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9815== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9815== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9815== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9815== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9815== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9815== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9815== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9815== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9815== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9815== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9815== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9815== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9815== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9815== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9815== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9815== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9815== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9815== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9815== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9815== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9815== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9815== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9815== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9815== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9815== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9815== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9815== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9815== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9815== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9815== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9815== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9815== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9815== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9815== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9815== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9815== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9815== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9815== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9815== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9815== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9815== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9815== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9815== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9815== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9815== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9815== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9815== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9815== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9815== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9815== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9815== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9815== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9815== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9815== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9815== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9815== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) _______________________ TC.test_exe_imphash_plus_zipsfx ________________________ self = def test_exe_imphash_plus_zipsfx(self): self.step_name('Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with an imp-hash sig.') # We can't use the hash sig for this clam.exe program because the hash goes out the window when we concatenate on the zip. (TC.path_tmp / 'clam.imp').write_text( "98c88d882f01a3f6ac1e5f7dfd761624:39:Test.Import.Hash\n" ) # Build a file that is the clam.exe program with a zip concatinated on that contains the not_eicar test string file. clam_exe = TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe' not_eicar_zip = TC.path_tmp / 'not-eicar.zip' with ZipFile(str(not_eicar_zip), 'w', ZIP_DEFLATED) as zf: zf.writestr('not-eicar.txt', b"CLAMAV-TEST-STRING-NOT-EICAR") testfile = TC.path_tmp / 'clam.exe.not_eicar.zipsfx' testfile.write_bytes(clam_exe.read_bytes() + not_eicar_zip.read_bytes()) command = '{valgrind} {valgrind_args} {clamscan} -d {clam_exe_db} -d {not_eicar_db} --allmatch {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, clam_exe_db=TC.path_tmp / 'clam.imp', not_eicar_db=TC.path_source / 'unit_tests' / 'input' / 'other_sigs' / 'Clamav-Unit-Test-Signature.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx: Test.Import.Hash.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 2\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.514 sec (0 m 1 s)\nStart Date: 2024:06:28 10:42:49\nEnd Date: 2024:06:28 10:42:50\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:238: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with an imp-hash sig. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.imp -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx: Test.Import.Hash.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.514 sec (0 m 1 s) Start Date: 2024:06:28 10:42:49 End Date: 2024:06:28 10:42:50 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9821== Memcheck, a memory error detector [INFO]: ==9821== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9821== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9821== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.imp -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx [INFO]: ==9821== Parent PID: 9803 [INFO]: ==9821== [INFO]: --9821-- [INFO]: --9821-- Valgrind options: [INFO]: --9821-- -v [INFO]: --9821-- --trace-children=yes [INFO]: --9821-- --track-fds=yes [INFO]: --9821-- --leak-check=full [INFO]: --9821-- --show-possibly-lost=no [INFO]: --9821-- --show-leak-kinds=definite [INFO]: --9821-- --errors-for-leak-kinds=definite [INFO]: --9821-- --main-stacksize=16777216 [INFO]: --9821-- --gen-suppressions=all [INFO]: --9821-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9821-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: --9821-- --error-exitcode=123 [INFO]: --9821-- Contents of /proc/version: [INFO]: --9821-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9821-- [INFO]: --9821-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9821-- Page sizes: currently 4096, max supported 4096 [INFO]: --9821-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9821-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9821-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9821-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9821-- might be shown as UnknownInlinedFun [INFO]: --9821-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9821-- object doesn't have a dynamic symbol table [INFO]: --9821-- Scheduler: using generic scheduler lock implementation. [INFO]: --9821-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9821-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9821== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9821-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9821== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9821-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9821== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9821-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9821== [INFO]: ==9821== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9821== don't want to do, unless you know exactly what you're doing, [INFO]: ==9821== or are doing some strange experiment): [INFO]: ==9821== /usr/libexec/valgrind/../../bin/vgdb --pid=9821 ...command... [INFO]: ==9821== [INFO]: ==9821== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9821== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9821== and then give GDB the following command [INFO]: ==9821== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9821 [INFO]: ==9821== --pid is optional if only one valgrind process is running [INFO]: ==9821== [INFO]: --9821-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9821-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9821-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9821-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9821-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9821-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9821-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9821-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9821-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9821-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9821-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9821-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9821-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9821-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9821-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9821-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9821-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9821-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9821-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9821-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9821-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9821== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9821== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9821== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9821== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9821-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9821-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9821-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9821-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9821-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9821-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9821-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9821-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9821-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9821-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9821-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9821-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9821-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9821-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9821-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9821-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9821-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9821-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9821-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9821-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9821-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: ==9821== [INFO]: ==9821== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9821== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: ==9821== [INFO]: ==9821== [INFO]: ==9821== (No origin, error cannot be suppressed) [INFO]: ==9821== [INFO]: ==9821== HEAP SUMMARY: [INFO]: ==9821== in use at exit: 0 bytes in 0 blocks [INFO]: ==9821== total heap usage: 5,399 allocs, 5,399 frees, 742,060 bytes allocated [INFO]: ==9821== [INFO]: ==9821== All heap blocks were freed -- no leaks are possible [INFO]: ==9821== [INFO]: ==9821== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________________ TC.test_exe_pattern_plus_zipsfx ________________________ self = def test_exe_pattern_plus_zipsfx(self): self.step_name('Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with a pattern-match sig.') # This tests a regression where clam will fail to extract the embedded zip file if the pattern-match sig matches before the embedded file type sig. # Build a file that is the clam.exe program with a zip concatinated on that contains the not_eicar test string file. clam_exe = TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe' not_eicar_zip = TC.path_tmp / 'not-eicar.zip' with ZipFile(str(not_eicar_zip), 'w', ZIP_DEFLATED) as zf: zf.writestr('not-eicar.txt', b"CLAMAV-TEST-STRING-NOT-EICAR") testfile = TC.path_tmp / 'clam.exe.not_eicar.zipsfx' testfile.write_bytes(clam_exe.read_bytes() + not_eicar_zip.read_bytes()) command = '{valgrind} {valgrind_args} {clamscan} -d {clam_exe_db} -d {not_eicar_db} --allmatch {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, # We can't use the hash sig for this clam.exe program because the hash goes out the window when we concatenate on the zip. clam_exe_db=TC.path_db / 'clam.ndb', not_eicar_db=TC.path_source / 'unit_tests' / 'input' / 'other_sigs' / 'Clamav-Unit-Test-Signature.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx: Test.NDB.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 2\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.467 sec (0 m 1 s)\nStart Date: 2024:06:28 10:42:51\nEnd Date: 2024:06:28 10:42:53\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:269: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with a pattern-match sig. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/database/clam.ndb -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx: Test.NDB.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.467 sec (0 m 1 s) Start Date: 2024:06:28 10:42:51 End Date: 2024:06:28 10:42:53 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9823== Memcheck, a memory error detector [INFO]: ==9823== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9823== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9823== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/database/clam.ndb -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/clam.exe.not_eicar.zipsfx [INFO]: ==9823== Parent PID: 9803 [INFO]: ==9823== [INFO]: --9823-- [INFO]: --9823-- Valgrind options: [INFO]: --9823-- -v [INFO]: --9823-- --trace-children=yes [INFO]: --9823-- --track-fds=yes [INFO]: --9823-- --leak-check=full [INFO]: --9823-- --show-possibly-lost=no [INFO]: --9823-- --show-leak-kinds=definite [INFO]: --9823-- --errors-for-leak-kinds=definite [INFO]: --9823-- --main-stacksize=16777216 [INFO]: --9823-- --gen-suppressions=all [INFO]: --9823-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9823-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: --9823-- --error-exitcode=123 [INFO]: --9823-- Contents of /proc/version: [INFO]: --9823-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9823-- [INFO]: --9823-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9823-- Page sizes: currently 4096, max supported 4096 [INFO]: --9823-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9823-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9823-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9823-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9823-- might be shown as UnknownInlinedFun [INFO]: --9823-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9823-- object doesn't have a dynamic symbol table [INFO]: --9823-- Scheduler: using generic scheduler lock implementation. [INFO]: --9823-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9823-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9823== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9823-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9823== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9823-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9823== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9823-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9823== [INFO]: ==9823== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9823== don't want to do, unless you know exactly what you're doing, [INFO]: ==9823== or are doing some strange experiment): [INFO]: ==9823== /usr/libexec/valgrind/../../bin/vgdb --pid=9823 ...command... [INFO]: ==9823== [INFO]: ==9823== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9823== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9823== and then give GDB the following command [INFO]: ==9823== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9823 [INFO]: ==9823== --pid is optional if only one valgrind process is running [INFO]: ==9823== [INFO]: --9823-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9823-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9823-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9823-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9823-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9823-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9823-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9823-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9823-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9823-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9823-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9823-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9823-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9823-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9823-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9823-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9823-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9823-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9823-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9823-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9823-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9823== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9823== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9823== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9823== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9823-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9823-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9823-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9823-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9823-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9823-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9823-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9823-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9823-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9823-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9823-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9823-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9823-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9823-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9823-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9823-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9823-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9823-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9823-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9823-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9823== [INFO]: ==9823== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9823== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: ==9823== [INFO]: ==9823== [INFO]: ==9823== (No origin, error cannot be suppressed) [INFO]: ==9823== [INFO]: ==9823== HEAP SUMMARY: [INFO]: ==9823== in use at exit: 0 bytes in 0 blocks [INFO]: ==9823== total heap usage: 5,390 allocs, 5,390 frees, 741,791 bytes allocated [INFO]: ==9823== [INFO]: ==9823== All heap blocks were freed -- no leaks are possible [INFO]: ==9823== [INFO]: ==9823== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________________ TC.test_many_sigs _______________________________ self = def test_many_sigs(self): self.step_name('Test that each type of sig alerts in all-match mode') testfiles = TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe' command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_db, testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.NDB.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.MD5.Hash.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.MD5.Hash.NoSize.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha1.Hash.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha1.NoSize.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha256.Hash.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha256.Hash.NoSize.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.LDB.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.PESection.Hash.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.PESection.Hash.NoSize.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.NoSize.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 12\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.563 sec (0 m 1 s)\nStart Date: 2024:06:28 10:42:54\nEnd Date: 2024:06:28 10:42:55\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:72: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that each type of sig alerts in all-match mode [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.NDB.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.MD5.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.MD5.Hash.NoSize.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha1.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha1.NoSize.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha256.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha256.Hash.NoSize.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.LDB.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.PESection.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.PESection.Hash.NoSize.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.NoSize.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 12 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.563 sec (0 m 1 s) Start Date: 2024:06:28 10:42:54 End Date: 2024:06:28 10:42:55 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9825== Memcheck, a memory error detector [INFO]: ==9825== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9825== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9825== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe --allmatch [INFO]: ==9825== Parent PID: 9803 [INFO]: ==9825== [INFO]: --9825-- [INFO]: --9825-- Valgrind options: [INFO]: --9825-- -v [INFO]: --9825-- --trace-children=yes [INFO]: --9825-- --track-fds=yes [INFO]: --9825-- --leak-check=full [INFO]: --9825-- --show-possibly-lost=no [INFO]: --9825-- --show-leak-kinds=definite [INFO]: --9825-- --errors-for-leak-kinds=definite [INFO]: --9825-- --main-stacksize=16777216 [INFO]: --9825-- --gen-suppressions=all [INFO]: --9825-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9825-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: --9825-- --error-exitcode=123 [INFO]: --9825-- Contents of /proc/version: [INFO]: --9825-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9825-- [INFO]: --9825-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9825-- Page sizes: currently 4096, max supported 4096 [INFO]: --9825-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9825-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9825-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9825-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9825-- might be shown as UnknownInlinedFun [INFO]: --9825-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9825-- object doesn't have a dynamic symbol table [INFO]: --9825-- Scheduler: using generic scheduler lock implementation. [INFO]: --9825-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9825-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9825== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9825-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9825== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9825-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9825== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9825-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9825== [INFO]: ==9825== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9825== don't want to do, unless you know exactly what you're doing, [INFO]: ==9825== or are doing some strange experiment): [INFO]: ==9825== /usr/libexec/valgrind/../../bin/vgdb --pid=9825 ...command... [INFO]: ==9825== [INFO]: ==9825== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9825== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9825== and then give GDB the following command [INFO]: ==9825== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9825 [INFO]: ==9825== --pid is optional if only one valgrind process is running [INFO]: ==9825== [INFO]: --9825-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9825-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9825-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9825-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9825-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9825-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9825-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9825-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9825-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9825-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9825-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9825-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9825-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9825-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9825-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9825-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9825-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9825-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9825-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9825-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9825-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9825== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9825== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9825== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9825== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9825-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9825-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9825-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9825-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9825-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9825-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9825-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9825-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9825-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9825-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9825-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9825-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9825-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9825-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9825-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9825-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9825-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9825-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9825-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9825-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: ==9825== [INFO]: ==9825== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9825== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: ==9825== [INFO]: ==9825== [INFO]: ==9825== (No origin, error cannot be suppressed) [INFO]: ==9825== [INFO]: ==9825== HEAP SUMMARY: [INFO]: ==9825== in use at exit: 0 bytes in 0 blocks [INFO]: ==9825== total heap usage: 5,431 allocs, 5,431 frees, 638,308 bytes allocated [INFO]: ==9825== [INFO]: ==9825== All heap blocks were freed -- no leaks are possible [INFO]: ==9825== [INFO]: ==9825== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ________________________ TC.test_many_sigs_no_allmatch _________________________ self = def test_many_sigs_no_allmatch(self): self.step_name('Test that only one sig alerts when not using all-match mode') testfiles = TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe' command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_db, testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.NDB.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 12\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.382 sec (0 m 1 s)\nStart Date: 2024:06:28 10:42:56\nEnd Date: 2024:06:28 10:42:57\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:102: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that only one sig alerts when not using all-match mode [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.NDB.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 12 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.382 sec (0 m 1 s) Start Date: 2024:06:28 10:42:56 End Date: 2024:06:28 10:42:57 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9827== Memcheck, a memory error detector [INFO]: ==9827== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9827== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9827== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [INFO]: ==9827== Parent PID: 9803 [INFO]: ==9827== [INFO]: --9827-- [INFO]: --9827-- Valgrind options: [INFO]: --9827-- -v [INFO]: --9827-- --trace-children=yes [INFO]: --9827-- --track-fds=yes [INFO]: --9827-- --leak-check=full [INFO]: --9827-- --show-possibly-lost=no [INFO]: --9827-- --show-leak-kinds=definite [INFO]: --9827-- --errors-for-leak-kinds=definite [INFO]: --9827-- --main-stacksize=16777216 [INFO]: --9827-- --gen-suppressions=all [INFO]: --9827-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9827-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: --9827-- --error-exitcode=123 [INFO]: --9827-- Contents of /proc/version: [INFO]: --9827-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9827-- [INFO]: --9827-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9827-- Page sizes: currently 4096, max supported 4096 [INFO]: --9827-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9827-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9827-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9827-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9827-- might be shown as UnknownInlinedFun [INFO]: --9827-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9827-- object doesn't have a dynamic symbol table [INFO]: --9827-- Scheduler: using generic scheduler lock implementation. [INFO]: --9827-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9827-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9827== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9827-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9827== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9827-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9827== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9827-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9827== [INFO]: ==9827== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9827== don't want to do, unless you know exactly what you're doing, [INFO]: ==9827== or are doing some strange experiment): [INFO]: ==9827== /usr/libexec/valgrind/../../bin/vgdb --pid=9827 ...command... [INFO]: ==9827== [INFO]: ==9827== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9827== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9827== and then give GDB the following command [INFO]: ==9827== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9827 [INFO]: ==9827== --pid is optional if only one valgrind process is running [INFO]: ==9827== [INFO]: --9827-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9827-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9827-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9827-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9827-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9827-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9827-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9827-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9827-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9827-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9827-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9827-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9827-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9827-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9827-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9827-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9827-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9827-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9827-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9827-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9827-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9827== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9827== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9827== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9827== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9827-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9827-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9827-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9827-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9827-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9827-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9827-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9827-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9827-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9827-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9827-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9827-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9827-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9827-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9827-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9827-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9827-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9827-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9827-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9827== [INFO]: ==9827== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9827== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: ==9827== [INFO]: ==9827== [INFO]: ==9827== (No origin, error cannot be suppressed) [INFO]: ==9827== [INFO]: ==9827== HEAP SUMMARY: [INFO]: ==9827== in use at exit: 0 bytes in 0 blocks [INFO]: ==9827== total heap usage: 5,387 allocs, 5,387 frees, 633,100 bytes allocated [INFO]: ==9827== [INFO]: ==9827== All heap blocks were freed -- no leaks are possible [INFO]: ==9827== [INFO]: ==9827== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _____________________________ TC.test_pe_allmatch ______________________________ self = def test_pe_allmatch(self): self.step_name('Test that clam will detect a string in test.exe with a wide variety of signatures written or generated for the file.') # The sig set and test.exe for test set was written by one of our threat researchers to test the allmatch option. # Overall, it's much more thorough than previous tests, but some of the tests are duplicates of the previous tests. # TODO: The section signatures are not working as written, hence the "broken_dbs" directory. # There is a known issue with relative offset signatures when using the Boyer-Moore matcher. The sigs work if using the Aho-Corasick matcher. # When we fix section signatures, we can move them to the alerting sigs directory and update this test. test_path = TC.path_source / 'unit_tests' / 'input' / 'pe_allmatch' test_exe = test_path / 'test.exe' command = '{valgrind} {valgrind_args} {clamscan} \ -d {alerting_dbs} \ -d {weak_dbs} \ -d {broken_dbs} \ -d {block_cert_dbs} \ --allmatch --bytecode-unsigned {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, alerting_dbs=test_path / 'alert-sigs', block_cert_dbs=test_path / 'block-cert-sigs', weak_dbs=test_path / 'weak-sigs', broken_dbs=test_path / 'broken-sigs', testfiles=test_exe, ) output = self.execute_command(command) > assert output.ec == 1 E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.CRB.BlockCert FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_11of22_PE_EP_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_13of22_PE_S1_EXACT_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_18of22_PE_EP_testexe_1.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_20of22_PE_S1_EXACT_testexe_1.UNOFFICIAL FOUND\n/b...OFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 90\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 10.85 MB\nData read: 1.38 MB (ratio 7.87:1)\nTime: 5.893 sec (0 m 5 s)\nStart Date: 2024:06:28 10:42:58\nEnd Date: 2024:06:28 10:43:04\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:305: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will detect a string in test.exe with a wide variety of signatures written or generated for the file. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/alert-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/weak-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/broken-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/block-cert-sigs --allmatch --bytecode-unsigned /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.CRB.BlockCert FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_11of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_13of22_PE_S1_EXACT_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_18of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_20of22_PE_S1_EXACT_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_01of22_companyname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_02of22_filedescription.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_03of22_fileversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_04of22_internalname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_05of22_legalcopyright.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_06of22_originalfilename.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_07of22_productname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_08of22_productversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_1of2_MD5_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_2of2_MD5_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_1of4_SHA1_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_2of4_SHA1_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_3of4_SHA256_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_4of4_SHA256_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.LDB_1of2_PE_ICON_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_3of6_PE_REG_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.LDB_2of2_PE_ICON_2.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_4of6_PE_REG_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_1of6_ANY_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_2of6_ANY_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_3of6_PE_REG_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_4of6_PE_REG_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_1of6_ANY_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_2of6_ANY_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_01of16_MD5_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_02of16_MD5_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_01of32_SHA1_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_02of32_SHA1_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_17of32_SHA256_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_18of32_SHA256_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_03of16_MD5_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_04of16_MD5_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_03of32_SHA1_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_04of32_SHA1_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_19of32_SHA256_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_20of32_SHA256_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_05of16_MD5_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_06of16_MD5_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_05of32_SHA1_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_06of32_SHA1_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_21of32_SHA256_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_22of32_SHA256_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_09of16_MD5_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_10of16_MD5_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_09of32_SHA1_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_10of32_SHA1_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_25of32_SHA256_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_26of32_SHA256_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_15of16_MD5_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_16of16_MD5_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_15of32_SHA1_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_16of32_SHA1_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_31of32_SHA256_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_32of32_SHA256_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND ----------- SCAN SUMMARY ----------- Known viruses: 90 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 10.85 MB Data read: 1.38 MB (ratio 7.87:1) Time: 5.893 sec (0 m 5 s) Start Date: 2024:06:28 10:42:58 End Date: 2024:06:28 10:43:04 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9829== Memcheck, a memory error detector [INFO]: ==9829== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9829== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9829== Parent PID: 9803 [INFO]: ==9829== [INFO]: --9829-- [INFO]: --9829-- Valgrind options: [INFO]: --9829-- -v [INFO]: --9829-- --trace-children=yes [INFO]: --9829-- --track-fds=yes [INFO]: --9829-- --leak-check=full [INFO]: --9829-- --show-possibly-lost=no [INFO]: --9829-- --show-leak-kinds=definite [INFO]: --9829-- --errors-for-leak-kinds=definite [INFO]: --9829-- --main-stacksize=16777216 [INFO]: --9829-- --gen-suppressions=all [INFO]: --9829-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9829-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: --9829-- --error-exitcode=123 [INFO]: --9829-- Contents of /proc/version: [INFO]: --9829-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9829-- [INFO]: --9829-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9829-- Page sizes: currently 4096, max supported 4096 [INFO]: --9829-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9829-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9829-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9829-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9829-- might be shown as UnknownInlinedFun [INFO]: --9829-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9829-- object doesn't have a dynamic symbol table [INFO]: --9829-- Scheduler: using generic scheduler lock implementation. [INFO]: --9829-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9829-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9829== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9829-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9829== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9829-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9829== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9829-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9829== [INFO]: ==9829== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9829== don't want to do, unless you know exactly what you're doing, [INFO]: ==9829== or are doing some strange experiment): [INFO]: ==9829== /usr/libexec/valgrind/../../bin/vgdb --pid=9829 ...command... [INFO]: ==9829== [INFO]: ==9829== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9829== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9829== and then give GDB the following command [INFO]: ==9829== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9829 [INFO]: ==9829== --pid is optional if only one valgrind process is running [INFO]: ==9829== [INFO]: --9829-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9829-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9829-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9829-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9829-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9829-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9829-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9829-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9829-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9829-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9829-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9829-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9829-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9829-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9829-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9829-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9829-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9829-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9829-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9829-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9829-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9829== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9829== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9829== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9829== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9829-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9829-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9829-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9829-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9829-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9829-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9829-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9829-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9829-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9829-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9829-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9829-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9829-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9829-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9829-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9829-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9829-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9829-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9829-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9829-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: ==9829== [INFO]: ==9829== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9829== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: ==9829== [INFO]: ==9829== [INFO]: ==9829== (No origin, error cannot be suppressed) [INFO]: ==9829== [INFO]: ==9829== HEAP SUMMARY: [INFO]: ==9829== in use at exit: 0 bytes in 0 blocks [INFO]: ==9829== total heap usage: 9,393 allocs, 9,393 frees, 3,805,480 bytes allocated [INFO]: ==9829== [INFO]: ==9829== All heap blocks were freed -- no leaks are possible [INFO]: ==9829== [INFO]: ==9829== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ________________________ TC.test_regression_cbc_and_ndb ________________________ self = def test_regression_cbc_and_ndb(self): self.step_name('Test that bytecode rules will run after content match alerts in all-match mode.') # Source for ClamAV-Unit-Test_Signature.cbc # ```c # VIRUSNAME_PREFIX("BC.Clamav-Unit-Test-Signature") # VIRUSNAMES("") # TARGET(0) # FUNCTIONALITY_LEVEL_MIN(FUNC_LEVEL_096_4) # SIGNATURES_DECL_BEGIN # DECLARE_SIGNATURE(test_string) # SIGNATURES_DECL_END # SIGNATURES_DEF_BEGIN # /* matches "CLAMAV-TEST-STRING-NOT-EICAR" */ # DEFINE_SIGNATURE(test_string, "0:434c414d41562d544553542d535452494e472d4e4f542d4549434152") # SIGNATURES_DEF_END # bool logical_trigger() # { # return matches(Signatures.test_string); # } # int entrypoint(void) # { # foundVirus(""); # return 0; # } # ``` testfile = TC.path_tmp / 'CLAMAV-TEST-STRING-NOT-EICAR' (testfile).write_text( "CLAMAV-TEST-STRING-NOT-EICAR" ) command = '{valgrind} {valgrind_args} {clamscan} -d {cbc_db} -d {ndb_db} --bytecode-unsigned --allmatch {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, cbc_db=TC.path_source / 'unit_tests' / 'input' / 'bytecode_sigs' / 'Clamav-Unit-Test-Signature.cbc', ndb_db=TC.path_source / 'unit_tests' / 'input' / 'other_sigs' / 'Clamav-Unit-Test-Signature.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/CLAMAV-TEST-STRING-NOT-EICAR: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/CLAMAV-TEST-STRING-NOT-EICAR: BC.Clamav-Unit-Test-Signature FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 2\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.521 sec (0 m 1 s)\nStart Date: 2024:06:28 10:43:05\nEnd Date: 2024:06:28 10:43:07\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:179: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that bytecode rules will run after content match alerts in all-match mode. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/bytecode_sigs/Clamav-Unit-Test-Signature.cbc -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --bytecode-unsigned --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/CLAMAV-TEST-STRING-NOT-EICAR [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/CLAMAV-TEST-STRING-NOT-EICAR: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/CLAMAV-TEST-STRING-NOT-EICAR: BC.Clamav-Unit-Test-Signature FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.521 sec (0 m 1 s) Start Date: 2024:06:28 10:43:05 End Date: 2024:06:28 10:43:07 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9831== Memcheck, a memory error detector [INFO]: ==9831== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9831== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9831== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/bytecode_sigs/Clamav-Unit-Test-Signature.cbc -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --bytecode-unsigned --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/CLAMAV-TEST-STRING-NOT-EICAR [INFO]: ==9831== Parent PID: 9803 [INFO]: ==9831== [INFO]: --9831-- [INFO]: --9831-- Valgrind options: [INFO]: --9831-- -v [INFO]: --9831-- --trace-children=yes [INFO]: --9831-- --track-fds=yes [INFO]: --9831-- --leak-check=full [INFO]: --9831-- --show-possibly-lost=no [INFO]: --9831-- --show-leak-kinds=definite [INFO]: --9831-- --errors-for-leak-kinds=definite [INFO]: --9831-- --main-stacksize=16777216 [INFO]: --9831-- --gen-suppressions=all [INFO]: --9831-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9831-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: --9831-- --error-exitcode=123 [INFO]: --9831-- Contents of /proc/version: [INFO]: --9831-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9831-- [INFO]: --9831-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9831-- Page sizes: currently 4096, max supported 4096 [INFO]: --9831-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9831-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9831-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9831-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9831-- might be shown as UnknownInlinedFun [INFO]: --9831-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9831-- object doesn't have a dynamic symbol table [INFO]: --9831-- Scheduler: using generic scheduler lock implementation. [INFO]: --9831-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9831-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9831== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9831-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9831== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9831-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9831== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9831-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9831== [INFO]: ==9831== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9831== don't want to do, unless you know exactly what you're doing, [INFO]: ==9831== or are doing some strange experiment): [INFO]: ==9831== /usr/libexec/valgrind/../../bin/vgdb --pid=9831 ...command... [INFO]: ==9831== [INFO]: ==9831== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9831== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9831== and then give GDB the following command [INFO]: ==9831== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9831 [INFO]: ==9831== --pid is optional if only one valgrind process is running [INFO]: ==9831== [INFO]: --9831-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9831-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9831-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9831-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9831-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9831-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9831-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9831-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9831-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9831-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9831-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9831-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9831-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9831-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9831-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9831-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9831-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9831-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9831-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9831-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9831-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9831== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9831== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9831== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9831== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9831-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9831-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9831-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9831-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9831-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9831-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9831-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9831-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9831-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9831-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9831-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9831-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9831-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9831-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9831-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9831-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9831-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9831-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9831-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9831== [INFO]: ==9831== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9831== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: ==9831== [INFO]: ==9831== [INFO]: ==9831== (No origin, error cannot be suppressed) [INFO]: ==9831== [INFO]: ==9831== HEAP SUMMARY: [INFO]: ==9831== in use at exit: 0 bytes in 0 blocks [INFO]: ==9831== total heap usage: 5,751 allocs, 5,751 frees, 930,715 bytes allocated [INFO]: ==9831== [INFO]: ==9831== All heap blocks were freed -- no leaks are possible [INFO]: ==9831== [INFO]: ==9831== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________ TC.test_regression_imphash_nosize _______________________ self = def test_regression_imphash_nosize(self): self.step_name('Test an import hash with wildcard size when all-match mode is disabled.') db_dir = TC.path_db / 'allmatch-regression-test-sigs' os.mkdir(str(db_dir)) (db_dir / 'clam.imp').write_text( "98c88d882f01a3f6ac1e5f7dfd761624:*:Test.Import.Hash.NoSize\n" ) testfiles = TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe' command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=db_dir / 'clam.imp', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.NoSize.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.449 sec (0 m 1 s)\nStart Date: 2024:06:28 10:43:08\nEnd Date: 2024:06:28 10:43:09\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:126: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test an import hash with wildcard size when all-match mode is disabled. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/database/allmatch-regression-test-sigs/clam.imp /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.NoSize.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.449 sec (0 m 1 s) Start Date: 2024:06:28 10:43:08 End Date: 2024:06:28 10:43:09 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9833== Memcheck, a memory error detector [INFO]: ==9833== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9833== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9833== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/database/allmatch-regression-test-sigs/clam.imp /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [INFO]: ==9833== Parent PID: 9803 [INFO]: ==9833== [INFO]: --9833-- [INFO]: --9833-- Valgrind options: [INFO]: --9833-- -v [INFO]: --9833-- --trace-children=yes [INFO]: --9833-- --track-fds=yes [INFO]: --9833-- --leak-check=full [INFO]: --9833-- --show-possibly-lost=no [INFO]: --9833-- --show-leak-kinds=definite [INFO]: --9833-- --errors-for-leak-kinds=definite [INFO]: --9833-- --main-stacksize=16777216 [INFO]: --9833-- --gen-suppressions=all [INFO]: --9833-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9833-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: --9833-- --error-exitcode=123 [INFO]: --9833-- Contents of /proc/version: [INFO]: --9833-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9833-- [INFO]: --9833-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9833-- Page sizes: currently 4096, max supported 4096 [INFO]: --9833-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9833-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9833-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9833-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9833-- might be shown as UnknownInlinedFun [INFO]: --9833-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9833-- object doesn't have a dynamic symbol table [INFO]: --9833-- Scheduler: using generic scheduler lock implementation. [INFO]: --9833-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9833-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9833== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9833-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9833== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9833-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9833== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9833-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9833== [INFO]: ==9833== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9833== don't want to do, unless you know exactly what you're doing, [INFO]: ==9833== or are doing some strange experiment): [INFO]: ==9833== /usr/libexec/valgrind/../../bin/vgdb --pid=9833 ...command... [INFO]: ==9833== [INFO]: ==9833== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9833== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9833== and then give GDB the following command [INFO]: ==9833== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9833 [INFO]: ==9833== --pid is optional if only one valgrind process is running [INFO]: ==9833== [INFO]: --9833-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9833-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9833-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9833-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9833-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9833-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9833-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9833-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9833-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9833-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9833-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9833-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9833-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9833-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9833-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9833-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9833-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9833-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9833-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9833-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9833-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9833== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9833== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9833== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9833== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9833-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9833-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9833-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9833-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9833-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9833-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9833-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9833-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9833-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9833-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9833-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9833-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9833-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9833-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9833-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9833-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9833-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9833-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9833-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: ==9833== [INFO]: ==9833== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9833== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: ==9833== [INFO]: ==9833== [INFO]: ==9833== (No origin, error cannot be suppressed) [INFO]: ==9833== [INFO]: ==9833== HEAP SUMMARY: [INFO]: ==9833== in use at exit: 0 bytes in 0 blocks [INFO]: ==9833== total heap usage: 5,358 allocs, 5,358 frees, 556,232 bytes allocated [INFO]: ==9833== [INFO]: ==9833== All heap blocks were freed -- no leaks are possible [INFO]: ==9833== [INFO]: ==9833== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________ TC.test_txt_plus_clam_zipsfx _________________________ self = def test_txt_plus_clam_zipsfx(self): self.step_name('Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with a hash sig.') testfile = TC.path_tmp / 'test-string-cat-clam.exe.txt' clamzip = TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.zip' testfile.write_bytes(b"CLAMAV-TEST-STRING-NOT-EICAR" + clamzip.read_bytes()) command = '{valgrind} {valgrind_args} {clamscan} -d {clam_exe_db} -d {not_eicar_db} --allmatch {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, clam_exe_db=TC.path_source / 'unit_tests' / 'input' / 'clamav.hdb', not_eicar_db=TC.path_source / 'unit_tests' / 'input' / 'other_sigs' / 'Clamav-Unit-Test-Signature.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/test-string-cat-clam.exe.txt: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/test-string-cat-clam.exe.txt: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/test-string-cat-clam.exe.txt: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 2\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.507 sec (0 m 1 s)\nStart Date: 2024:06:28 10:43:10\nEnd Date: 2024:06:28 10:43:11\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:204: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with a hash sig. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav.hdb -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/test-string-cat-clam.exe.txt [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/test-string-cat-clam.exe.txt: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/test-string-cat-clam.exe.txt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/test-string-cat-clam.exe.txt: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.507 sec (0 m 1 s) Start Date: 2024:06:28 10:43:10 End Date: 2024:06:28 10:43:11 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9835== Memcheck, a memory error detector [INFO]: ==9835== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9835== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9835== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav.hdb -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/test-string-cat-clam.exe.txt [INFO]: ==9835== Parent PID: 9803 [INFO]: ==9835== [INFO]: --9835-- [INFO]: --9835-- Valgrind options: [INFO]: --9835-- -v [INFO]: --9835-- --trace-children=yes [INFO]: --9835-- --track-fds=yes [INFO]: --9835-- --leak-check=full [INFO]: --9835-- --show-possibly-lost=no [INFO]: --9835-- --show-leak-kinds=definite [INFO]: --9835-- --errors-for-leak-kinds=definite [INFO]: --9835-- --main-stacksize=16777216 [INFO]: --9835-- --gen-suppressions=all [INFO]: --9835-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9835-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: --9835-- --error-exitcode=123 [INFO]: --9835-- Contents of /proc/version: [INFO]: --9835-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9835-- [INFO]: --9835-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9835-- Page sizes: currently 4096, max supported 4096 [INFO]: --9835-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9835-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9835-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9835-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9835-- might be shown as UnknownInlinedFun [INFO]: --9835-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9835-- object doesn't have a dynamic symbol table [INFO]: --9835-- Scheduler: using generic scheduler lock implementation. [INFO]: --9835-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9835-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9835== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9835-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9835== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9835-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9835== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9835-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9835== [INFO]: ==9835== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9835== don't want to do, unless you know exactly what you're doing, [INFO]: ==9835== or are doing some strange experiment): [INFO]: ==9835== /usr/libexec/valgrind/../../bin/vgdb --pid=9835 ...command... [INFO]: ==9835== [INFO]: ==9835== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9835== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9835== and then give GDB the following command [INFO]: ==9835== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9835 [INFO]: ==9835== --pid is optional if only one valgrind process is running [INFO]: ==9835== [INFO]: --9835-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9835-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9835-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9835-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9835-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9835-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9835-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9835-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9835-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9835-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9835-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9835-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9835-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9835-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9835-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9835-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9835-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9835-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9835-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9835-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9835-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9835== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9835== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9835== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9835== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9835-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9835-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9835-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9835-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9835-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9835-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9835-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9835-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9835-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9835-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9835-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9835-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9835-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9835-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9835-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9835-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9835-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9835-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9835-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9835-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9835== [INFO]: ==9835== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9835== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-1wk2lwrk/valgrind.log [INFO]: ==9835== [INFO]: ==9835== [INFO]: ==9835== (No origin, error cannot be suppressed) [INFO]: ==9835== [INFO]: ==9835== HEAP SUMMARY: [INFO]: ==9835== in use at exit: 0 bytes in 0 blocks [INFO]: ==9835== total heap usage: 5,396 allocs, 5,396 frees, 611,472 bytes allocated [INFO]: ==9835== [INFO]: ==9835== All heap blocks were freed -- no leaks are possible [INFO]: ==9835== [INFO]: ==9835== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________________ TC.test_00_version ______________________________ self = def test_00_version(self): self.step_name('clamscan version test') command = '{valgrind} {valgrind_args} {clamscan} -V'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan ) output = self.execute_command(command) > assert output.ec == 0 # success E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='ClamAV 1.0.6\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/assorted_test.py:40: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: clamscan version test [INFO]: clamscan version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [DEBUG]: Exit code: 123 [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log... [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [WARNING]: ********************************************************************* [WARNING]: ********************************************************************* [INFO]: ==9837== Memcheck, a memory error detector [INFO]: ==9837== Memcheck, a memory error detector [INFO]: ==9837== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9837== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9837== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9837== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9837== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [INFO]: ==9837== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [INFO]: ==9837== Parent PID: 9803 [INFO]: ==9837== Parent PID: 9803 [INFO]: ==9837== [INFO]: ==9837== [INFO]: --9837-- [INFO]: --9837-- [INFO]: --9837-- Valgrind options: [INFO]: --9837-- Valgrind options: [INFO]: --9837-- -v [INFO]: --9837-- -v [INFO]: --9837-- --trace-children=yes [INFO]: --9837-- --trace-children=yes [INFO]: --9837-- --track-fds=yes [INFO]: --9837-- --track-fds=yes [INFO]: --9837-- --leak-check=full [INFO]: --9837-- --leak-check=full [INFO]: --9837-- --show-possibly-lost=no [INFO]: --9837-- --show-possibly-lost=no [INFO]: --9837-- --show-leak-kinds=definite [INFO]: --9837-- --show-leak-kinds=definite [INFO]: --9837-- --errors-for-leak-kinds=definite [INFO]: --9837-- --errors-for-leak-kinds=definite [INFO]: --9837-- --main-stacksize=16777216 [INFO]: --9837-- --main-stacksize=16777216 [INFO]: --9837-- --gen-suppressions=all [INFO]: --9837-- --gen-suppressions=all [INFO]: --9837-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9837-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9837-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: --9837-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: --9837-- --error-exitcode=123 [INFO]: --9837-- --error-exitcode=123 [INFO]: --9837-- Contents of /proc/version: [INFO]: --9837-- Contents of /proc/version: [INFO]: --9837-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9837-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9837-- [INFO]: --9837-- [INFO]: --9837-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9837-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9837-- Page sizes: currently 4096, max supported 4096 [INFO]: --9837-- Page sizes: currently 4096, max supported 4096 [INFO]: --9837-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9837-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9837-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9837-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9837-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9837-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9837-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9837-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9837-- might be shown as UnknownInlinedFun [INFO]: --9837-- might be shown as UnknownInlinedFun [INFO]: --9837-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9837-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9837-- object doesn't have a dynamic symbol table [INFO]: --9837-- object doesn't have a dynamic symbol table [INFO]: --9837-- Scheduler: using generic scheduler lock implementation. [INFO]: --9837-- Scheduler: using generic scheduler lock implementation. [INFO]: --9837-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9837-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9837-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: --9837-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9837== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9837-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9837== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9837-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9837== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9837-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9837== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9837-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9837== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9837-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9837== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9837-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9837== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9837== don't want to do, unless you know exactly what you're doing, [INFO]: ==9837== don't want to do, unless you know exactly what you're doing, [INFO]: ==9837== or are doing some strange experiment): [INFO]: ==9837== or are doing some strange experiment): [INFO]: ==9837== /usr/libexec/valgrind/../../bin/vgdb --pid=9837 ...command... [INFO]: ==9837== /usr/libexec/valgrind/../../bin/vgdb --pid=9837 ...command... [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9837== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9837== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9837== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9837== and then give GDB the following command [INFO]: ==9837== and then give GDB the following command [INFO]: ==9837== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9837 [INFO]: ==9837== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9837 [INFO]: ==9837== --pid is optional if only one valgrind process is running [INFO]: ==9837== --pid is optional if only one valgrind process is running [INFO]: ==9837== [INFO]: ==9837== [INFO]: --9837-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9837-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9837-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9837-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9837-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9837-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9837-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9837-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9837-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9837-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9837-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9837-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9837-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9837-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9837-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9837-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9837-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9837-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9837-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9837-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9837-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9837-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9837-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9837-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9837-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9837-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9837-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9837-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9837-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9837-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9837-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9837-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9837-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9837-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9837-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9837-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9837-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9837-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9837-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9837-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9837-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: --9837-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9837== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9837== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9837== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9837== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9837== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9837== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9837== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9837== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9837-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9837-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9837-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9837-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9837-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9837-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9837-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9837-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9837-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9837-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9837-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9837-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9837-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9837-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9837-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9837-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9837-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9837-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9837-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9837-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9837== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9837== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: ==9837== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== (No origin, error cannot be suppressed) [INFO]: ==9837== (No origin, error cannot be suppressed) [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== HEAP SUMMARY: [INFO]: ==9837== HEAP SUMMARY: [INFO]: ==9837== in use at exit: 0 bytes in 0 blocks [INFO]: ==9837== in use at exit: 0 bytes in 0 blocks [INFO]: ==9837== total heap usage: 369 allocs, 369 frees, 27,014 bytes allocated [INFO]: ==9837== total heap usage: 369 allocs, 369 frees, 27,014 bytes allocated [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== All heap blocks were freed -- no leaks are possible [INFO]: ==9837== All heap blocks were freed -- no leaks are possible [INFO]: ==9837== [INFO]: ==9837== [INFO]: ==9837== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) [INFO]: ==9837== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________________ TC.test_pe_cert_block _____________________________ self = def test_pe_cert_block(self): self.step_name('Test that clam will disregard a certificate trust signature if a block certificate rule is used.') # The sig set and test.exe for test set was written by one of our threat researchers to test the allmatch option. # Overall, it's much more thorough than previous tests, but some of the tests are duplicates of the previous tests. # TODO: The section signatures are not working as written, hence the "broken_dbs" directory. # There is a known issue with relative offset signatures when using the Boyer-Moore matcher. The sigs work if using the Aho-Corasick matcher. # When we fix section signatures, we can move them to the alerting sigs directory and update this test. test_path = TC.path_source / 'unit_tests' / 'input' / 'pe_allmatch' test_exe = test_path / 'test.exe' command = '{valgrind} {valgrind_args} {clamscan} \ -d {alerting_dbs} \ -d {weak_dbs} \ -d {broken_dbs} \ -d {block_cert_dbs} \ --allmatch --bytecode-unsigned {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, alerting_dbs=test_path / 'alert-sigs', block_cert_dbs=test_path / 'block-cert-sigs', weak_dbs=test_path / 'weak-sigs', broken_dbs=test_path / 'broken-sigs', trust_dbs=test_path / 'trust-sigs', testfiles=test_exe, ) output = self.execute_command(command) > assert output.ec == 1 E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.CRB.BlockCert FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_11of22_PE_EP_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_13of22_PE_S1_EXACT_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_18of22_PE_EP_testexe_1.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_20of22_PE_S1_EXACT_testexe_1.UNOFFICIAL FOUND\n/b...OFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 90\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 10.85 MB\nData read: 1.38 MB (ratio 7.87:1)\nTime: 5.906 sec (0 m 5 s)\nStart Date: 2024:06:28 10:43:13\nEnd Date: 2024:06:28 10:43:19\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/assorted_test.py:149: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will disregard a certificate trust signature if a block certificate rule is used. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/alert-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/weak-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/broken-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/block-cert-sigs --allmatch --bytecode-unsigned /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.CRB.BlockCert FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_11of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_13of22_PE_S1_EXACT_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_18of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_20of22_PE_S1_EXACT_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_01of22_companyname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_02of22_filedescription.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_03of22_fileversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_04of22_internalname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_05of22_legalcopyright.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_06of22_originalfilename.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_07of22_productname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_08of22_productversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_1of2_MD5_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_2of2_MD5_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_1of4_SHA1_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_2of4_SHA1_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_3of4_SHA256_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_4of4_SHA256_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.LDB_1of2_PE_ICON_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_3of6_PE_REG_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.LDB_2of2_PE_ICON_2.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_4of6_PE_REG_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_1of6_ANY_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_2of6_ANY_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_3of6_PE_REG_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_4of6_PE_REG_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_1of6_ANY_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_2of6_ANY_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_01of16_MD5_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_02of16_MD5_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_01of32_SHA1_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_02of32_SHA1_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_17of32_SHA256_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_18of32_SHA256_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_03of16_MD5_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_04of16_MD5_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_03of32_SHA1_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_04of32_SHA1_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_19of32_SHA256_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_20of32_SHA256_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_05of16_MD5_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_06of16_MD5_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_05of32_SHA1_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_06of32_SHA1_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_21of32_SHA256_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_22of32_SHA256_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_09of16_MD5_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_10of16_MD5_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_09of32_SHA1_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_10of32_SHA1_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_25of32_SHA256_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_26of32_SHA256_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_15of16_MD5_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_16of16_MD5_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_15of32_SHA1_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_16of32_SHA1_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_31of32_SHA256_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_32of32_SHA256_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND ----------- SCAN SUMMARY ----------- Known viruses: 90 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 10.85 MB Data read: 1.38 MB (ratio 7.87:1) Time: 5.906 sec (0 m 5 s) Start Date: 2024:06:28 10:43:13 End Date: 2024:06:28 10:43:19 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9839== Memcheck, a memory error detector [INFO]: ==9839== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9839== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9839== Parent PID: 9803 [INFO]: ==9839== [INFO]: --9839-- [INFO]: --9839-- Valgrind options: [INFO]: --9839-- -v [INFO]: --9839-- --trace-children=yes [INFO]: --9839-- --track-fds=yes [INFO]: --9839-- --leak-check=full [INFO]: --9839-- --show-possibly-lost=no [INFO]: --9839-- --show-leak-kinds=definite [INFO]: --9839-- --errors-for-leak-kinds=definite [INFO]: --9839-- --main-stacksize=16777216 [INFO]: --9839-- --gen-suppressions=all [INFO]: --9839-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9839-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: --9839-- --error-exitcode=123 [INFO]: --9839-- Contents of /proc/version: [INFO]: --9839-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9839-- [INFO]: --9839-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9839-- Page sizes: currently 4096, max supported 4096 [INFO]: --9839-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9839-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9839-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9839-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9839-- might be shown as UnknownInlinedFun [INFO]: --9839-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9839-- object doesn't have a dynamic symbol table [INFO]: --9839-- Scheduler: using generic scheduler lock implementation. [INFO]: --9839-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9839-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9839== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9839-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9839== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9839-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9839== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9839-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9839== [INFO]: ==9839== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9839== don't want to do, unless you know exactly what you're doing, [INFO]: ==9839== or are doing some strange experiment): [INFO]: ==9839== /usr/libexec/valgrind/../../bin/vgdb --pid=9839 ...command... [INFO]: ==9839== [INFO]: ==9839== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9839== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9839== and then give GDB the following command [INFO]: ==9839== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9839 [INFO]: ==9839== --pid is optional if only one valgrind process is running [INFO]: ==9839== [INFO]: --9839-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9839-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9839-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9839-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9839-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9839-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9839-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9839-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9839-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9839-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9839-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9839-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9839-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9839-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9839-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9839-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9839-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9839-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9839-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9839== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9839== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9839== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9839-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9839-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9839-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9839-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9839-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9839-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9839-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9839-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9839-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9839-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9839-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9839-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9839-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9839-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9839-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9839-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9839-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9839-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9839-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9839-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: ==9839== [INFO]: ==9839== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9839== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: ==9839== [INFO]: ==9839== [INFO]: ==9839== (No origin, error cannot be suppressed) [INFO]: ==9839== [INFO]: ==9839== HEAP SUMMARY: [INFO]: ==9839== in use at exit: 0 bytes in 0 blocks [INFO]: ==9839== total heap usage: 9,393 allocs, 9,393 frees, 3,805,480 bytes allocated [INFO]: ==9839== [INFO]: ==9839== All heap blocks were freed -- no leaks are possible [INFO]: ==9839== [INFO]: ==9839== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________________ TC.test_pe_cert_trust _____________________________ self = def test_pe_cert_trust(self): self.step_name('Test that clam can trust an EXE based on an authenticode certificate check.') test_path = TC.path_source / 'unit_tests' / 'input' / 'pe_allmatch' test_exe = test_path / 'test.exe' command = '{valgrind} {valgrind_args} {clamscan} \ -d {alerting_dbs} \ -d {weak_dbs} \ -d {broken_dbs} \ -d {trust_dbs} \ --allmatch --bytecode-unsigned {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, alerting_dbs=test_path / 'alert-sigs', weak_dbs=test_path / 'weak-sigs', broken_dbs=test_path / 'broken-sigs', trust_dbs=test_path / 'trust-sigs', testfiles=test_exe, ) output = self.execute_command(command) > assert output.ec == 0 E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: OK\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 90\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 0\nData scanned: 0.00 MB\nData read: 1.38 MB (ratio 0.00:1)\nTime: 3.248 sec (0 m 3 s)\nStart Date: 2024:06:28 10:43:20\nEnd Date: 2024:06:28 10:43:23\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/assorted_test.py:108: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam can trust an EXE based on an authenticode certificate check. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/alert-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/weak-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/broken-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/trust-sigs --allmatch --bytecode-unsigned /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: OK ----------- SCAN SUMMARY ----------- Known viruses: 90 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 1.38 MB (ratio 0.00:1) Time: 3.248 sec (0 m 3 s) Start Date: 2024:06:28 10:43:20 End Date: 2024:06:28 10:43:23 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9841== Memcheck, a memory error detector [INFO]: ==9841== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9841== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9841== Parent PID: 9803 [INFO]: ==9841== [INFO]: --9841-- [INFO]: --9841-- Valgrind options: [INFO]: --9841-- -v [INFO]: --9841-- --trace-children=yes [INFO]: --9841-- --track-fds=yes [INFO]: --9841-- --leak-check=full [INFO]: --9841-- --show-possibly-lost=no [INFO]: --9841-- --show-leak-kinds=definite [INFO]: --9841-- --errors-for-leak-kinds=definite [INFO]: --9841-- --main-stacksize=16777216 [INFO]: --9841-- --gen-suppressions=all [INFO]: --9841-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9841-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: --9841-- --error-exitcode=123 [INFO]: --9841-- Contents of /proc/version: [INFO]: --9841-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9841-- [INFO]: --9841-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9841-- Page sizes: currently 4096, max supported 4096 [INFO]: --9841-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9841-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9841-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9841-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9841-- might be shown as UnknownInlinedFun [INFO]: --9841-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9841-- object doesn't have a dynamic symbol table [INFO]: --9841-- Scheduler: using generic scheduler lock implementation. [INFO]: --9841-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9841-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9841== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9841-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9841== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9841-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9841== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9841-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9841== [INFO]: ==9841== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9841== don't want to do, unless you know exactly what you're doing, [INFO]: ==9841== or are doing some strange experiment): [INFO]: ==9841== /usr/libexec/valgrind/../../bin/vgdb --pid=9841 ...command... [INFO]: ==9841== [INFO]: ==9841== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9841== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9841== and then give GDB the following command [INFO]: ==9841== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9841 [INFO]: ==9841== --pid is optional if only one valgrind process is running [INFO]: ==9841== [INFO]: --9841-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9841-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9841-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9841-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9841-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9841-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9841-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9841-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9841-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9841-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9841-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9841-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9841-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9841-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9841-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9841-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9841-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9841-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9841-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9841-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9841-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9841== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9841== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9841== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9841== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9841-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9841-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9841-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9841-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9841-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9841-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9841-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9841-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9841-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9841-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9841-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9841-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9841-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9841-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9841-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9841-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9841-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9841-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9841-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9841== [INFO]: ==9841== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9841== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: ==9841== [INFO]: ==9841== [INFO]: ==9841== (No origin, error cannot be suppressed) [INFO]: ==9841== [INFO]: ==9841== HEAP SUMMARY: [INFO]: ==9841== in use at exit: 0 bytes in 0 blocks [INFO]: ==9841== total heap usage: 6,577 allocs, 6,577 frees, 2,541,078 bytes allocated [INFO]: ==9841== [INFO]: ==9841== All heap blocks were freed -- no leaks are possible [INFO]: ==9841== [INFO]: ==9841== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________ TC.test_weak_indicator_icon __________________________ self = def test_weak_indicator_icon(self): self.step_name('Test icon (.ldb + .idb) weak indicator matching signatures') (TC.path_tmp / 'icon.idb').write_text( "EA0X-32x32x8:ea0x-grp1:ea0x-grp2:2046f030a42a07153f4120a0031600007000005e1617ef0000d21100cb090674150f880313970b0e7716116d01136216022500002f0a173700081a004a0e\n" "IScab-16x16x8:iscab-grp1:iscab-grp2:107b3000168306015c20a0105b07060be0a0b11c050bea0706cb0a0bbb060b6f00017c06018301068109086b03046705081b000a270a002a000039002b17\n" ) (TC.path_tmp / 'icon.ldb').write_text( "ClamAV-Test-Icon-EA0X;Engine:52-1000,Target:1,IconGroup1:ea0x-grp1,IconGroup2:*;(0);0:4d5a\n" "ClamAV-Test-Icon-IScab;Engine:52-1000,Target:1,IconGroup2:iscab-grp2;(0);0:4d5a\n" ) testfiles = ' '.join([str(testpath) for testpath in TC.testpaths]) command = '{valgrind} {valgrind_args} {clamscan} -d {path_ldb} -d {path_idb} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_ldb=TC.path_tmp / 'icon.ldb', path_idb=TC.path_tmp / 'icon.idb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam...builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 4\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 47\nInfected files: 4\nData scanned: 13.64 MB\nData read: 6.91 MB (ratio 1.97:1)\nTime: 9.229 sec (0 m 9 s)\nStart Date: 2024:06:28 10:43:24\nEnd Date: 2024:06:28 10:43:33\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/assorted_test.py:69: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test icon (.ldb + .idb) weak indicator matching signatures [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/icon.ldb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/icon.idb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-Icon-EA0X.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-Icon-EA0X.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-Icon-IScab.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-Icon-IScab.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK ----------- SCAN SUMMARY ----------- Known viruses: 4 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 4 Data scanned: 13.64 MB Data read: 6.91 MB (ratio 1.97:1) Time: 9.229 sec (0 m 9 s) Start Date: 2024:06:28 10:43:24 End Date: 2024:06:28 10:43:33 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9843== Memcheck, a memory error detector [INFO]: ==9843== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9843== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9843== Parent PID: 9803 [INFO]: ==9843== [INFO]: --9843-- [INFO]: --9843-- Valgrind options: [INFO]: --9843-- -v [INFO]: --9843-- --trace-children=yes [INFO]: --9843-- --track-fds=yes [INFO]: --9843-- --leak-check=full [INFO]: --9843-- --show-possibly-lost=no [INFO]: --9843-- --show-leak-kinds=definite [INFO]: --9843-- --errors-for-leak-kinds=definite [INFO]: --9843-- --main-stacksize=16777216 [INFO]: --9843-- --gen-suppressions=all [INFO]: --9843-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9843-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: --9843-- --error-exitcode=123 [INFO]: --9843-- Contents of /proc/version: [INFO]: --9843-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9843-- [INFO]: --9843-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9843-- Page sizes: currently 4096, max supported 4096 [INFO]: --9843-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9843-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9843-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9843-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9843-- might be shown as UnknownInlinedFun [INFO]: --9843-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9843-- object doesn't have a dynamic symbol table [INFO]: --9843-- Scheduler: using generic scheduler lock implementation. [INFO]: --9843-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9843-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9843== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9843-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9843== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9843-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9843== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9843-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9843== [INFO]: ==9843== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9843== don't want to do, unless you know exactly what you're doing, [INFO]: ==9843== or are doing some strange experiment): [INFO]: ==9843== /usr/libexec/valgrind/../../bin/vgdb --pid=9843 ...command... [INFO]: ==9843== [INFO]: ==9843== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9843== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9843== and then give GDB the following command [INFO]: ==9843== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9843 [INFO]: ==9843== --pid is optional if only one valgrind process is running [INFO]: ==9843== [INFO]: --9843-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9843-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9843-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9843-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9843-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9843-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9843-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9843-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9843-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9843-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9843-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9843-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9843-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9843-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9843-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9843-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9843-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9843-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9843-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9843-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9843-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9843== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9843== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9843== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9843== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9843-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9843-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9843-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9843-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9843-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9843-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9843-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9843-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9843-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9843-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9843-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9843-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9843-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9843-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9843-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9843-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9843-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9843-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9843-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9843-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9843-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9843-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9843-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9843-- REDIR: 0x5209c40 (libc.so.6:__strcpy_chk) redirected to 0x484e740 (__strcpy_chk) [INFO]: --9843-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9843== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9843== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9843== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9843== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9843== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9843== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9843== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9843== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9843== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9843== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9843== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9843== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9843== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9843== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9843== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9843== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9843== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9843== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9843== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9843== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9843== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9843== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9843== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9843== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9843== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9843== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9843== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9843== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9843== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9843== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9843== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9843== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9843== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9843== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9843== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9843== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9843== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9843== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9843== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9843== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9843== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9843== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9843== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9843== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9843== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9843== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9843== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9843== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9843== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9843== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9843== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9843== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9843== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9843== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9843== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9843== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: --9843-- Discarding syms at 0x5f4d160-0x5f4e940 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9843== [INFO]: ==9843== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9843== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-bm3nok6f/valgrind.log [INFO]: ==9843== [INFO]: ==9843== [INFO]: ==9843== (No origin, error cannot be suppressed) [INFO]: ==9843== [INFO]: ==9843== HEAP SUMMARY: [INFO]: ==9843== in use at exit: 24,315 bytes in 98 blocks [INFO]: ==9843== total heap usage: 18,530 allocs, 18,432 frees, 45,697,296 bytes allocated [INFO]: ==9843== [INFO]: ==9843== Searching for pointers to 98 not-freed blocks [INFO]: ==9843== Checked 4,462,416 bytes [INFO]: ==9843== [INFO]: ==9843== LEAK SUMMARY: [INFO]: ==9843== definitely lost: 0 bytes in 0 blocks [INFO]: ==9843== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9843== possibly lost: 608 bytes in 2 blocks [INFO]: ==9843== still reachable: 23,707 bytes in 96 blocks [INFO]: ==9843== suppressed: 0 bytes in 0 blocks [INFO]: ==9843== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9843== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9843== [INFO]: ==9843== Use --track-origins=yes to see where uninitialised values come from [INFO]: ==9843== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) [INFO]: ==9843== [INFO]: ==9843== 9 errors in context 1 of 2: [INFO]: ==9843== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9843== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9843== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9843== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9843== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9843== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9843== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9843== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9843== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9843== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9843== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9843== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9843== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9843== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9843== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9843== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9843== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9843== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9843== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9843== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9843== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9843== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9843== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9843== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9843== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9843== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9843== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9843== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9843== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9843== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9843== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9843== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9843== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9843== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9843== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9843== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9843== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9843== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9843== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9843== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9843== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9843== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9843== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9843== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9843== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9843== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9843== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9843== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9843== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9843== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9843== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9843== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9843== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9843== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9843== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9843== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9843== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) _______________________________ TC.test_pdf_hook _______________________________ self = def test_pdf_hook(self): self.step_name('Test that pdf bytecode hooks trigger') testfiles = TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.pdf' command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --bytecode-unsigned'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_source / 'unit_tests' / 'input' / 'bytecode_sigs' / 'pdf-hook.cbc', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: Test.Case.BC.PDF.hook FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 1.00:1)\nTime: 1.559 sec (0 m 1 s)\nStart Date: 2024:06:28 10:43:34\nEnd Date: 2024:06:28 10:43:36\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/bytecode_test.py:40: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that pdf bytecode hooks trigger [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-_kjqzx50/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/bytecode_sigs/pdf-hook.cbc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf --bytecode-unsigned [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: Test.Case.BC.PDF.hook FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 1.00:1) Time: 1.559 sec (0 m 1 s) Start Date: 2024:06:28 10:43:34 End Date: 2024:06:28 10:43:36 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-_kjqzx50/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-_kjqzx50/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9847== Memcheck, a memory error detector [INFO]: ==9847== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9847== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9847== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/bytecode_sigs/pdf-hook.cbc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf --bytecode-unsigned [INFO]: ==9847== Parent PID: 9803 [INFO]: ==9847== [INFO]: --9847-- [INFO]: --9847-- Valgrind options: [INFO]: --9847-- -v [INFO]: --9847-- --trace-children=yes [INFO]: --9847-- --track-fds=yes [INFO]: --9847-- --leak-check=full [INFO]: --9847-- --show-possibly-lost=no [INFO]: --9847-- --show-leak-kinds=definite [INFO]: --9847-- --errors-for-leak-kinds=definite [INFO]: --9847-- --main-stacksize=16777216 [INFO]: --9847-- --gen-suppressions=all [INFO]: --9847-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9847-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-_kjqzx50/valgrind.log [INFO]: --9847-- --error-exitcode=123 [INFO]: --9847-- Contents of /proc/version: [INFO]: --9847-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9847-- [INFO]: --9847-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9847-- Page sizes: currently 4096, max supported 4096 [INFO]: --9847-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9847-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9847-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9847-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9847-- might be shown as UnknownInlinedFun [INFO]: --9847-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9847-- object doesn't have a dynamic symbol table [INFO]: --9847-- Scheduler: using generic scheduler lock implementation. [INFO]: --9847-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9847-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9847== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9847-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9847== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9847-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9847== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9847-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9847== [INFO]: ==9847== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9847== don't want to do, unless you know exactly what you're doing, [INFO]: ==9847== or are doing some strange experiment): [INFO]: ==9847== /usr/libexec/valgrind/../../bin/vgdb --pid=9847 ...command... [INFO]: ==9847== [INFO]: ==9847== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9847== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9847== and then give GDB the following command [INFO]: ==9847== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9847 [INFO]: ==9847== --pid is optional if only one valgrind process is running [INFO]: ==9847== [INFO]: --9847-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9847-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9847-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9847-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9847-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9847-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9847-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9847-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9847-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9847-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9847-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9847-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9847-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9847-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9847-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9847-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9847-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9847-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9847-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9847-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9847-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9847== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9847== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9847== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9847== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9847-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9847-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9847-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9847-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9847-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9847-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9847-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9847-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9847-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9847-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9847-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9847-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9847-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9847-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9847-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9847-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9847-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9847-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9847== [INFO]: ==9847== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9847== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-_kjqzx50/valgrind.log [INFO]: ==9847== [INFO]: ==9847== [INFO]: ==9847== (No origin, error cannot be suppressed) [INFO]: ==9847== [INFO]: ==9847== HEAP SUMMARY: [INFO]: ==9847== in use at exit: 0 bytes in 0 blocks [INFO]: ==9847== total heap usage: 5,731 allocs, 5,731 frees, 822,135 bytes allocated [INFO]: ==9847== [INFO]: ==9847== All heap blocks were freed -- no leaks are possible [INFO]: ==9847== [INFO]: ==9847== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________________ TC.test_clamscan_container_cache _______________________ self = def test_clamscan_container_cache(self): self.step_name('Test that near-matches for container sigs are not cached') # Files should not be cached as "clean" if the container sig is a near-match # and only fails because the container requirement is not met. # This is a regression test for a bug where a file was cached as "clean" and # then later when scanned within a container it was not detected. not_eicar_file = TC.path_tmp / 'not_eicar' if not not_eicar_file.exists(): with not_eicar_file.open('wb') as f: f.write(b"CLAMAV-TEST-STRING-NOT-EICAR") not_eicar_zip = TC.path_tmp / 'not_eicar.zip' if not not_eicar_zip.exists(): with ZipFile(str(not_eicar_zip), 'w', ZIP_DEFLATED) as zf: zf.writestr('not-eicar.txt', b"CLAMAV-TEST-STRING-NOT-EICAR") (TC.path_tmp / 'zip_container.ldb').write_text( "LDB.Clamav-Unit-Test-Signature-Container;Engine:81-255,Container:CL_TYPE_ZIP,Target:0;0;0:434c414d41562d544553542d535452494e472d4e4f542d4549434152\n" ) testfiles = '{} {}'.format(not_eicar_file, not_eicar_zip) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'zip_container.ldb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # no virus, no failures E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar.zip: LDB.Clamav-Unit-Test-Signature-Container.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 2\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.445 sec (0 m 1 s)\nStart Date: 2024:06:28 10:43:36\nEnd Date: 2024:06:28 10:43:38\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/container_sigs_test.py:113: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that near-matches for container sigs are not cached [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/zip_container.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar.zip --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar.zip: LDB.Clamav-Unit-Test-Signature-Container.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 2 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.445 sec (0 m 1 s) Start Date: 2024:06:28 10:43:36 End Date: 2024:06:28 10:43:38 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9849== Memcheck, a memory error detector [INFO]: ==9849== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9849== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9849== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/zip_container.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar.zip --allmatch [INFO]: ==9849== Parent PID: 9803 [INFO]: ==9849== [INFO]: --9849-- [INFO]: --9849-- Valgrind options: [INFO]: --9849-- -v [INFO]: --9849-- --trace-children=yes [INFO]: --9849-- --track-fds=yes [INFO]: --9849-- --leak-check=full [INFO]: --9849-- --show-possibly-lost=no [INFO]: --9849-- --show-leak-kinds=definite [INFO]: --9849-- --errors-for-leak-kinds=definite [INFO]: --9849-- --main-stacksize=16777216 [INFO]: --9849-- --gen-suppressions=all [INFO]: --9849-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9849-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [INFO]: --9849-- --error-exitcode=123 [INFO]: --9849-- Contents of /proc/version: [INFO]: --9849-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9849-- [INFO]: --9849-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9849-- Page sizes: currently 4096, max supported 4096 [INFO]: --9849-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9849-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9849-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9849-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9849-- might be shown as UnknownInlinedFun [INFO]: --9849-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9849-- object doesn't have a dynamic symbol table [INFO]: --9849-- Scheduler: using generic scheduler lock implementation. [INFO]: --9849-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9849-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9849== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9849-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9849== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9849-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9849== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9849-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9849== [INFO]: ==9849== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9849== don't want to do, unless you know exactly what you're doing, [INFO]: ==9849== or are doing some strange experiment): [INFO]: ==9849== /usr/libexec/valgrind/../../bin/vgdb --pid=9849 ...command... [INFO]: ==9849== [INFO]: ==9849== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9849== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9849== and then give GDB the following command [INFO]: ==9849== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9849 [INFO]: ==9849== --pid is optional if only one valgrind process is running [INFO]: ==9849== [INFO]: --9849-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9849-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9849-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9849-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9849-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9849-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9849-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9849-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9849-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9849-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9849-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9849-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9849-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9849-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9849-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9849-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9849-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9849-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9849-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9849-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9849-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9849== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9849== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9849== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9849== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9849-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9849-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9849-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9849-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9849-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9849-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9849-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9849-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9849-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9849-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9849-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9849-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9849-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9849-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9849-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9849-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9849-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9849-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9849-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9849== [INFO]: ==9849== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9849== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [INFO]: ==9849== [INFO]: ==9849== [INFO]: ==9849== (No origin, error cannot be suppressed) [INFO]: ==9849== [INFO]: ==9849== HEAP SUMMARY: [INFO]: ==9849== in use at exit: 0 bytes in 0 blocks [INFO]: ==9849== total heap usage: 5,485 allocs, 5,485 frees, 908,709 bytes allocated [INFO]: ==9849== [INFO]: ==9849== All heap blocks were freed -- no leaks are possible [INFO]: ==9849== [INFO]: ==9849== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________________ TC.test_container _______________________________ self = def test_container(self): self.step_name('Test that clamav can successfully alert on jpeg image extracted from XLS documents') # Note: we aren't testing PNG because the attached PNG is not properly fuzzy-hashed by clamav, yet. (TC.path_tmp / '7z_zip_container.ldb').write_text( "7z_zip_container_good;Engine:81-255,Container:CL_TYPE_7Z,Target:0;0;0:7631727573\n" "7z_zip_container_bad;Engine:81-255,Container:CL_TYPE_ZIP,Target:0;0;0:7631727573\n" ) testfiles = TC.path_source / 'unit_tests' / 'input' / 'other_scanfiles' / 'v1rusv1rus.7z.zip' command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --gen-json --debug --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / '7z_zip_container.ldb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # no virus, no failures E assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_container_good.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_container_good.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 2\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.707 sec (0 m 1 s)\nStart Date: 2024:06:28 10:43:39\nEnd Date: 2024:06:28 10:43:41\n', err='LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found\nLibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam\nLibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/...:"CL_TYPE_ZIP",\n "FileSize":295,\n "FileMD5":"318224dc81ba90f27788e6053ce49c56",\n "ContainedObjects":[\n {\n "FileName":"v1rusv1rus.7z",\n "FilePath":"/tmp/20240628_104340-scantemp.ef90f91ca2/clamav-4bac8716d36f1f5f8746124d1cc2593f.tmp",\n "FileType":"CL_TYPE_7Z",\n "FileSize":152,\n "FileMD5":"d736ca78f6b897fddc2c0328b248971b",\n "ContainedObjects":[\n {\n "FileName":"virusvirus.txt",\n "FilePath":"/tmp/20240628_104340-scantemp.ef90f91ca2/clamav-f4e516881498457af4b11d20c539b40d.tmp",\n "FileType":"CL_TYPE_TEXT_ASCII",\n "FileSize":10,\n "FileMD5":"5a8e8c78d8e42420120ea7f44cb41d00",\n "Viruses":[\n "7z_zip_container_good.UNOFFICIAL",\n "7z_zip_container_good.UNOFFICIAL"\n ]\n }\n ]\n }\n ]\n}\nLibClamAV debug: Bytecode executing hook id 260 (0 hooks)\nLibClamAV debug: Bytecode: no logical signature matched, no bytecode executed\nLibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected\nLibClamAV debug: Cleaning up phishcheck\nLibClamAV debug: Freeing phishcheck struct\nLibClamAV debug: Phishcheck cleaned up\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/container_sigs_test.py:47: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamav can successfully alert on jpeg image extracted from XLS documents [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/7z_zip_container.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip --gen-json --debug --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_container_good.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_container_good.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.707 sec (0 m 1 s) Start Date: 2024:06:28 10:43:39 End Date: 2024:06:28 10:43:41 [DEBUG]: stderr: LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64 LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /libclamunrar_iface..a not found LibClamAV debug: Cannot dlopen libclamunrar_iface: /libclamunrar_iface..a: cannot open shared object file: No such file or directory - unrar support unavailable LibClamAV debug: Initialized 1.0.6 engine LibClamAV debug: Initializing phishcheck module LibClamAV debug: Phishcheck: Compiling regex: ^ *(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$ LibClamAV debug: Phishcheck module initialized LibClamAV debug: Bytecode initialized in interpreter mode LibClamAV debug: Initializing engine matching structures LibClamAV debug: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/7z_zip_container.ldb loaded LibClamAV debug: Initializing engine matching structures LibClamAV debug: Loaded 156 filetype definitions LibClamAV debug: Using filter for trie 0 LibClamAV debug: Matcher[0]: GENERIC: AC sigs: 86 (reloff: 1, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 32 LibClamAV debug: Using filter for trie 1 LibClamAV debug: Matcher[1]: PE: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 LibClamAV debug: Matcher[2]: OLE2: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[3]: HTML: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 4 LibClamAV debug: Matcher[4]: MAIL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[5]: GRAPHICS: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[6]: ELF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 7 LibClamAV debug: Matcher[7]: ASCII: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[8]: NOT USED: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[9]: MACH-O: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[10]: PDF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[11]: FLASH: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[12]: JAVA: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[13]: INTERNAL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[14]: OTHER: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Dynamic engine configuration settings: LibClamAV debug: -------------------------------------- LibClamAV debug: Module PE: On LibClamAV debug: * Submodule PARITE: On LibClamAV debug: * Submodule KRIZ: On LibClamAV debug: * Submodule MAGISTR: On LibClamAV debug: * Submodule POLIPOS: On LibClamAV debug: * Submodule MD5SECT: On LibClamAV debug: * Submodule UPX: On LibClamAV debug: * Submodule FSG: On LibClamAV debug: * Submodule SWIZZOR: ** Off ** LibClamAV debug: * Submodule PETITE: On LibClamAV debug: * Submodule PESPIN: On LibClamAV debug: * Submodule YC: On LibClamAV debug: * Submodule WWPACK: On LibClamAV debug: * Submodule NSPACK: On LibClamAV debug: * Submodule MEW: On LibClamAV debug: * Submodule UPACK: On LibClamAV debug: * Submodule ASPACK: On LibClamAV debug: * Submodule CATALOG: On LibClamAV debug: * Submodule CERTS: On LibClamAV debug: * Submodule MATCHICON: On LibClamAV debug: * Submodule IMPTBL: On LibClamAV debug: Module ELF: On LibClamAV debug: Module MACHO: On LibClamAV debug: Module ARCHIVE: On LibClamAV debug: * Submodule RAR: On LibClamAV debug: * Submodule ZIP: On LibClamAV debug: * Submodule GZIP: On LibClamAV debug: * Submodule BZIP: On LibClamAV debug: * Submodule ARJ: On LibClamAV debug: * Submodule SZDD: On LibClamAV debug: * Submodule CAB: On LibClamAV debug: * Submodule CHM: On LibClamAV debug: * Submodule OLE2: On LibClamAV debug: * Submodule TAR: On LibClamAV debug: * Submodule CPIO: On LibClamAV debug: * Submodule BINHEX: On LibClamAV debug: * Submodule SIS: On LibClamAV debug: * Submodule NSIS: On LibClamAV debug: * Submodule AUTOIT: On LibClamAV debug: * Submodule ISHIELD: On LibClamAV debug: * Submodule 7zip: On LibClamAV debug: * Submodule ISO9660: On LibClamAV debug: * Submodule DMG: On LibClamAV debug: * Submodule XAR: On LibClamAV debug: * Submodule HFSPLUS: On LibClamAV debug: * Submodule XZ: On LibClamAV debug: * Submodule PASSWD: On LibClamAV debug: * Submodule MBR: On LibClamAV debug: * Submodule GPT: On LibClamAV debug: * Submodule APM: On LibClamAV debug: * Submodule EGG: On LibClamAV debug: Module DOCUMENT: On LibClamAV debug: * Submodule HTML: On LibClamAV debug: * Submodule RTF: On LibClamAV debug: * Submodule PDF: On LibClamAV debug: * Submodule SCRIPT: On LibClamAV debug: * Submodule HTMLSKIPRAW: On LibClamAV debug: * Submodule JSNORM: On LibClamAV debug: * Submodule SWF: On LibClamAV debug: * Submodule OOXML: On LibClamAV debug: * Submodule MSPML: On LibClamAV debug: * Submodule HWP: On LibClamAV debug: Module MAIL: On LibClamAV debug: * Submodule MBOX: On LibClamAV debug: * Submodule TNEF: On LibClamAV debug: Module OTHER: On LibClamAV debug: * Submodule UUENCODED: On LibClamAV debug: * Submodule SCRENC: On LibClamAV debug: * Submodule RIFF: On LibClamAV debug: * Submodule JPEG: On LibClamAV debug: * Submodule CRYPTFF: On LibClamAV debug: * Submodule DLP: On LibClamAV debug: * Submodule MYDOOMLOG: On LibClamAV debug: * Submodule PREFILTERING: On LibClamAV debug: * Submodule PDFNAMEOBJ: On LibClamAV debug: * Submodule PRTNINTXN: On LibClamAV debug: * Submodule LZW: On LibClamAV debug: * Submodule GIF: On LibClamAV debug: * Submodule PNG: On LibClamAV debug: * Submodule TIFF: On LibClamAV debug: Module PHISHING On LibClamAV debug: * Submodule ENGINE: On LibClamAV debug: * Submodule ENTCONV: On LibClamAV debug: Module BYTECODE On LibClamAV debug: * Submodule INTERPRETER: On LibClamAV debug: * Submodule JIT X86: On LibClamAV debug: * Submodule JIT PPC: On LibClamAV debug: * Submodule JIT ARM: ** Off ** LibClamAV debug: Module STATS Off LibClamAV debug: Module PCRE On LibClamAV debug: * Submodule SUPPORT: On LibClamAV debug: * Submodule OPTIONS: On LibClamAV debug: * Submodule GLOBAL: On LibClamAV debug: pool memory used: 5.945 MB LibClamAV debug: No bytecodes loaded, not running builtin test LibClamAV debug: Checking realpath of /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip LibClamAV debug: Recognized ZIP file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_unzip LibClamAV debug: cli_unzip: central directory header offset: @be LibClamAV debug: cli_unzip: checking for non-recursive zip bombs... LibClamAV debug: cli_unzip: central header - flags 0 - method 8 - csize 77 - usize 98 - flen d - elen 18 - clen 0 - disk 0 - off 0 LibClamAV debug: cli_unzip: central header - fname: v1rusv1rus.7z LibClamAV debug: CDBNAME:CL_TYPE_ZIP:119:v1rusv1rus.7z:119:152:0:1:823901048:(nil) LibClamAV debug: cli_unzip: local header - ZMDNAME:0:v1rusv1rus.7z:152:119:311bbb78:8:1:0 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:119:v1rusv1rus.7z:119:152:0:1:823901048:(nil) LibClamAV debug: cli_unzip: central header - wrkcomplete LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104340-scantemp.ef90f91ca2/clamav-4bac8716d36f1f5f8746124d1cc2593f.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 0/17) LibClamAV debug: Recognized 7zip file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: cli_7unz: extracting virusvirus.txt LibClamAV debug: CDBNAME:CL_TYPE_7Z:0:virusvirus.txt:0:10:0:0:238077078:(nil) LibClamAV debug: cli_7unz: Saving to /tmp/20240628_104340-scantemp.ef90f91ca2/clamav-f4e516881498457af4b11d20c539b40d.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: FP SIGNATURE: 5a8e8c78d8e42420120ea7f44cb41d00:10:7z_zip_container_good.UNOFFICIAL # Name: virusvirus.txt, Type: CL_TYPE_TEXT_ASCII LibClamAV debug: FP SIGNATURE: d736ca78f6b897fddc2c0328b248971b:152:7z_zip_container_good.UNOFFICIAL # Name: v1rusv1rus.7z, Type: CL_TYPE_7Z LibClamAV debug: FP SIGNATURE: 318224dc81ba90f27788e6053ce49c56:295:7z_zip_container_good.UNOFFICIAL # Name: v1rusv1rus.7z.zip, Type: CL_TYPE_ZIP LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: FP SIGNATURE: 5a8e8c78d8e42420120ea7f44cb41d00:10:7z_zip_container_good.UNOFFICIAL # Name: virusvirus.txt, Type: CL_TYPE_TEXT_ASCII LibClamAV debug: FP SIGNATURE: d736ca78f6b897fddc2c0328b248971b:152:7z_zip_container_good.UNOFFICIAL # Name: v1rusv1rus.7z, Type: CL_TYPE_7Z LibClamAV debug: FP SIGNATURE: 318224dc81ba90f27788e6053ce49c56:295:7z_zip_container_good.UNOFFICIAL # Name: v1rusv1rus.7z.zip, Type: CL_TYPE_ZIP LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: cli_7unz: completed successfully LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Matched signature for file type 7zip-SFX at 0 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: { "Magic":"CLAMJSONv0", "RootFileType":"CL_TYPE_ZIP", "FileName":"v1rusv1rus.7z.zip", "FileType":"CL_TYPE_ZIP", "FileSize":295, "FileMD5":"318224dc81ba90f27788e6053ce49c56", "ContainedObjects":[ { "FileName":"v1rusv1rus.7z", "FilePath":"/tmp/20240628_104340-scantemp.ef90f91ca2/clamav-4bac8716d36f1f5f8746124d1cc2593f.tmp", "FileType":"CL_TYPE_7Z", "FileSize":152, "FileMD5":"d736ca78f6b897fddc2c0328b248971b", "ContainedObjects":[ { "FileName":"virusvirus.txt", "FilePath":"/tmp/20240628_104340-scantemp.ef90f91ca2/clamav-f4e516881498457af4b11d20c539b40d.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":10, "FileMD5":"5a8e8c78d8e42420120ea7f44cb41d00", "Viruses":[ "7z_zip_container_good.UNOFFICIAL", "7z_zip_container_good.UNOFFICIAL" ] } ] } ] } LibClamAV debug: Bytecode executing hook id 260 (0 hooks) LibClamAV debug: Bytecode: no logical signature matched, no bytecode executed LibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Freeing phishcheck struct LibClamAV debug: Phishcheck cleaned up [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9851== Memcheck, a memory error detector [INFO]: ==9851== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9851== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9851== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/7z_zip_container.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip --gen-json --debug --allmatch [INFO]: ==9851== Parent PID: 9803 [INFO]: ==9851== [INFO]: --9851-- [INFO]: --9851-- Valgrind options: [INFO]: --9851-- -v [INFO]: --9851-- --trace-children=yes [INFO]: --9851-- --track-fds=yes [INFO]: --9851-- --leak-check=full [INFO]: --9851-- --show-possibly-lost=no [INFO]: --9851-- --show-leak-kinds=definite [INFO]: --9851-- --errors-for-leak-kinds=definite [INFO]: --9851-- --main-stacksize=16777216 [INFO]: --9851-- --gen-suppressions=all [INFO]: --9851-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9851-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [INFO]: --9851-- --error-exitcode=123 [INFO]: --9851-- Contents of /proc/version: [INFO]: --9851-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9851-- [INFO]: --9851-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9851-- Page sizes: currently 4096, max supported 4096 [INFO]: --9851-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9851-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9851-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9851-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9851-- might be shown as UnknownInlinedFun [INFO]: --9851-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9851-- object doesn't have a dynamic symbol table [INFO]: --9851-- Scheduler: using generic scheduler lock implementation. [INFO]: --9851-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9851-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9851== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9851-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9851== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9851-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9851== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9851-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9851== [INFO]: ==9851== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9851== don't want to do, unless you know exactly what you're doing, [INFO]: ==9851== or are doing some strange experiment): [INFO]: ==9851== /usr/libexec/valgrind/../../bin/vgdb --pid=9851 ...command... [INFO]: ==9851== [INFO]: ==9851== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9851== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9851== and then give GDB the following command [INFO]: ==9851== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9851 [INFO]: ==9851== --pid is optional if only one valgrind process is running [INFO]: ==9851== [INFO]: --9851-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9851-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9851-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9851-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9851-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9851-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9851-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9851-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9851-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9851-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9851-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9851-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9851-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9851-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9851-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9851-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9851-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9851-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9851-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9851-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9851-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9851== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9851== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9851== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9851== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9851-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9851-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9851-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9851-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9851-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9851-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9851-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9851-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9851-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9851-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9851-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9851-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9851-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9851-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9851-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9851-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9851-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9851-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9851-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9851== [INFO]: ==9851== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9851== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [INFO]: ==9851== [INFO]: ==9851== [INFO]: ==9851== (No origin, error cannot be suppressed) [INFO]: ==9851== [INFO]: ==9851== HEAP SUMMARY: [INFO]: ==9851== in use at exit: 0 bytes in 0 blocks [INFO]: ==9851== total heap usage: 5,536 allocs, 5,536 frees, 781,259 bytes allocated [INFO]: ==9851== [INFO]: ==9851== All heap blocks were freed -- no leaks are possible [INFO]: ==9851== [INFO]: ==9851== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________________ TC.test_intermediates _____________________________ self = def test_intermediates(self): self.step_name('Test that clamav can successfully alert on jpeg image extracted from XLS documents') # Note: we aren't testing PNG because the attached PNG is not properly fuzzy-hashed by clamav, yet. (TC.path_tmp / '7z_zip_intermediates.ldb').write_text( "7z_zip_intermediates_good;Engine:81-255,Intermediates:CL_TYPE_ZIP>CL_TYPE_7Z,Target:0;0;0:7631727573\n" "7z_zip_intermediates;Engine:81-255,Intermediates:CL_TYPE_7Z>CL_TYPE_TEXT_ASCII,Target:0;0;0:7631727573\n" ) testfiles = TC.path_source / 'unit_tests' / 'input' / 'other_scanfiles' / 'v1rusv1rus.7z.zip' command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --gen-json --debug --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / '7z_zip_intermediates.ldb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # no virus, no failures E assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_intermediates_good.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_intermediates_good.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 2\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.598 sec (0 m 1 s)\nStart Date: 2024:06:28 10:43:41\nEnd Date: 2024:06:28 10:43:43\n', err='LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found\nLibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam\nLibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linu...E_ZIP",\n "FileSize":295,\n "FileMD5":"318224dc81ba90f27788e6053ce49c56",\n "ContainedObjects":[\n {\n "FileName":"v1rusv1rus.7z",\n "FilePath":"/tmp/20240628_104342-scantemp.8b0f8b605e/clamav-466daf011bfdaaa58c4e70f1cca6e11f.tmp",\n "FileType":"CL_TYPE_7Z",\n "FileSize":152,\n "FileMD5":"d736ca78f6b897fddc2c0328b248971b",\n "ContainedObjects":[\n {\n "FileName":"virusvirus.txt",\n "FilePath":"/tmp/20240628_104342-scantemp.8b0f8b605e/clamav-a8e8af35baf7816c6564592bb39427bb.tmp",\n "FileType":"CL_TYPE_TEXT_ASCII",\n "FileSize":10,\n "FileMD5":"5a8e8c78d8e42420120ea7f44cb41d00",\n "Viruses":[\n "7z_zip_intermediates_good.UNOFFICIAL",\n "7z_zip_intermediates_good.UNOFFICIAL"\n ]\n }\n ]\n }\n ]\n}\nLibClamAV debug: Bytecode executing hook id 260 (0 hooks)\nLibClamAV debug: Bytecode: no logical signature matched, no bytecode executed\nLibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected\nLibClamAV debug: Cleaning up phishcheck\nLibClamAV debug: Freeing phishcheck struct\nLibClamAV debug: Phishcheck cleaned up\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/container_sigs_test.py:74: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamav can successfully alert on jpeg image extracted from XLS documents [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/7z_zip_intermediates.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip --gen-json --debug --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_intermediates_good.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_intermediates_good.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.598 sec (0 m 1 s) Start Date: 2024:06:28 10:43:41 End Date: 2024:06:28 10:43:43 [DEBUG]: stderr: LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64 LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /libclamunrar_iface..a not found LibClamAV debug: Cannot dlopen libclamunrar_iface: /libclamunrar_iface..a: cannot open shared object file: No such file or directory - unrar support unavailable LibClamAV debug: Initialized 1.0.6 engine LibClamAV debug: Initializing phishcheck module LibClamAV debug: Phishcheck: Compiling regex: ^ *(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$ LibClamAV debug: Phishcheck module initialized LibClamAV debug: Bytecode initialized in interpreter mode LibClamAV debug: Initializing engine matching structures LibClamAV debug: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/7z_zip_intermediates.ldb loaded LibClamAV debug: Initializing engine matching structures LibClamAV debug: Loaded 156 filetype definitions LibClamAV debug: Using filter for trie 0 LibClamAV debug: Matcher[0]: GENERIC: AC sigs: 86 (reloff: 1, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 32 LibClamAV debug: Using filter for trie 1 LibClamAV debug: Matcher[1]: PE: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 LibClamAV debug: Matcher[2]: OLE2: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[3]: HTML: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 4 LibClamAV debug: Matcher[4]: MAIL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[5]: GRAPHICS: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[6]: ELF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 7 LibClamAV debug: Matcher[7]: ASCII: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[8]: NOT USED: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[9]: MACH-O: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[10]: PDF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[11]: FLASH: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[12]: JAVA: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[13]: INTERNAL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[14]: OTHER: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Dynamic engine configuration settings: LibClamAV debug: -------------------------------------- LibClamAV debug: Module PE: On LibClamAV debug: * Submodule PARITE: On LibClamAV debug: * Submodule KRIZ: On LibClamAV debug: * Submodule MAGISTR: On LibClamAV debug: * Submodule POLIPOS: On LibClamAV debug: * Submodule MD5SECT: On LibClamAV debug: * Submodule UPX: On LibClamAV debug: * Submodule FSG: On LibClamAV debug: * Submodule SWIZZOR: ** Off ** LibClamAV debug: * Submodule PETITE: On LibClamAV debug: * Submodule PESPIN: On LibClamAV debug: * Submodule YC: On LibClamAV debug: * Submodule WWPACK: On LibClamAV debug: * Submodule NSPACK: On LibClamAV debug: * Submodule MEW: On LibClamAV debug: * Submodule UPACK: On LibClamAV debug: * Submodule ASPACK: On LibClamAV debug: * Submodule CATALOG: On LibClamAV debug: * Submodule CERTS: On LibClamAV debug: * Submodule MATCHICON: On LibClamAV debug: * Submodule IMPTBL: On LibClamAV debug: Module ELF: On LibClamAV debug: Module MACHO: On LibClamAV debug: Module ARCHIVE: On LibClamAV debug: * Submodule RAR: On LibClamAV debug: * Submodule ZIP: On LibClamAV debug: * Submodule GZIP: On LibClamAV debug: * Submodule BZIP: On LibClamAV debug: * Submodule ARJ: On LibClamAV debug: * Submodule SZDD: On LibClamAV debug: * Submodule CAB: On LibClamAV debug: * Submodule CHM: On LibClamAV debug: * Submodule OLE2: On LibClamAV debug: * Submodule TAR: On LibClamAV debug: * Submodule CPIO: On LibClamAV debug: * Submodule BINHEX: On LibClamAV debug: * Submodule SIS: On LibClamAV debug: * Submodule NSIS: On LibClamAV debug: * Submodule AUTOIT: On LibClamAV debug: * Submodule ISHIELD: On LibClamAV debug: * Submodule 7zip: On LibClamAV debug: * Submodule ISO9660: On LibClamAV debug: * Submodule DMG: On LibClamAV debug: * Submodule XAR: On LibClamAV debug: * Submodule HFSPLUS: On LibClamAV debug: * Submodule XZ: On LibClamAV debug: * Submodule PASSWD: On LibClamAV debug: * Submodule MBR: On LibClamAV debug: * Submodule GPT: On LibClamAV debug: * Submodule APM: On LibClamAV debug: * Submodule EGG: On LibClamAV debug: Module DOCUMENT: On LibClamAV debug: * Submodule HTML: On LibClamAV debug: * Submodule RTF: On LibClamAV debug: * Submodule PDF: On LibClamAV debug: * Submodule SCRIPT: On LibClamAV debug: * Submodule HTMLSKIPRAW: On LibClamAV debug: * Submodule JSNORM: On LibClamAV debug: * Submodule SWF: On LibClamAV debug: * Submodule OOXML: On LibClamAV debug: * Submodule MSPML: On LibClamAV debug: * Submodule HWP: On LibClamAV debug: Module MAIL: On LibClamAV debug: * Submodule MBOX: On LibClamAV debug: * Submodule TNEF: On LibClamAV debug: Module OTHER: On LibClamAV debug: * Submodule UUENCODED: On LibClamAV debug: * Submodule SCRENC: On LibClamAV debug: * Submodule RIFF: On LibClamAV debug: * Submodule JPEG: On LibClamAV debug: * Submodule CRYPTFF: On LibClamAV debug: * Submodule DLP: On LibClamAV debug: * Submodule MYDOOMLOG: On LibClamAV debug: * Submodule PREFILTERING: On LibClamAV debug: * Submodule PDFNAMEOBJ: On LibClamAV debug: * Submodule PRTNINTXN: On LibClamAV debug: * Submodule LZW: On LibClamAV debug: * Submodule GIF: On LibClamAV debug: * Submodule PNG: On LibClamAV debug: * Submodule TIFF: On LibClamAV debug: Module PHISHING On LibClamAV debug: * Submodule ENGINE: On LibClamAV debug: * Submodule ENTCONV: On LibClamAV debug: Module BYTECODE On LibClamAV debug: * Submodule INTERPRETER: On LibClamAV debug: * Submodule JIT X86: On LibClamAV debug: * Submodule JIT PPC: On LibClamAV debug: * Submodule JIT ARM: ** Off ** LibClamAV debug: Module STATS Off LibClamAV debug: Module PCRE On LibClamAV debug: * Submodule SUPPORT: On LibClamAV debug: * Submodule OPTIONS: On LibClamAV debug: * Submodule GLOBAL: On LibClamAV debug: pool memory used: 5.945 MB LibClamAV debug: No bytecodes loaded, not running builtin test LibClamAV debug: Checking realpath of /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip LibClamAV debug: Recognized ZIP file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_unzip LibClamAV debug: cli_unzip: central directory header offset: @be LibClamAV debug: cli_unzip: checking for non-recursive zip bombs... LibClamAV debug: cli_unzip: central header - flags 0 - method 8 - csize 77 - usize 98 - flen d - elen 18 - clen 0 - disk 0 - off 0 LibClamAV debug: cli_unzip: central header - fname: v1rusv1rus.7z LibClamAV debug: CDBNAME:CL_TYPE_ZIP:119:v1rusv1rus.7z:119:152:0:1:823901048:(nil) LibClamAV debug: cli_unzip: local header - ZMDNAME:0:v1rusv1rus.7z:152:119:311bbb78:8:1:0 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:119:v1rusv1rus.7z:119:152:0:1:823901048:(nil) LibClamAV debug: cli_unzip: central header - wrkcomplete LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104342-scantemp.8b0f8b605e/clamav-466daf011bfdaaa58c4e70f1cca6e11f.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 0/17) LibClamAV debug: Recognized 7zip file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: cli_7unz: extracting virusvirus.txt LibClamAV debug: CDBNAME:CL_TYPE_7Z:0:virusvirus.txt:0:10:0:0:238077078:(nil) LibClamAV debug: cli_7unz: Saving to /tmp/20240628_104342-scantemp.8b0f8b605e/clamav-a8e8af35baf7816c6564592bb39427bb.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: FP SIGNATURE: 5a8e8c78d8e42420120ea7f44cb41d00:10:7z_zip_intermediates_good.UNOFFICIAL # Name: virusvirus.txt, Type: CL_TYPE_TEXT_ASCII LibClamAV debug: FP SIGNATURE: d736ca78f6b897fddc2c0328b248971b:152:7z_zip_intermediates_good.UNOFFICIAL # Name: v1rusv1rus.7z, Type: CL_TYPE_7Z LibClamAV debug: FP SIGNATURE: 318224dc81ba90f27788e6053ce49c56:295:7z_zip_intermediates_good.UNOFFICIAL # Name: v1rusv1rus.7z.zip, Type: CL_TYPE_ZIP LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: FP SIGNATURE: 5a8e8c78d8e42420120ea7f44cb41d00:10:7z_zip_intermediates_good.UNOFFICIAL # Name: virusvirus.txt, Type: CL_TYPE_TEXT_ASCII LibClamAV debug: FP SIGNATURE: d736ca78f6b897fddc2c0328b248971b:152:7z_zip_intermediates_good.UNOFFICIAL # Name: v1rusv1rus.7z, Type: CL_TYPE_7Z LibClamAV debug: FP SIGNATURE: 318224dc81ba90f27788e6053ce49c56:295:7z_zip_intermediates_good.UNOFFICIAL # Name: v1rusv1rus.7z.zip, Type: CL_TYPE_ZIP LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: cli_7unz: completed successfully LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Matched signature for file type 7zip-SFX at 0 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: { "Magic":"CLAMJSONv0", "RootFileType":"CL_TYPE_ZIP", "FileName":"v1rusv1rus.7z.zip", "FileType":"CL_TYPE_ZIP", "FileSize":295, "FileMD5":"318224dc81ba90f27788e6053ce49c56", "ContainedObjects":[ { "FileName":"v1rusv1rus.7z", "FilePath":"/tmp/20240628_104342-scantemp.8b0f8b605e/clamav-466daf011bfdaaa58c4e70f1cca6e11f.tmp", "FileType":"CL_TYPE_7Z", "FileSize":152, "FileMD5":"d736ca78f6b897fddc2c0328b248971b", "ContainedObjects":[ { "FileName":"virusvirus.txt", "FilePath":"/tmp/20240628_104342-scantemp.8b0f8b605e/clamav-a8e8af35baf7816c6564592bb39427bb.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":10, "FileMD5":"5a8e8c78d8e42420120ea7f44cb41d00", "Viruses":[ "7z_zip_intermediates_good.UNOFFICIAL", "7z_zip_intermediates_good.UNOFFICIAL" ] } ] } ] } LibClamAV debug: Bytecode executing hook id 260 (0 hooks) LibClamAV debug: Bytecode: no logical signature matched, no bytecode executed LibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Freeing phishcheck struct LibClamAV debug: Phishcheck cleaned up [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9853== Memcheck, a memory error detector [INFO]: ==9853== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9853== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9853== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/7z_zip_intermediates.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip --gen-json --debug --allmatch [INFO]: ==9853== Parent PID: 9803 [INFO]: ==9853== [INFO]: --9853-- [INFO]: --9853-- Valgrind options: [INFO]: --9853-- -v [INFO]: --9853-- --trace-children=yes [INFO]: --9853-- --track-fds=yes [INFO]: --9853-- --leak-check=full [INFO]: --9853-- --show-possibly-lost=no [INFO]: --9853-- --show-leak-kinds=definite [INFO]: --9853-- --errors-for-leak-kinds=definite [INFO]: --9853-- --main-stacksize=16777216 [INFO]: --9853-- --gen-suppressions=all [INFO]: --9853-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9853-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [INFO]: --9853-- --error-exitcode=123 [INFO]: --9853-- Contents of /proc/version: [INFO]: --9853-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9853-- [INFO]: --9853-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9853-- Page sizes: currently 4096, max supported 4096 [INFO]: --9853-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9853-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9853-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9853-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9853-- might be shown as UnknownInlinedFun [INFO]: --9853-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9853-- object doesn't have a dynamic symbol table [INFO]: --9853-- Scheduler: using generic scheduler lock implementation. [INFO]: --9853-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9853-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9853== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9853-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9853== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9853-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9853== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9853-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9853== [INFO]: ==9853== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9853== don't want to do, unless you know exactly what you're doing, [INFO]: ==9853== or are doing some strange experiment): [INFO]: ==9853== /usr/libexec/valgrind/../../bin/vgdb --pid=9853 ...command... [INFO]: ==9853== [INFO]: ==9853== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9853== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9853== and then give GDB the following command [INFO]: ==9853== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9853 [INFO]: ==9853== --pid is optional if only one valgrind process is running [INFO]: ==9853== [INFO]: --9853-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9853-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9853-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9853-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9853-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9853-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9853-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9853-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9853-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9853-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9853-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9853-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9853-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9853-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9853-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9853-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9853-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9853-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9853-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9853-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9853-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9853== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9853== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9853== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9853== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9853-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9853-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9853-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9853-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9853-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9853-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9853-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9853-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9853-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9853-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9853-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9853-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9853-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9853-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9853-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9853-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9853-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9853-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9853-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9853== [INFO]: ==9853== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9853== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [INFO]: ==9853== [INFO]: ==9853== [INFO]: ==9853== (No origin, error cannot be suppressed) [INFO]: ==9853== [INFO]: ==9853== HEAP SUMMARY: [INFO]: ==9853== in use at exit: 0 bytes in 0 blocks [INFO]: ==9853== total heap usage: 5,536 allocs, 5,536 frees, 781,279 bytes allocated [INFO]: ==9853== [INFO]: ==9853== All heap blocks were freed -- no leaks are possible [INFO]: ==9853== [INFO]: ==9853== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________ TC.test_intermediates_cache __________________________ self = def test_intermediates_cache(self): self.step_name('Test that near-matches for intermediates sigs are not cached') # Files should not be cached as "clean" if the intermediates sig is a near-match # and only fails because the intermediates requirement is not met. # This is a regression test for a bug where a file was cached as "clean" and # then later when scanned within a container it was not detected. not_eicar_file = TC.path_tmp / 'not_eicar' if not not_eicar_file.exists(): with not_eicar_file.open('wb') as f: f.write(b"CLAMAV-TEST-STRING-NOT-EICAR") not_eicar_zip = TC.path_tmp / 'not_eicar.zip' if not not_eicar_zip.exists(): with ZipFile(str(not_eicar_zip), 'w', ZIP_DEFLATED) as zf: zf.writestr('not-eicar.txt', b"CLAMAV-TEST-STRING-NOT-EICAR") (TC.path_tmp / 'zip_intermediates.ldb').write_text( "LDB.Clamav-Unit-Test-Signature-Intermediates;Engine:81-255,Intermediates:CL_TYPE_ZIP,Target:0;0;0:434c414d41562d544553542d535452494e472d4e4f542d4549434152\n" ) testfiles = '{} {}'.format(not_eicar_file, not_eicar_zip) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'zip_intermediates.ldb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # no virus, no failures E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar.zip: LDB.Clamav-Unit-Test-Signature-Intermediates.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 2\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.440 sec (0 m 1 s)\nStart Date: 2024:06:28 10:43:44\nEnd Date: 2024:06:28 10:43:45\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/container_sigs_test.py:154: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that near-matches for intermediates sigs are not cached [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/zip_intermediates.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar.zip --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar.zip: LDB.Clamav-Unit-Test-Signature-Intermediates.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 2 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.440 sec (0 m 1 s) Start Date: 2024:06:28 10:43:44 End Date: 2024:06:28 10:43:45 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9855== Memcheck, a memory error detector [INFO]: ==9855== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9855== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9855== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/zip_intermediates.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/not_eicar.zip --allmatch [INFO]: ==9855== Parent PID: 9803 [INFO]: ==9855== [INFO]: --9855-- [INFO]: --9855-- Valgrind options: [INFO]: --9855-- -v [INFO]: --9855-- --trace-children=yes [INFO]: --9855-- --track-fds=yes [INFO]: --9855-- --leak-check=full [INFO]: --9855-- --show-possibly-lost=no [INFO]: --9855-- --show-leak-kinds=definite [INFO]: --9855-- --errors-for-leak-kinds=definite [INFO]: --9855-- --main-stacksize=16777216 [INFO]: --9855-- --gen-suppressions=all [INFO]: --9855-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9855-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [INFO]: --9855-- --error-exitcode=123 [INFO]: --9855-- Contents of /proc/version: [INFO]: --9855-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9855-- [INFO]: --9855-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9855-- Page sizes: currently 4096, max supported 4096 [INFO]: --9855-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9855-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9855-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9855-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9855-- might be shown as UnknownInlinedFun [INFO]: --9855-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9855-- object doesn't have a dynamic symbol table [INFO]: --9855-- Scheduler: using generic scheduler lock implementation. [INFO]: --9855-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9855-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9855== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9855-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9855== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9855-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9855== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9855-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9855== [INFO]: ==9855== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9855== don't want to do, unless you know exactly what you're doing, [INFO]: ==9855== or are doing some strange experiment): [INFO]: ==9855== /usr/libexec/valgrind/../../bin/vgdb --pid=9855 ...command... [INFO]: ==9855== [INFO]: ==9855== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9855== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9855== and then give GDB the following command [INFO]: ==9855== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9855 [INFO]: ==9855== --pid is optional if only one valgrind process is running [INFO]: ==9855== [INFO]: --9855-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9855-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9855-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9855-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9855-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9855-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9855-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9855-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9855-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9855-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9855-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9855-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9855-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9855-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9855-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9855-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9855-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9855-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9855-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9855-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9855-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9855== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9855== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9855== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9855== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9855-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9855-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9855-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9855-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9855-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9855-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9855-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9855-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9855-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9855-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9855-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9855-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9855-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9855-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9855-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9855-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9855-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9855-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9855-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9855== [INFO]: ==9855== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9855== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lia1l9j6/valgrind.log [INFO]: ==9855== [INFO]: ==9855== [INFO]: ==9855== (No origin, error cannot be suppressed) [INFO]: ==9855== [INFO]: ==9855== HEAP SUMMARY: [INFO]: ==9855== in use at exit: 0 bytes in 0 blocks [INFO]: ==9855== total heap usage: 5,485 allocs, 5,485 frees, 908,717 bytes allocated [INFO]: ==9855== [INFO]: ==9855== All heap blocks were freed -- no leaks are possible [INFO]: ==9855== [INFO]: ==9855== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________ TC.test_alerts_on_normalized _________________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fp_check_test.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test file detection with pattern from normalized HTML [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized.ndb [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file: Malicious.PHP.normalized.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.416 sec (0 m 1 s) Start Date: 2024:06:28 10:43:46 End Date: 2024:06:28 10:43:48 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9857== Memcheck, a memory error detector [INFO]: ==9857== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9857== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9857== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized.ndb [INFO]: ==9857== Parent PID: 9803 [INFO]: ==9857== [INFO]: --9857-- [INFO]: --9857-- Valgrind options: [INFO]: --9857-- -v [INFO]: --9857-- --trace-children=yes [INFO]: --9857-- --track-fds=yes [INFO]: --9857-- --leak-check=full [INFO]: --9857-- --show-possibly-lost=no [INFO]: --9857-- --show-leak-kinds=definite [INFO]: --9857-- --errors-for-leak-kinds=definite [INFO]: --9857-- --main-stacksize=16777216 [INFO]: --9857-- --gen-suppressions=all [INFO]: --9857-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9857-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [INFO]: --9857-- --error-exitcode=123 [INFO]: --9857-- Contents of /proc/version: [INFO]: --9857-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9857-- [INFO]: --9857-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9857-- Page sizes: currently 4096, max supported 4096 [INFO]: --9857-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9857-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9857-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9857-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9857-- might be shown as UnknownInlinedFun [INFO]: --9857-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9857-- object doesn't have a dynamic symbol table [INFO]: --9857-- Scheduler: using generic scheduler lock implementation. [INFO]: --9857-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9857-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9857== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9857-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9857== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9857-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9857== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9857-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9857== [INFO]: ==9857== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9857== don't want to do, unless you know exactly what you're doing, [INFO]: ==9857== or are doing some strange experiment): [INFO]: ==9857== /usr/libexec/valgrind/../../bin/vgdb --pid=9857 ...command... [INFO]: ==9857== [INFO]: ==9857== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9857== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9857== and then give GDB the following command [INFO]: ==9857== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9857 [INFO]: ==9857== --pid is optional if only one valgrind process is running [INFO]: ==9857== [INFO]: --9857-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9857-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9857-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9857-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9857-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9857-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9857-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9857-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9857-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9857-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9857-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9857-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9857-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9857-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9857-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9857-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9857-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9857-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9857-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9857-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9857-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9857== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9857== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9857== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9857== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9857-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9857-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9857-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9857-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9857-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9857-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9857-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9857-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9857-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9857-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9857-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9857-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9857-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9857-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9857-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9857-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9857-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9857-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9857-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9857== [INFO]: ==9857== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9857== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [INFO]: ==9857== [INFO]: ==9857== [INFO]: ==9857== (No origin, error cannot be suppressed) [INFO]: ==9857== [INFO]: ==9857== HEAP SUMMARY: [INFO]: ==9857== in use at exit: 0 bytes in 0 blocks [INFO]: ==9857== total heap usage: 5,391 allocs, 5,391 frees, 620,752 bytes allocated [INFO]: ==9857== [INFO]: ==9857== All heap blocks were freed -- no leaks are possible [INFO]: ==9857== [INFO]: ==9857== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________________ TC.test_alerts_on_zip _____________________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fp_check_test.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test file detection with pattern from normalized HTML inside a ZIP file [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file.zip -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized.ndb [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file.zip: Malicious.PHP.normalized.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.468 sec (0 m 1 s) Start Date: 2024:06:28 10:43:48 End Date: 2024:06:28 10:43:50 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9859== Memcheck, a memory error detector [INFO]: ==9859== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9859== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9859== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file.zip -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized.ndb [INFO]: ==9859== Parent PID: 9803 [INFO]: ==9859== [INFO]: --9859-- [INFO]: --9859-- Valgrind options: [INFO]: --9859-- -v [INFO]: --9859-- --trace-children=yes [INFO]: --9859-- --track-fds=yes [INFO]: --9859-- --leak-check=full [INFO]: --9859-- --show-possibly-lost=no [INFO]: --9859-- --show-leak-kinds=definite [INFO]: --9859-- --errors-for-leak-kinds=definite [INFO]: --9859-- --main-stacksize=16777216 [INFO]: --9859-- --gen-suppressions=all [INFO]: --9859-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9859-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [INFO]: --9859-- --error-exitcode=123 [INFO]: --9859-- Contents of /proc/version: [INFO]: --9859-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9859-- [INFO]: --9859-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9859-- Page sizes: currently 4096, max supported 4096 [INFO]: --9859-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9859-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9859-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9859-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9859-- might be shown as UnknownInlinedFun [INFO]: --9859-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9859-- object doesn't have a dynamic symbol table [INFO]: --9859-- Scheduler: using generic scheduler lock implementation. [INFO]: --9859-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9859-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9859== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9859-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9859== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9859-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9859== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9859-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9859== [INFO]: ==9859== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9859== don't want to do, unless you know exactly what you're doing, [INFO]: ==9859== or are doing some strange experiment): [INFO]: ==9859== /usr/libexec/valgrind/../../bin/vgdb --pid=9859 ...command... [INFO]: ==9859== [INFO]: ==9859== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9859== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9859== and then give GDB the following command [INFO]: ==9859== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9859 [INFO]: ==9859== --pid is optional if only one valgrind process is running [INFO]: ==9859== [INFO]: --9859-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9859-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9859-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9859-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9859-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9859-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9859-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9859-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9859-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9859-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9859-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9859-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9859-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9859-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9859-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9859-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9859-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9859-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9859-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9859-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9859-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9859== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9859== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9859== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9859== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9859-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9859-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9859-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9859-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9859-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9859-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9859-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9859-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9859-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9859-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9859-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9859-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9859-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9859-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9859-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9859-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9859-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9859-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9859-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9859-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9859== [INFO]: ==9859== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9859== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [INFO]: ==9859== [INFO]: ==9859== [INFO]: ==9859== (No origin, error cannot be suppressed) [INFO]: ==9859== [INFO]: ==9859== HEAP SUMMARY: [INFO]: ==9859== in use at exit: 0 bytes in 0 blocks [INFO]: ==9859== total heap usage: 5,405 allocs, 5,405 frees, 667,682 bytes allocated [INFO]: ==9859== [INFO]: ==9859== All heap blocks were freed -- no leaks are possible [INFO]: ==9859== [INFO]: ==9859== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________ TC.test_fp_for_nonnormalized _________________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fp_check_test.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test file trusted with the original non-normalized fixed-size hash [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/original_hash.fp [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file: OK ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.391 sec (0 m 1 s) Start Date: 2024:06:28 10:43:51 End Date: 2024:06:28 10:43:52 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9861== Memcheck, a memory error detector [INFO]: ==9861== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9861== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9861== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/original_hash.fp [INFO]: ==9861== Parent PID: 9803 [INFO]: ==9861== [INFO]: --9861-- [INFO]: --9861-- Valgrind options: [INFO]: --9861-- -v [INFO]: --9861-- --trace-children=yes [INFO]: --9861-- --track-fds=yes [INFO]: --9861-- --leak-check=full [INFO]: --9861-- --show-possibly-lost=no [INFO]: --9861-- --show-leak-kinds=definite [INFO]: --9861-- --errors-for-leak-kinds=definite [INFO]: --9861-- --main-stacksize=16777216 [INFO]: --9861-- --gen-suppressions=all [INFO]: --9861-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9861-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [INFO]: --9861-- --error-exitcode=123 [INFO]: --9861-- Contents of /proc/version: [INFO]: --9861-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9861-- [INFO]: --9861-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9861-- Page sizes: currently 4096, max supported 4096 [INFO]: --9861-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9861-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9861-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9861-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9861-- might be shown as UnknownInlinedFun [INFO]: --9861-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9861-- object doesn't have a dynamic symbol table [INFO]: --9861-- Scheduler: using generic scheduler lock implementation. [INFO]: --9861-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9861-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9861== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9861-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9861== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9861-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9861== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9861-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9861== [INFO]: ==9861== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9861== don't want to do, unless you know exactly what you're doing, [INFO]: ==9861== or are doing some strange experiment): [INFO]: ==9861== /usr/libexec/valgrind/../../bin/vgdb --pid=9861 ...command... [INFO]: ==9861== [INFO]: ==9861== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9861== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9861== and then give GDB the following command [INFO]: ==9861== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9861 [INFO]: ==9861== --pid is optional if only one valgrind process is running [INFO]: ==9861== [INFO]: --9861-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9861-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9861-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9861-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9861-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9861-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9861-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9861-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9861-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9861-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9861-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9861-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9861-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9861-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9861-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9861-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9861-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9861-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9861-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9861-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9861-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9861== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9861== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9861== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9861== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9861-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9861-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9861-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9861-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9861-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9861-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9861-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9861-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9861-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9861-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9861-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9861-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9861-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9861-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9861-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9861-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9861-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9861-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9861-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9861== [INFO]: ==9861== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9861== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [INFO]: ==9861== [INFO]: ==9861== [INFO]: ==9861== (No origin, error cannot be suppressed) [INFO]: ==9861== [INFO]: ==9861== HEAP SUMMARY: [INFO]: ==9861== in use at exit: 0 bytes in 0 blocks [INFO]: ==9861== total heap usage: 5,404 allocs, 5,404 frees, 630,715 bytes allocated [INFO]: ==9861== [INFO]: ==9861== All heap blocks were freed -- no leaks are possible [INFO]: ==9861== [INFO]: ==9861== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________ TC.test_fp_for_nonnormalized_wild _______________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fp_check_test.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test file trusted with the original non-normalized wild-card hash [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/original_hash.wild.fp [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file: OK ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.409 sec (0 m 1 s) Start Date: 2024:06:28 10:43:53 End Date: 2024:06:28 10:43:54 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9863== Memcheck, a memory error detector [INFO]: ==9863== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9863== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9863== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/original_hash.wild.fp [INFO]: ==9863== Parent PID: 9803 [INFO]: ==9863== [INFO]: --9863-- [INFO]: --9863-- Valgrind options: [INFO]: --9863-- -v [INFO]: --9863-- --trace-children=yes [INFO]: --9863-- --track-fds=yes [INFO]: --9863-- --leak-check=full [INFO]: --9863-- --show-possibly-lost=no [INFO]: --9863-- --show-leak-kinds=definite [INFO]: --9863-- --errors-for-leak-kinds=definite [INFO]: --9863-- --main-stacksize=16777216 [INFO]: --9863-- --gen-suppressions=all [INFO]: --9863-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9863-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [INFO]: --9863-- --error-exitcode=123 [INFO]: --9863-- Contents of /proc/version: [INFO]: --9863-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9863-- [INFO]: --9863-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9863-- Page sizes: currently 4096, max supported 4096 [INFO]: --9863-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9863-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9863-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9863-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9863-- might be shown as UnknownInlinedFun [INFO]: --9863-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9863-- object doesn't have a dynamic symbol table [INFO]: --9863-- Scheduler: using generic scheduler lock implementation. [INFO]: --9863-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9863-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9863== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9863-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9863== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9863-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9863== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9863-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9863== [INFO]: ==9863== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9863== don't want to do, unless you know exactly what you're doing, [INFO]: ==9863== or are doing some strange experiment): [INFO]: ==9863== /usr/libexec/valgrind/../../bin/vgdb --pid=9863 ...command... [INFO]: ==9863== [INFO]: ==9863== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9863== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9863== and then give GDB the following command [INFO]: ==9863== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9863 [INFO]: ==9863== --pid is optional if only one valgrind process is running [INFO]: ==9863== [INFO]: --9863-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9863-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9863-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9863-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9863-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9863-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9863-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9863-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9863-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9863-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9863-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9863-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9863-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9863-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9863-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9863-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9863-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9863-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9863-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9863-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9863-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9863== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9863== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9863== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9863== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9863-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9863-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9863-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9863-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9863-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9863-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9863-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9863-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9863-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9863-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9863-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9863-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9863-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9863-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9863-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9863-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9863-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9863-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9863-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9863== [INFO]: ==9863== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9863== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [INFO]: ==9863== [INFO]: ==9863== [INFO]: ==9863== (No origin, error cannot be suppressed) [INFO]: ==9863== [INFO]: ==9863== HEAP SUMMARY: [INFO]: ==9863== in use at exit: 0 bytes in 0 blocks [INFO]: ==9863== total heap usage: 5,404 allocs, 5,404 frees, 630,720 bytes allocated [INFO]: ==9863== [INFO]: ==9863== All heap blocks were freed -- no leaks are possible [INFO]: ==9863== [INFO]: ==9863== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________________ TC.test_fp_for_normalized ___________________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fp_check_test.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test file trusted with fixed-size hash of the normalized HTML [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized_hash.fp [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file: OK ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.376 sec (0 m 1 s) Start Date: 2024:06:28 10:43:55 End Date: 2024:06:28 10:43:57 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9865== Memcheck, a memory error detector [INFO]: ==9865== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9865== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9865== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized_hash.fp [INFO]: ==9865== Parent PID: 9803 [INFO]: ==9865== [INFO]: --9865-- [INFO]: --9865-- Valgrind options: [INFO]: --9865-- -v [INFO]: --9865-- --trace-children=yes [INFO]: --9865-- --track-fds=yes [INFO]: --9865-- --leak-check=full [INFO]: --9865-- --show-possibly-lost=no [INFO]: --9865-- --show-leak-kinds=definite [INFO]: --9865-- --errors-for-leak-kinds=definite [INFO]: --9865-- --main-stacksize=16777216 [INFO]: --9865-- --gen-suppressions=all [INFO]: --9865-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9865-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [INFO]: --9865-- --error-exitcode=123 [INFO]: --9865-- Contents of /proc/version: [INFO]: --9865-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9865-- [INFO]: --9865-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9865-- Page sizes: currently 4096, max supported 4096 [INFO]: --9865-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9865-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9865-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9865-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9865-- might be shown as UnknownInlinedFun [INFO]: --9865-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9865-- object doesn't have a dynamic symbol table [INFO]: --9865-- Scheduler: using generic scheduler lock implementation. [INFO]: --9865-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9865-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9865== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9865-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9865== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9865-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9865== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9865-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9865== [INFO]: ==9865== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9865== don't want to do, unless you know exactly what you're doing, [INFO]: ==9865== or are doing some strange experiment): [INFO]: ==9865== /usr/libexec/valgrind/../../bin/vgdb --pid=9865 ...command... [INFO]: ==9865== [INFO]: ==9865== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9865== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9865== and then give GDB the following command [INFO]: ==9865== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9865 [INFO]: ==9865== --pid is optional if only one valgrind process is running [INFO]: ==9865== [INFO]: --9865-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9865-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9865-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9865-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9865-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9865-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9865-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9865-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9865-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9865-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9865-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9865-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9865-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9865-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9865-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9865-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9865-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9865-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9865-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9865== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9865== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9865== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9865== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9865-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9865-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9865-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9865-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9865-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9865-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9865-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9865-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9865-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9865-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9865-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9865-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9865-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9865-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9865-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9865-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9865-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9865-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9865-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9865== [INFO]: ==9865== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9865== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [INFO]: ==9865== [INFO]: ==9865== [INFO]: ==9865== (No origin, error cannot be suppressed) [INFO]: ==9865== [INFO]: ==9865== HEAP SUMMARY: [INFO]: ==9865== in use at exit: 0 bytes in 0 blocks [INFO]: ==9865== total heap usage: 5,404 allocs, 5,404 frees, 630,717 bytes allocated [INFO]: ==9865== [INFO]: ==9865== All heap blocks were freed -- no leaks are possible [INFO]: ==9865== [INFO]: ==9865== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ________________________ TC.test_fp_for_normalized_wild ________________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fp_check_test.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test file trusted with wild-card hash of the normalized HTML [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized_hash.wild.fp [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file: OK ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.411 sec (0 m 1 s) Start Date: 2024:06:28 10:43:58 End Date: 2024:06:28 10:43:59 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9867== Memcheck, a memory error detector [INFO]: ==9867== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9867== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9867== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized_hash.wild.fp [INFO]: ==9867== Parent PID: 9803 [INFO]: ==9867== [INFO]: --9867-- [INFO]: --9867-- Valgrind options: [INFO]: --9867-- -v [INFO]: --9867-- --trace-children=yes [INFO]: --9867-- --track-fds=yes [INFO]: --9867-- --leak-check=full [INFO]: --9867-- --show-possibly-lost=no [INFO]: --9867-- --show-leak-kinds=definite [INFO]: --9867-- --errors-for-leak-kinds=definite [INFO]: --9867-- --main-stacksize=16777216 [INFO]: --9867-- --gen-suppressions=all [INFO]: --9867-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9867-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [INFO]: --9867-- --error-exitcode=123 [INFO]: --9867-- Contents of /proc/version: [INFO]: --9867-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9867-- [INFO]: --9867-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9867-- Page sizes: currently 4096, max supported 4096 [INFO]: --9867-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9867-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9867-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9867-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9867-- might be shown as UnknownInlinedFun [INFO]: --9867-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9867-- object doesn't have a dynamic symbol table [INFO]: --9867-- Scheduler: using generic scheduler lock implementation. [INFO]: --9867-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9867-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9867== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9867-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9867== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9867-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9867== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9867-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9867== [INFO]: ==9867== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9867== don't want to do, unless you know exactly what you're doing, [INFO]: ==9867== or are doing some strange experiment): [INFO]: ==9867== /usr/libexec/valgrind/../../bin/vgdb --pid=9867 ...command... [INFO]: ==9867== [INFO]: ==9867== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9867== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9867== and then give GDB the following command [INFO]: ==9867== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9867 [INFO]: ==9867== --pid is optional if only one valgrind process is running [INFO]: ==9867== [INFO]: --9867-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9867-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9867-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9867-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9867-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9867-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9867-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9867-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9867-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9867-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9867-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9867-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9867-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9867-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9867-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9867-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9867-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9867-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9867-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9867-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9867-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9867== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9867== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9867== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9867== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9867-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9867-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9867-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9867-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9867-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9867-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9867-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9867-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9867-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9867-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9867-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9867-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9867-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9867-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9867-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9867-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9867-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9867-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9867-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9867== [INFO]: ==9867== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9867== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [INFO]: ==9867== [INFO]: ==9867== [INFO]: ==9867== (No origin, error cannot be suppressed) [INFO]: ==9867== [INFO]: ==9867== HEAP SUMMARY: [INFO]: ==9867== in use at exit: 0 bytes in 0 blocks [INFO]: ==9867== total heap usage: 5,404 allocs, 5,404 frees, 630,722 bytes allocated [INFO]: ==9867== [INFO]: ==9867== All heap blocks were freed -- no leaks are possible [INFO]: ==9867== [INFO]: ==9867== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________________ TC.test_fp_for_zipped_file __________________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fp_check_test.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test file trusted with fixed-size hash of zip containing test file [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file.zip -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file.zip.hash.fp [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file.zip: OK ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.494 sec (0 m 1 s) Start Date: 2024:06:28 10:44:00 End Date: 2024:06:28 10:44:01 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9869== Memcheck, a memory error detector [INFO]: ==9869== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9869== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9869== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file.zip -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file.zip.hash.fp [INFO]: ==9869== Parent PID: 9803 [INFO]: ==9869== [INFO]: --9869-- [INFO]: --9869-- Valgrind options: [INFO]: --9869-- -v [INFO]: --9869-- --trace-children=yes [INFO]: --9869-- --track-fds=yes [INFO]: --9869-- --leak-check=full [INFO]: --9869-- --show-possibly-lost=no [INFO]: --9869-- --show-leak-kinds=definite [INFO]: --9869-- --errors-for-leak-kinds=definite [INFO]: --9869-- --main-stacksize=16777216 [INFO]: --9869-- --gen-suppressions=all [INFO]: --9869-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9869-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [INFO]: --9869-- --error-exitcode=123 [INFO]: --9869-- Contents of /proc/version: [INFO]: --9869-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9869-- [INFO]: --9869-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9869-- Page sizes: currently 4096, max supported 4096 [INFO]: --9869-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9869-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9869-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9869-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9869-- might be shown as UnknownInlinedFun [INFO]: --9869-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9869-- object doesn't have a dynamic symbol table [INFO]: --9869-- Scheduler: using generic scheduler lock implementation. [INFO]: --9869-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9869-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9869== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9869-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9869== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9869-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9869== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9869-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9869== [INFO]: ==9869== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9869== don't want to do, unless you know exactly what you're doing, [INFO]: ==9869== or are doing some strange experiment): [INFO]: ==9869== /usr/libexec/valgrind/../../bin/vgdb --pid=9869 ...command... [INFO]: ==9869== [INFO]: ==9869== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9869== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9869== and then give GDB the following command [INFO]: ==9869== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9869 [INFO]: ==9869== --pid is optional if only one valgrind process is running [INFO]: ==9869== [INFO]: --9869-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9869-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9869-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9869-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9869-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9869-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9869-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9869-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9869-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9869-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9869-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9869-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9869-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9869-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9869-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9869-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9869-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9869-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9869-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9869-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9869-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9869== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9869== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9869== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9869== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9869-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9869-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9869-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9869-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9869-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9869-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9869-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9869-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9869-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9869-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9869-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9869-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9869-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9869-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9869-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9869-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9869-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9869-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9869-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9869-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9869== [INFO]: ==9869== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9869== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [INFO]: ==9869== [INFO]: ==9869== [INFO]: ==9869== (No origin, error cannot be suppressed) [INFO]: ==9869== [INFO]: ==9869== HEAP SUMMARY: [INFO]: ==9869== in use at exit: 0 bytes in 0 blocks [INFO]: ==9869== total heap usage: 5,426 allocs, 5,426 frees, 678,350 bytes allocated [INFO]: ==9869== [INFO]: ==9869== All heap blocks were freed -- no leaks are possible [INFO]: ==9869== [INFO]: ==9869== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________________ TC.test_fp_for_zipped_file_wild ________________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fp_check_test.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test file trusted with wildcard hash of zip containing test file [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file.zip -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file.zip.hash.wild.fp [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file.zip: OK ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.471 sec (0 m 1 s) Start Date: 2024:06:28 10:44:02 End Date: 2024:06:28 10:44:04 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9871== Memcheck, a memory error detector [INFO]: ==9871== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9871== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9871== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file.zip -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/test_file.zip.hash.wild.fp [INFO]: ==9871== Parent PID: 9803 [INFO]: ==9871== [INFO]: --9871-- [INFO]: --9871-- Valgrind options: [INFO]: --9871-- -v [INFO]: --9871-- --trace-children=yes [INFO]: --9871-- --track-fds=yes [INFO]: --9871-- --leak-check=full [INFO]: --9871-- --show-possibly-lost=no [INFO]: --9871-- --show-leak-kinds=definite [INFO]: --9871-- --errors-for-leak-kinds=definite [INFO]: --9871-- --main-stacksize=16777216 [INFO]: --9871-- --gen-suppressions=all [INFO]: --9871-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9871-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [INFO]: --9871-- --error-exitcode=123 [INFO]: --9871-- Contents of /proc/version: [INFO]: --9871-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9871-- [INFO]: --9871-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9871-- Page sizes: currently 4096, max supported 4096 [INFO]: --9871-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9871-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9871-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9871-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9871-- might be shown as UnknownInlinedFun [INFO]: --9871-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9871-- object doesn't have a dynamic symbol table [INFO]: --9871-- Scheduler: using generic scheduler lock implementation. [INFO]: --9871-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9871-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9871== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9871-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9871== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9871-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9871== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9871-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9871== [INFO]: ==9871== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9871== don't want to do, unless you know exactly what you're doing, [INFO]: ==9871== or are doing some strange experiment): [INFO]: ==9871== /usr/libexec/valgrind/../../bin/vgdb --pid=9871 ...command... [INFO]: ==9871== [INFO]: ==9871== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9871== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9871== and then give GDB the following command [INFO]: ==9871== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9871 [INFO]: ==9871== --pid is optional if only one valgrind process is running [INFO]: ==9871== [INFO]: --9871-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9871-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9871-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9871-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9871-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9871-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9871-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9871-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9871-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9871-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9871-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9871-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9871-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9871-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9871-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9871-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9871-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9871-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9871-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9871-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9871-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9871== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9871== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9871== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9871== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9871-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9871-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9871-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9871-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9871-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9871-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9871-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9871-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9871-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9871-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9871-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9871-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9871-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9871-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9871-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9871-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9871-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9871-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9871-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9871-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9871== [INFO]: ==9871== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9871== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip/valgrind.log [INFO]: ==9871== [INFO]: ==9871== [INFO]: ==9871== (No origin, error cannot be suppressed) [INFO]: ==9871== [INFO]: ==9871== HEAP SUMMARY: [INFO]: ==9871== in use at exit: 0 bytes in 0 blocks [INFO]: ==9871== total heap usage: 5,426 allocs, 5,426 frees, 678,355 bytes allocated [INFO]: ==9871== [INFO]: ==9871== All heap blocks were freed -- no leaks are possible [INFO]: ==9871== [INFO]: ==9871== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-prcqwzip __________________________ TC.test_sigs_bad_algorithm __________________________ self = def test_sigs_bad_algorithm(self): self.step_name('Test invalid fuzzy image hash algorithm') # invalid algorithm (TC.path_tmp / 'invalid-alg.ldb').write_text( "logo.png.bad;Engine:150-255,Target:0;0;fuzzy_imgy#af2ad01ed42993c7#0\n" ) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'invalid-alg.ldb', testfiles=TC.testfiles, ) output = self.execute_command(command) > assert output.ec == 2 # error E assert 123 == 2 E + where 123 = CmdResult(ec=123, out='\n----------- SCAN SUMMARY -----------\nKnown viruses: 0\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 0\nInfected files: 0\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 0.823 sec (0 m 0 s)\nStart Date: 2024:06:28 10:44:04\nEnd Date: 2024:06:28 10:44:05\n', err="LibClamAV Error: cli_mpool_hex2ui(): Malformed hexstring: fuzzy_imgy#af2ad01ed42993c7#0 (length: 29)\nLibClamAV Error: cli_add_content_match_pattern: Problem adding signature (3).\nLibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad\nLibClamAV Error: Problem parsing database at line 1\nLibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-alg.ldb: Malformed database\nERROR: Malformed database\n").ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fuzzy_img_hash_test.py:133: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test invalid fuzzy image hash algorithm [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-alg.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 0 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.823 sec (0 m 0 s) Start Date: 2024:06:28 10:44:04 End Date: 2024:06:28 10:44:05 [DEBUG]: stderr: LibClamAV Error: cli_mpool_hex2ui(): Malformed hexstring: fuzzy_imgy#af2ad01ed42993c7#0 (length: 29) LibClamAV Error: cli_add_content_match_pattern: Problem adding signature (3). LibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad LibClamAV Error: Problem parsing database at line 1 LibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-alg.ldb: Malformed database ERROR: Malformed database [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9873== Memcheck, a memory error detector [INFO]: ==9873== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9873== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9873== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-alg.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [INFO]: ==9873== Parent PID: 9803 [INFO]: ==9873== [INFO]: --9873-- [INFO]: --9873-- Valgrind options: [INFO]: --9873-- -v [INFO]: --9873-- --trace-children=yes [INFO]: --9873-- --track-fds=yes [INFO]: --9873-- --leak-check=full [INFO]: --9873-- --show-possibly-lost=no [INFO]: --9873-- --show-leak-kinds=definite [INFO]: --9873-- --errors-for-leak-kinds=definite [INFO]: --9873-- --main-stacksize=16777216 [INFO]: --9873-- --gen-suppressions=all [INFO]: --9873-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9873-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [INFO]: --9873-- --error-exitcode=123 [INFO]: --9873-- Contents of /proc/version: [INFO]: --9873-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9873-- [INFO]: --9873-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9873-- Page sizes: currently 4096, max supported 4096 [INFO]: --9873-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9873-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9873-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9873-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9873-- might be shown as UnknownInlinedFun [INFO]: --9873-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9873-- object doesn't have a dynamic symbol table [INFO]: --9873-- Scheduler: using generic scheduler lock implementation. [INFO]: --9873-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9873-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9873== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9873-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9873== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9873-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9873== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9873-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9873== [INFO]: ==9873== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9873== don't want to do, unless you know exactly what you're doing, [INFO]: ==9873== or are doing some strange experiment): [INFO]: ==9873== /usr/libexec/valgrind/../../bin/vgdb --pid=9873 ...command... [INFO]: ==9873== [INFO]: ==9873== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9873== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9873== and then give GDB the following command [INFO]: ==9873== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9873 [INFO]: ==9873== --pid is optional if only one valgrind process is running [INFO]: ==9873== [INFO]: --9873-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9873-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9873-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9873-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9873-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9873-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9873-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9873-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9873-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9873-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9873-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9873-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9873-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9873-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9873-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9873-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9873-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9873-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9873-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9873-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9873-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9873== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9873== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9873== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9873== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9873-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9873-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9873-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9873-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9873-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9873-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9873-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9873-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9873-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9873-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9873-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9873-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9873-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9873-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9873== [INFO]: ==9873== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9873== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [INFO]: ==9873== [INFO]: ==9873== [INFO]: ==9873== (No origin, error cannot be suppressed) [INFO]: ==9873== [INFO]: ==9873== HEAP SUMMARY: [INFO]: ==9873== in use at exit: 0 bytes in 0 blocks [INFO]: ==9873== total heap usage: 459 allocs, 459 frees, 295,172 bytes allocated [INFO]: ==9873== [INFO]: ==9873== All heap blocks were freed -- no leaks are possible [INFO]: ==9873== [INFO]: ==9873== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ___________________________ TC.test_sigs_bad_hamming ___________________________ self = def test_sigs_bad_hamming(self): self.step_name('Test Unsupported hamming distancee') # Unsupported hamming distance (TC.path_tmp / 'invalid-ham.ldb').write_text( "logo.png.bad;Engine:150-255,Target:0;0;fuzzy_img#af2ad01ed42993c7#1\n" ) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'invalid-ham.ldb', testfiles=TC.testfiles, ) output = self.execute_command(command) > assert output.ec == 2 # error E assert 123 == 2 E + where 123 = CmdResult(ec=123, out='\n----------- SCAN SUMMARY -----------\nKnown viruses: 0\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 0\nInfected files: 0\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 0.822 sec (0 m 0 s)\nStart Date: 2024:06:28 10:44:06\nEnd Date: 2024:06:28 10:44:07\n', err="LibClamAV Error: Non-zero hamming distances for image fuzzy hashes are not supported in this version.\nLibClamAV Error: Failed to load fuzzy hash logical subsignature 'fuzzy_img#af2ad01ed42993c7#1': Invalid hamming distance: 1\nExpected format: algorithm#hash[#hammingdistance]\n where\n - algorithm: Must be 'fuzzy_img'\n - hash: Must be an 8-byte hex string\n - hammingdistance: (optional) Must be an unsigned integer\nLibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad\nLibClamAV Error: Problem parsing database at line 1\nLibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-ham.ldb: Bad format or broken data\nERROR: Bad format or broken data\n").ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fuzzy_img_hash_test.py:107: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test Unsupported hamming distancee [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-ham.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 0 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.822 sec (0 m 0 s) Start Date: 2024:06:28 10:44:06 End Date: 2024:06:28 10:44:07 [DEBUG]: stderr: LibClamAV Error: Non-zero hamming distances for image fuzzy hashes are not supported in this version. LibClamAV Error: Failed to load fuzzy hash logical subsignature 'fuzzy_img#af2ad01ed42993c7#1': Invalid hamming distance: 1 Expected format: algorithm#hash[#hammingdistance] where - algorithm: Must be 'fuzzy_img' - hash: Must be an 8-byte hex string - hammingdistance: (optional) Must be an unsigned integer LibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad LibClamAV Error: Problem parsing database at line 1 LibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-ham.ldb: Bad format or broken data ERROR: Bad format or broken data [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9875== Memcheck, a memory error detector [INFO]: ==9875== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9875== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9875== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-ham.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [INFO]: ==9875== Parent PID: 9803 [INFO]: ==9875== [INFO]: --9875-- [INFO]: --9875-- Valgrind options: [INFO]: --9875-- -v [INFO]: --9875-- --trace-children=yes [INFO]: --9875-- --track-fds=yes [INFO]: --9875-- --leak-check=full [INFO]: --9875-- --show-possibly-lost=no [INFO]: --9875-- --show-leak-kinds=definite [INFO]: --9875-- --errors-for-leak-kinds=definite [INFO]: --9875-- --main-stacksize=16777216 [INFO]: --9875-- --gen-suppressions=all [INFO]: --9875-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9875-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [INFO]: --9875-- --error-exitcode=123 [INFO]: --9875-- Contents of /proc/version: [INFO]: --9875-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9875-- [INFO]: --9875-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9875-- Page sizes: currently 4096, max supported 4096 [INFO]: --9875-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9875-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9875-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9875-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9875-- might be shown as UnknownInlinedFun [INFO]: --9875-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9875-- object doesn't have a dynamic symbol table [INFO]: --9875-- Scheduler: using generic scheduler lock implementation. [INFO]: --9875-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9875-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9875== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9875-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9875== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9875-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9875== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9875-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9875== [INFO]: ==9875== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9875== don't want to do, unless you know exactly what you're doing, [INFO]: ==9875== or are doing some strange experiment): [INFO]: ==9875== /usr/libexec/valgrind/../../bin/vgdb --pid=9875 ...command... [INFO]: ==9875== [INFO]: ==9875== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9875== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9875== and then give GDB the following command [INFO]: ==9875== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9875 [INFO]: ==9875== --pid is optional if only one valgrind process is running [INFO]: ==9875== [INFO]: --9875-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9875-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9875-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9875-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9875-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9875-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9875-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9875-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9875-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9875-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9875-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9875-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9875-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9875-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9875-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9875-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9875-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9875-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9875-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9875-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9875-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9875== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9875== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9875== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9875== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9875-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9875-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9875-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9875-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9875-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9875-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9875-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9875-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9875-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9875-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9875-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9875-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9875-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9875-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9875== [INFO]: ==9875== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9875== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [INFO]: ==9875== [INFO]: ==9875== [INFO]: ==9875== (No origin, error cannot be suppressed) [INFO]: ==9875== [INFO]: ==9875== HEAP SUMMARY: [INFO]: ==9875== in use at exit: 0 bytes in 0 blocks [INFO]: ==9875== total heap usage: 467 allocs, 467 frees, 295,712 bytes allocated [INFO]: ==9875== [INFO]: ==9875== All heap blocks were freed -- no leaks are possible [INFO]: ==9875== [INFO]: ==9875== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________________ TC.test_sigs_bad_hash _____________________________ self = def test_sigs_bad_hash(self): self.step_name('Test Invalid hash') # Invalid hash (TC.path_tmp / 'invalid-hash.ldb').write_text( "logo.png.bad;Engine:150-255,Target:0;0;fuzzy_img#abcdef#0\n" ) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'invalid-hash.ldb', testfiles=TC.testfiles, ) output = self.execute_command(command) > assert output.ec == 2 # error E assert 123 == 2 E + where 123 = CmdResult(ec=123, out='\n----------- SCAN SUMMARY -----------\nKnown viruses: 0\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 0\nInfected files: 0\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 0.820 sec (0 m 0 s)\nStart Date: 2024:06:28 10:44:08\nEnd Date: 2024:06:28 10:44:09\n', err="LibClamAV Error: Failed to load fuzzy hash logical subsignature 'fuzzy_img#abcdef#0': Invalid hash: Image fuzzy hash must be 16 characters in length: abcdef\nExpected format: algorithm#hash[#hammingdistance]\n where\n - algorithm: Must be 'fuzzy_img'\n - hash: Must be an 8-byte hex string\n - hammingdistance: (optional) Must be an unsigned integer\nLibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad\nLibClamAV Error: Problem parsing database at line 1\nLibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-hash.ldb: Bad format or broken data\nERROR: Bad format or broken data\n").ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fuzzy_img_hash_test.py:81: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test Invalid hash [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-hash.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 0 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.820 sec (0 m 0 s) Start Date: 2024:06:28 10:44:08 End Date: 2024:06:28 10:44:09 [DEBUG]: stderr: LibClamAV Error: Failed to load fuzzy hash logical subsignature 'fuzzy_img#abcdef#0': Invalid hash: Image fuzzy hash must be 16 characters in length: abcdef Expected format: algorithm#hash[#hammingdistance] where - algorithm: Must be 'fuzzy_img' - hash: Must be an 8-byte hex string - hammingdistance: (optional) Must be an unsigned integer LibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad LibClamAV Error: Problem parsing database at line 1 LibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-hash.ldb: Bad format or broken data ERROR: Bad format or broken data [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9877== Memcheck, a memory error detector [INFO]: ==9877== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9877== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9877== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/invalid-hash.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [INFO]: ==9877== Parent PID: 9803 [INFO]: ==9877== [INFO]: --9877-- [INFO]: --9877-- Valgrind options: [INFO]: --9877-- -v [INFO]: --9877-- --trace-children=yes [INFO]: --9877-- --track-fds=yes [INFO]: --9877-- --leak-check=full [INFO]: --9877-- --show-possibly-lost=no [INFO]: --9877-- --show-leak-kinds=definite [INFO]: --9877-- --errors-for-leak-kinds=definite [INFO]: --9877-- --main-stacksize=16777216 [INFO]: --9877-- --gen-suppressions=all [INFO]: --9877-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9877-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [INFO]: --9877-- --error-exitcode=123 [INFO]: --9877-- Contents of /proc/version: [INFO]: --9877-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9877-- [INFO]: --9877-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9877-- Page sizes: currently 4096, max supported 4096 [INFO]: --9877-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9877-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9877-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9877-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9877-- might be shown as UnknownInlinedFun [INFO]: --9877-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9877-- object doesn't have a dynamic symbol table [INFO]: --9877-- Scheduler: using generic scheduler lock implementation. [INFO]: --9877-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9877-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9877== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9877-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9877== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9877-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9877== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9877-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9877== [INFO]: ==9877== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9877== don't want to do, unless you know exactly what you're doing, [INFO]: ==9877== or are doing some strange experiment): [INFO]: ==9877== /usr/libexec/valgrind/../../bin/vgdb --pid=9877 ...command... [INFO]: ==9877== [INFO]: ==9877== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9877== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9877== and then give GDB the following command [INFO]: ==9877== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9877 [INFO]: ==9877== --pid is optional if only one valgrind process is running [INFO]: ==9877== [INFO]: --9877-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9877-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9877-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9877-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9877-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9877-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9877-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9877-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9877-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9877-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9877-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9877-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9877-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9877-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9877-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9877-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9877-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9877-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9877-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9877-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9877-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9877== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9877== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9877== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9877== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9877-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9877-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9877-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9877-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9877-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9877-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9877-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9877-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9877-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9877-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9877-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9877-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9877-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9877-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9877== [INFO]: ==9877== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9877== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [INFO]: ==9877== [INFO]: ==9877== [INFO]: ==9877== (No origin, error cannot be suppressed) [INFO]: ==9877== [INFO]: ==9877== HEAP SUMMARY: [INFO]: ==9877== in use at exit: 0 bytes in 0 blocks [INFO]: ==9877== total heap usage: 466 allocs, 466 frees, 295,568 bytes allocated [INFO]: ==9877== [INFO]: ==9877== All heap blocks were freed -- no leaks are possible [INFO]: ==9877== [INFO]: ==9877== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________________ TC.test_sigs_good_allmatch __________________________ self = def test_sigs_good_allmatch(self): self.step_name('Test with a good database in all-match mode.') (TC.path_tmp / 'good.ldb').write_text( "logo.png.good;Engine:150-255,Target:0;0;fuzzy_img#af2ad01ed42993c7#0\n" "logo.png.bad.with.second.subsig;Engine:150-255,Target:0;0&1;deadbeef;fuzzy_img#af2ad01ed42993c7#0\n" "logo.png.good.with.second.subsig;Engine:150-255,Target:0;0&1;49484452;fuzzy_img#af2ad01ed42993c7#0\n" ) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'good.ldb', testfiles=TC.testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/logo.png: logo.png.good.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/logo.png: logo.png.good.with.second.subsig.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 3\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.02 MB\nData read: 0.02 MB (ratio 1.00:1)\nTime: 1.815 sec (0 m 1 s)\nStart Date: 2024:06:28 10:44:10\nEnd Date: 2024:06:28 10:44:11\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fuzzy_img_hash_test.py:52: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test with a good database in all-match mode. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/good.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/logo.png: logo.png.good.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/logo.png: logo.png.good.with.second.subsig.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 3 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.02 MB Data read: 0.02 MB (ratio 1.00:1) Time: 1.815 sec (0 m 1 s) Start Date: 2024:06:28 10:44:10 End Date: 2024:06:28 10:44:11 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9879== Memcheck, a memory error detector [INFO]: ==9879== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9879== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9879== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/good.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [INFO]: ==9879== Parent PID: 9803 [INFO]: ==9879== [INFO]: --9879-- [INFO]: --9879-- Valgrind options: [INFO]: --9879-- -v [INFO]: --9879-- --trace-children=yes [INFO]: --9879-- --track-fds=yes [INFO]: --9879-- --leak-check=full [INFO]: --9879-- --show-possibly-lost=no [INFO]: --9879-- --show-leak-kinds=definite [INFO]: --9879-- --errors-for-leak-kinds=definite [INFO]: --9879-- --main-stacksize=16777216 [INFO]: --9879-- --gen-suppressions=all [INFO]: --9879-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9879-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [INFO]: --9879-- --error-exitcode=123 [INFO]: --9879-- Contents of /proc/version: [INFO]: --9879-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9879-- [INFO]: --9879-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9879-- Page sizes: currently 4096, max supported 4096 [INFO]: --9879-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9879-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9879-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9879-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9879-- might be shown as UnknownInlinedFun [INFO]: --9879-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9879-- object doesn't have a dynamic symbol table [INFO]: --9879-- Scheduler: using generic scheduler lock implementation. [INFO]: --9879-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9879-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9879== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9879-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9879== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9879-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9879== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9879-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9879== [INFO]: ==9879== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9879== don't want to do, unless you know exactly what you're doing, [INFO]: ==9879== or are doing some strange experiment): [INFO]: ==9879== /usr/libexec/valgrind/../../bin/vgdb --pid=9879 ...command... [INFO]: ==9879== [INFO]: ==9879== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9879== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9879== and then give GDB the following command [INFO]: ==9879== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9879 [INFO]: ==9879== --pid is optional if only one valgrind process is running [INFO]: ==9879== [INFO]: --9879-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9879-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9879-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9879-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9879-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9879-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9879-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9879-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9879-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9879-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9879-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9879-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9879-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9879-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9879-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9879-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9879-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9879-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9879-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9879-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9879-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9879== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9879== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9879== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9879== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9879-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9879-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9879-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9879-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9879-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9879-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9879-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9879-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9879-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9879-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9879-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9879-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9879-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9879-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9879-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9879-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9879-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9879-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9879-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9879== [INFO]: ==9879== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9879== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-71l1c1rr/valgrind.log [INFO]: ==9879== [INFO]: ==9879== [INFO]: ==9879== (No origin, error cannot be suppressed) [INFO]: ==9879== [INFO]: ==9879== HEAP SUMMARY: [INFO]: ==9879== in use at exit: 0 bytes in 0 blocks [INFO]: ==9879== total heap usage: 5,427 allocs, 5,427 frees, 2,033,400 bytes allocated [INFO]: ==9879== [INFO]: ==9879== All heap blocks were freed -- no leaks are possible [INFO]: ==9879== [INFO]: ==9879== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________________________ TC.test_allmatch _______________________________ self = def test_allmatch(self): ''' This test uses a ZIP that has two things: 1. malformed file that will alert with --alert-broken-media 2. the clam.exe file that will alert normally. The idea is that since the malformed file is first, the heuristic alert will be encountered first. In this test we use --allmatch but we don't use --heuristic-scan-precedence. That means the NDB sig should alert first, even though the heuristic is encountered first. Note the verify_output() uses STRICT_ORDER. ''' self.step_name('Test that a clam heuristic alert will alert LAST in allmatch mode without heuristic-precedence.') testfile = TC.heuristics_testfile command = '{valgrind} {valgrind_args} {clamscan} -d {clam_exe_db} {testfiles} --alert-broken-media \ --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, clam_exe_db=TC.path_tmp / 'clam.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.01 MB\nData read: 0.00 MB (ratio 2.00:1)\nTime: 1.720 sec (0 m 1 s)\nStart Date: 2024:06:28 10:44:12\nEnd Date: 2024:06:28 10:44:14\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:158: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a clam heuristic alert will alert LAST in allmatch mode without heuristic-precedence. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.01 MB Data read: 0.00 MB (ratio 2.00:1) Time: 1.720 sec (0 m 1 s) Start Date: 2024:06:28 10:44:12 End Date: 2024:06:28 10:44:14 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9881== Memcheck, a memory error detector [INFO]: ==9881== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9881== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9881== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media --allmatch [INFO]: ==9881== Parent PID: 9803 [INFO]: ==9881== [INFO]: --9881-- [INFO]: --9881-- Valgrind options: [INFO]: --9881-- -v [INFO]: --9881-- --trace-children=yes [INFO]: --9881-- --track-fds=yes [INFO]: --9881-- --leak-check=full [INFO]: --9881-- --show-possibly-lost=no [INFO]: --9881-- --show-leak-kinds=definite [INFO]: --9881-- --errors-for-leak-kinds=definite [INFO]: --9881-- --main-stacksize=16777216 [INFO]: --9881-- --gen-suppressions=all [INFO]: --9881-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9881-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: --9881-- --error-exitcode=123 [INFO]: --9881-- Contents of /proc/version: [INFO]: --9881-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9881-- [INFO]: --9881-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9881-- Page sizes: currently 4096, max supported 4096 [INFO]: --9881-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9881-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9881-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9881-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9881-- might be shown as UnknownInlinedFun [INFO]: --9881-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9881-- object doesn't have a dynamic symbol table [INFO]: --9881-- Scheduler: using generic scheduler lock implementation. [INFO]: --9881-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9881-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9881== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9881-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9881== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9881-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9881== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9881-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9881== [INFO]: ==9881== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9881== don't want to do, unless you know exactly what you're doing, [INFO]: ==9881== or are doing some strange experiment): [INFO]: ==9881== /usr/libexec/valgrind/../../bin/vgdb --pid=9881 ...command... [INFO]: ==9881== [INFO]: ==9881== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9881== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9881== and then give GDB the following command [INFO]: ==9881== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9881 [INFO]: ==9881== --pid is optional if only one valgrind process is running [INFO]: ==9881== [INFO]: --9881-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9881-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9881-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9881-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9881-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9881-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9881-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9881-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9881-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9881-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9881-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9881-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9881-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9881-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9881-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9881-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9881-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9881-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9881-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9881== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9881== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9881== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9881== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9881-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9881-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9881-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9881-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9881-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9881-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9881-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9881-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9881-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9881-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9881-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9881-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9881-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9881-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9881-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9881-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9881-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9881-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9881-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9881-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9881== [INFO]: ==9881== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9881== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: ==9881== [INFO]: ==9881== [INFO]: ==9881== (No origin, error cannot be suppressed) [INFO]: ==9881== [INFO]: ==9881== HEAP SUMMARY: [INFO]: ==9881== in use at exit: 0 bytes in 0 blocks [INFO]: ==9881== total heap usage: 5,439 allocs, 5,439 frees, 1,153,118 bytes allocated [INFO]: ==9881== [INFO]: ==9881== All heap blocks were freed -- no leaks are possible [INFO]: ==9881== [INFO]: ==9881== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________ TC.test_allmatch_precedence __________________________ self = def test_allmatch_precedence(self): ''' This test uses a ZIP that has two things: 1. malformed file that will alert with --alert-broken-media 2. the clam.exe file that will alert normally. The idea is that since the malformed file is first, the heuristic alert will be encountered first. In this test we use --allmatch AND we use --heuristic-scan-precedence. That means the heuristic is encountered first and should be treated equally, so it should alert first. Note the verify_output() uses STRICT_ORDER. ''' self.step_name('Test that a clam heuristic alert will alert FIRST in allmatch mode with heuristic-precedence.') testfile = TC.heuristics_testfile command = '{valgrind} {valgrind_args} {clamscan} -d {clam_exe_db} {testfiles} --alert-broken-media \ --allmatch \ --heuristic-scan-precedence'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, clam_exe_db=TC.path_tmp / 'clam.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.01 MB\nData read: 0.00 MB (ratio 2.00:1)\nTime: 1.714 sec (0 m 1 s)\nStart Date: 2024:06:28 10:44:15\nEnd Date: 2024:06:28 10:44:17\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:190: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a clam heuristic alert will alert FIRST in allmatch mode with heuristic-precedence. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media --allmatch --heuristic-scan-precedence [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.01 MB Data read: 0.00 MB (ratio 2.00:1) Time: 1.714 sec (0 m 1 s) Start Date: 2024:06:28 10:44:15 End Date: 2024:06:28 10:44:17 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9883== Memcheck, a memory error detector [INFO]: ==9883== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9883== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9883== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media --allmatch --heuristic-scan-precedence [INFO]: ==9883== Parent PID: 9803 [INFO]: ==9883== [INFO]: --9883-- [INFO]: --9883-- Valgrind options: [INFO]: --9883-- -v [INFO]: --9883-- --trace-children=yes [INFO]: --9883-- --track-fds=yes [INFO]: --9883-- --leak-check=full [INFO]: --9883-- --show-possibly-lost=no [INFO]: --9883-- --show-leak-kinds=definite [INFO]: --9883-- --errors-for-leak-kinds=definite [INFO]: --9883-- --main-stacksize=16777216 [INFO]: --9883-- --gen-suppressions=all [INFO]: --9883-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9883-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: --9883-- --error-exitcode=123 [INFO]: --9883-- Contents of /proc/version: [INFO]: --9883-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9883-- [INFO]: --9883-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9883-- Page sizes: currently 4096, max supported 4096 [INFO]: --9883-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9883-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9883-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9883-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9883-- might be shown as UnknownInlinedFun [INFO]: --9883-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9883-- object doesn't have a dynamic symbol table [INFO]: --9883-- Scheduler: using generic scheduler lock implementation. [INFO]: --9883-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9883-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9883== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9883-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9883== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9883-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9883== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9883-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9883== [INFO]: ==9883== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9883== don't want to do, unless you know exactly what you're doing, [INFO]: ==9883== or are doing some strange experiment): [INFO]: ==9883== /usr/libexec/valgrind/../../bin/vgdb --pid=9883 ...command... [INFO]: ==9883== [INFO]: ==9883== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9883== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9883== and then give GDB the following command [INFO]: ==9883== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9883 [INFO]: ==9883== --pid is optional if only one valgrind process is running [INFO]: ==9883== [INFO]: --9883-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9883-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9883-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9883-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9883-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9883-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9883-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9883-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9883-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9883-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9883-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9883-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9883-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9883-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9883-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9883-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9883-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9883-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9883-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9883-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9883-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9883== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9883== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9883== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9883== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9883-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9883-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9883-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9883-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9883-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9883-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9883-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9883-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9883-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9883-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9883-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9883-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9883-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9883-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9883-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9883-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9883-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9883-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9883-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9883-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9883== [INFO]: ==9883== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9883== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: ==9883== [INFO]: ==9883== [INFO]: ==9883== (No origin, error cannot be suppressed) [INFO]: ==9883== [INFO]: ==9883== HEAP SUMMARY: [INFO]: ==9883== in use at exit: 0 bytes in 0 blocks [INFO]: ==9883== total heap usage: 5,438 allocs, 5,438 frees, 1,152,914 bytes allocated [INFO]: ==9883== [INFO]: ==9883== All heap blocks were freed -- no leaks are possible [INFO]: ==9883== [INFO]: ==9883== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________ TC.test_hidden_by_strong_indicator ______________________ self = def test_hidden_by_strong_indicator(self): ''' This test uses a ZIP that has two things: 1. malformed file that will alert with --alert-broken-media 2. the clam.exe file that will alert normally. The idea is that since the malformed file is first, the heuristic alert will be encountered first. In this test the heuristic alert must not alert because neither allmatch is specified, nor --heuristic-scan-precedence ''' self.step_name('Test that a clam heuristic not alert because regular sig alerts first.') testfile = TC.heuristics_testfile command = '{valgrind} {valgrind_args} {clamscan} -d {clam_exe_db} {testfiles} --alert-broken-media'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, clam_exe_db=TC.path_tmp / 'clam.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 1.00:1)\nTime: 1.635 sec (0 m 1 s)\nStart Date: 2024:06:28 10:44:17\nEnd Date: 2024:06:28 10:44:19\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:70: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a clam heuristic not alert because regular sig alerts first. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 1.00:1) Time: 1.635 sec (0 m 1 s) Start Date: 2024:06:28 10:44:17 End Date: 2024:06:28 10:44:19 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9885== Memcheck, a memory error detector [INFO]: ==9885== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9885== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9885== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media [INFO]: ==9885== Parent PID: 9803 [INFO]: ==9885== [INFO]: --9885-- [INFO]: --9885-- Valgrind options: [INFO]: --9885-- -v [INFO]: --9885-- --trace-children=yes [INFO]: --9885-- --track-fds=yes [INFO]: --9885-- --leak-check=full [INFO]: --9885-- --show-possibly-lost=no [INFO]: --9885-- --show-leak-kinds=definite [INFO]: --9885-- --errors-for-leak-kinds=definite [INFO]: --9885-- --main-stacksize=16777216 [INFO]: --9885-- --gen-suppressions=all [INFO]: --9885-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9885-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: --9885-- --error-exitcode=123 [INFO]: --9885-- Contents of /proc/version: [INFO]: --9885-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9885-- [INFO]: --9885-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9885-- Page sizes: currently 4096, max supported 4096 [INFO]: --9885-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9885-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9885-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9885-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9885-- might be shown as UnknownInlinedFun [INFO]: --9885-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9885-- object doesn't have a dynamic symbol table [INFO]: --9885-- Scheduler: using generic scheduler lock implementation. [INFO]: --9885-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9885-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9885== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9885-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9885== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9885-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9885== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9885-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9885== [INFO]: ==9885== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9885== don't want to do, unless you know exactly what you're doing, [INFO]: ==9885== or are doing some strange experiment): [INFO]: ==9885== /usr/libexec/valgrind/../../bin/vgdb --pid=9885 ...command... [INFO]: ==9885== [INFO]: ==9885== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9885== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9885== and then give GDB the following command [INFO]: ==9885== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9885 [INFO]: ==9885== --pid is optional if only one valgrind process is running [INFO]: ==9885== [INFO]: --9885-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9885-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9885-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9885-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9885-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9885-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9885-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9885-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9885-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9885-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9885-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9885-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9885-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9885-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9885-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9885-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9885-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9885-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9885-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9885-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9885-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9885== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9885== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9885== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9885== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9885-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9885-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9885-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9885-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9885-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9885-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9885-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9885-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9885-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9885-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9885-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9885-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9885-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9885-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9885-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9885-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9885-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9885-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9885-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9885-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9885== [INFO]: ==9885== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9885== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: ==9885== [INFO]: ==9885== [INFO]: ==9885== (No origin, error cannot be suppressed) [INFO]: ==9885== [INFO]: ==9885== HEAP SUMMARY: [INFO]: ==9885== in use at exit: 0 bytes in 0 blocks [INFO]: ==9885== total heap usage: 5,423 allocs, 5,423 frees, 1,149,519 bytes allocated [INFO]: ==9885== [INFO]: ==9885== All heap blocks were freed -- no leaks are possible [INFO]: ==9885== [INFO]: ==9885== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________________ TC.test_only_heur _______________________________ self = def test_only_heur(self): ''' This test uses a ZIP that has two things: 1. malformed file that will alert with --alert-broken-media 2. the clam.exe file that will alert normally. The idea is that since the malformed file is first, the heuristic alert will be encountered first. In this test the heuristic alert must alert because we don't use the sig for the other file. ''' self.step_name('Test that a clam heuristic will alert, because it is the only detection.') testfile = TC.heuristics_testfile # Add an empty NDB file, because we need to pass in some sort of database. (TC.path_tmp / 'empty.ndb').write_text( "# Just a comment\n" ) command = '{valgrind} {valgrind_args} {clamscan} -d {clam_exe_db} {testfiles} --alert-broken-media'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, clam_exe_db=TC.path_tmp / 'empty.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 0\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.01 MB\nData read: 0.00 MB (ratio 2.00:1)\nTime: 1.646 sec (0 m 1 s)\nStart Date: 2024:06:28 10:44:20\nEnd Date: 2024:06:28 10:44:22\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:101: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a clam heuristic will alert, because it is the only detection. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/empty.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.01 MB Data read: 0.00 MB (ratio 2.00:1) Time: 1.646 sec (0 m 1 s) Start Date: 2024:06:28 10:44:20 End Date: 2024:06:28 10:44:22 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9887== Memcheck, a memory error detector [INFO]: ==9887== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9887== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9887== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/empty.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media [INFO]: ==9887== Parent PID: 9803 [INFO]: ==9887== [INFO]: --9887-- [INFO]: --9887-- Valgrind options: [INFO]: --9887-- -v [INFO]: --9887-- --trace-children=yes [INFO]: --9887-- --track-fds=yes [INFO]: --9887-- --leak-check=full [INFO]: --9887-- --show-possibly-lost=no [INFO]: --9887-- --show-leak-kinds=definite [INFO]: --9887-- --errors-for-leak-kinds=definite [INFO]: --9887-- --main-stacksize=16777216 [INFO]: --9887-- --gen-suppressions=all [INFO]: --9887-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9887-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: --9887-- --error-exitcode=123 [INFO]: --9887-- Contents of /proc/version: [INFO]: --9887-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9887-- [INFO]: --9887-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9887-- Page sizes: currently 4096, max supported 4096 [INFO]: --9887-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9887-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9887-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9887-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9887-- might be shown as UnknownInlinedFun [INFO]: --9887-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9887-- object doesn't have a dynamic symbol table [INFO]: --9887-- Scheduler: using generic scheduler lock implementation. [INFO]: --9887-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9887-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9887== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9887-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9887== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9887-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9887== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9887-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9887== [INFO]: ==9887== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9887== don't want to do, unless you know exactly what you're doing, [INFO]: ==9887== or are doing some strange experiment): [INFO]: ==9887== /usr/libexec/valgrind/../../bin/vgdb --pid=9887 ...command... [INFO]: ==9887== [INFO]: ==9887== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9887== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9887== and then give GDB the following command [INFO]: ==9887== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9887 [INFO]: ==9887== --pid is optional if only one valgrind process is running [INFO]: ==9887== [INFO]: --9887-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9887-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9887-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9887-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9887-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9887-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9887-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9887-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9887-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9887-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9887-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9887-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9887-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9887-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9887-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9887-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9887-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9887-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9887-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9887-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9887-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9887== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9887== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9887== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9887== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9887-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9887-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9887-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9887-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9887-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9887-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9887-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9887-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9887-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9887-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9887-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9887-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9887-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9887-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9887-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9887-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9887-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9887-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9887-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9887== [INFO]: ==9887== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9887== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: ==9887== [INFO]: ==9887== [INFO]: ==9887== (No origin, error cannot be suppressed) [INFO]: ==9887== [INFO]: ==9887== HEAP SUMMARY: [INFO]: ==9887== in use at exit: 0 bytes in 0 blocks [INFO]: ==9887== total heap usage: 5,436 allocs, 5,436 frees, 1,152,864 bytes allocated [INFO]: ==9887== [INFO]: ==9887== All heap blocks were freed -- no leaks are possible [INFO]: ==9887== [INFO]: ==9887== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________________ TC.test_precedence ______________________________ self = def test_precedence(self): ''' This test uses a ZIP that has two things: 1. malformed file that will alert with --alert-broken-media 2. the clam.exe file that will alert normally. The idea is that since the malformed file is first, the heuristic alert will be encountered first. In this test the heuristic alert must alert first because --heuristic-scan-precedence is enabled. We won't see the other alert because it's not allmatch mode. ''' self.step_name('Test that a heuristic-precendence will cause the heuristic alert to happen first, with no other alerts because not allmatch.') testfile = TC.heuristics_testfile command = '{valgrind} {valgrind_args} {clamscan} -d {clam_exe_db} {testfiles} --alert-broken-media \ --heuristic-scan-precedence'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, clam_exe_db=TC.path_tmp / 'clam.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.377 sec (0 m 1 s)\nStart Date: 2024:06:28 10:44:22\nEnd Date: 2024:06:28 10:44:24\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:129: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a heuristic-precendence will cause the heuristic alert to happen first, with no other alerts because not allmatch. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media --heuristic-scan-precedence [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.377 sec (0 m 1 s) Start Date: 2024:06:28 10:44:22 End Date: 2024:06:28 10:44:24 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9889== Memcheck, a memory error detector [INFO]: ==9889== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9889== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9889== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/heuristics-test.zip --alert-broken-media --heuristic-scan-precedence [INFO]: ==9889== Parent PID: 9803 [INFO]: ==9889== [INFO]: --9889-- [INFO]: --9889-- Valgrind options: [INFO]: --9889-- -v [INFO]: --9889-- --trace-children=yes [INFO]: --9889-- --track-fds=yes [INFO]: --9889-- --leak-check=full [INFO]: --9889-- --show-possibly-lost=no [INFO]: --9889-- --show-leak-kinds=definite [INFO]: --9889-- --errors-for-leak-kinds=definite [INFO]: --9889-- --main-stacksize=16777216 [INFO]: --9889-- --gen-suppressions=all [INFO]: --9889-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9889-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: --9889-- --error-exitcode=123 [INFO]: --9889-- Contents of /proc/version: [INFO]: --9889-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9889-- [INFO]: --9889-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9889-- Page sizes: currently 4096, max supported 4096 [INFO]: --9889-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9889-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9889-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9889-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9889-- might be shown as UnknownInlinedFun [INFO]: --9889-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9889-- object doesn't have a dynamic symbol table [INFO]: --9889-- Scheduler: using generic scheduler lock implementation. [INFO]: --9889-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9889-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9889== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9889-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9889== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9889-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9889== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9889-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9889== [INFO]: ==9889== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9889== don't want to do, unless you know exactly what you're doing, [INFO]: ==9889== or are doing some strange experiment): [INFO]: ==9889== /usr/libexec/valgrind/../../bin/vgdb --pid=9889 ...command... [INFO]: ==9889== [INFO]: ==9889== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9889== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9889== and then give GDB the following command [INFO]: ==9889== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9889 [INFO]: ==9889== --pid is optional if only one valgrind process is running [INFO]: ==9889== [INFO]: --9889-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9889-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9889-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9889-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9889-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9889-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9889-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9889-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9889-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9889-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9889-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9889-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9889-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9889-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9889-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9889-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9889-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9889-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9889-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9889-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9889-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9889== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9889== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9889== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9889== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9889-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9889-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9889-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9889-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9889-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9889-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9889-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9889-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9889-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9889-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9889-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9889-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9889-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9889-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9889-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9889-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9889-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9889-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9889-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9889-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==9889== [INFO]: ==9889== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9889== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-e2tawvho/valgrind.log [INFO]: ==9889== [INFO]: ==9889== [INFO]: ==9889== (No origin, error cannot be suppressed) [INFO]: ==9889== [INFO]: ==9889== HEAP SUMMARY: [INFO]: ==9889== in use at exit: 0 bytes in 0 blocks [INFO]: ==9889== total heap usage: 5,333 allocs, 5,333 frees, 598,785 bytes allocated [INFO]: ==9889== [INFO]: ==9889== All heap blocks were freed -- no leaks are possible [INFO]: ==9889== [INFO]: ==9889== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _____________________________ TC.test_xls_jpeg_png _____________________________ self = def test_xls_jpeg_png(self): self.step_name('Test that clamav can successfully extract jpeg and png images from XLS documents') # Note: we aren't testing BMP, TIFF, or GIF because excel converts them to PNG when you try to insert them. testfiles = TC.path_source / 'unit_tests' / 'input' / 'other_scanfiles' / 'has_png_and_jpeg.xls' command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --gen-json --debug'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_build / 'unit_tests' / 'input' / 'clamav.hdb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 0 # no virus, no failures E assert 123 == 0 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls: OK\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 0\nData scanned: 0.12 MB\nData read: 0.06 MB (ratio 1.88:1)\nTime: 2.541 sec (0 m 2 s)\nStart Date: 2024:06:28 10:44:25\nEnd Date: 2024:06:28 10:44:27\n', err='LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found\nLibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam\nLibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found\nLibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/li... },\n {\n "FileType":"CL_TYPE_ZIPSFX",\n "Offset":52662,\n "ContainedObjects":[\n {\n "FileName":"theme1.xml",\n "FilePath":"/tmp/20240628_104426-scantemp.fb9075dbed/clamav-c5743bc6bd336ddf1a2fbb0ef3ec7f9a.tmp",\n "FileType":"CL_TYPE_TEXT_ASCII",\n "FileSize":8112,\n "FileMD5":"d6519a9212444706e7cbda9fb2917083"\n }\n ]\n },\n {\n "FileType":"CL_TYPE_ZIPSFX",\n "Offset":54457,\n "ContainedObjects":[\n {\n "FileName":"themeManager.xml.rels",\n "FilePath":"/tmp/20240628_104426-scantemp.fb9075dbed/clamav-2622883e14cfd061549b763c75d60c52.tmp",\n "FileType":"CL_TYPE_TEXT_ASCII",\n "FileSize":283,\n "FileMD5":"c8d47b0b4a92b9587777ef824be3c8c4"\n }\n ]\n }\n ]\n}\nLibClamAV debug: Bytecode executing hook id 260 (0 hooks)\nLibClamAV debug: Bytecode: no logical signature matched, no bytecode executed\nLibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected\nLibClamAV debug: Cleaning up phishcheck\nLibClamAV debug: Freeing phishcheck struct\nLibClamAV debug: Phishcheck cleaned up\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/image_extraction_test.py:42: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamav can successfully extract jpeg and png images from XLS documents [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav.hdb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls --gen-json --debug [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.12 MB Data read: 0.06 MB (ratio 1.88:1) Time: 2.541 sec (0 m 2 s) Start Date: 2024:06:28 10:44:25 End Date: 2024:06:28 10:44:27 [DEBUG]: stderr: LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64 LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /libclamunrar_iface..a not found LibClamAV debug: Cannot dlopen libclamunrar_iface: /libclamunrar_iface..a: cannot open shared object file: No such file or directory - unrar support unavailable LibClamAV debug: Initialized 1.0.6 engine LibClamAV debug: Initializing phishcheck module LibClamAV debug: Phishcheck: Compiling regex: ^ *(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$ LibClamAV debug: Phishcheck module initialized LibClamAV debug: Bytecode initialized in interpreter mode LibClamAV debug: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav.hdb loaded LibClamAV debug: Initializing engine matching structures LibClamAV debug: Loaded 156 filetype definitions LibClamAV debug: Using filter for trie 0 LibClamAV debug: Matcher[0]: GENERIC: AC sigs: 84 (reloff: 1, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 32 LibClamAV debug: Using filter for trie 1 LibClamAV debug: Matcher[1]: PE: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 LibClamAV debug: Matcher[2]: OLE2: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[3]: HTML: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 4 LibClamAV debug: Matcher[4]: MAIL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[5]: GRAPHICS: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[6]: ELF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 7 LibClamAV debug: Matcher[7]: ASCII: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[8]: NOT USED: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[9]: MACH-O: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[10]: PDF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[11]: FLASH: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[12]: JAVA: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[13]: INTERNAL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[14]: OTHER: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Dynamic engine configuration settings: LibClamAV debug: -------------------------------------- LibClamAV debug: Module PE: On LibClamAV debug: * Submodule PARITE: On LibClamAV debug: * Submodule KRIZ: On LibClamAV debug: * Submodule MAGISTR: On LibClamAV debug: * Submodule POLIPOS: On LibClamAV debug: * Submodule MD5SECT: On LibClamAV debug: * Submodule UPX: On LibClamAV debug: * Submodule FSG: On LibClamAV debug: * Submodule SWIZZOR: ** Off ** LibClamAV debug: * Submodule PETITE: On LibClamAV debug: * Submodule PESPIN: On LibClamAV debug: * Submodule YC: On LibClamAV debug: * Submodule WWPACK: On LibClamAV debug: * Submodule NSPACK: On LibClamAV debug: * Submodule MEW: On LibClamAV debug: * Submodule UPACK: On LibClamAV debug: * Submodule ASPACK: On LibClamAV debug: * Submodule CATALOG: On LibClamAV debug: * Submodule CERTS: On LibClamAV debug: * Submodule MATCHICON: On LibClamAV debug: * Submodule IMPTBL: On LibClamAV debug: Module ELF: On LibClamAV debug: Module MACHO: On LibClamAV debug: Module ARCHIVE: On LibClamAV debug: * Submodule RAR: On LibClamAV debug: * Submodule ZIP: On LibClamAV debug: * Submodule GZIP: On LibClamAV debug: * Submodule BZIP: On LibClamAV debug: * Submodule ARJ: On LibClamAV debug: * Submodule SZDD: On LibClamAV debug: * Submodule CAB: On LibClamAV debug: * Submodule CHM: On LibClamAV debug: * Submodule OLE2: On LibClamAV debug: * Submodule TAR: On LibClamAV debug: * Submodule CPIO: On LibClamAV debug: * Submodule BINHEX: On LibClamAV debug: * Submodule SIS: On LibClamAV debug: * Submodule NSIS: On LibClamAV debug: * Submodule AUTOIT: On LibClamAV debug: * Submodule ISHIELD: On LibClamAV debug: * Submodule 7zip: On LibClamAV debug: * Submodule ISO9660: On LibClamAV debug: * Submodule DMG: On LibClamAV debug: * Submodule XAR: On LibClamAV debug: * Submodule HFSPLUS: On LibClamAV debug: * Submodule XZ: On LibClamAV debug: * Submodule PASSWD: On LibClamAV debug: * Submodule MBR: On LibClamAV debug: * Submodule GPT: On LibClamAV debug: * Submodule APM: On LibClamAV debug: * Submodule EGG: On LibClamAV debug: Module DOCUMENT: On LibClamAV debug: * Submodule HTML: On LibClamAV debug: * Submodule RTF: On LibClamAV debug: * Submodule PDF: On LibClamAV debug: * Submodule SCRIPT: On LibClamAV debug: * Submodule HTMLSKIPRAW: On LibClamAV debug: * Submodule JSNORM: On LibClamAV debug: * Submodule SWF: On LibClamAV debug: * Submodule OOXML: On LibClamAV debug: * Submodule MSPML: On LibClamAV debug: * Submodule HWP: On LibClamAV debug: Module MAIL: On LibClamAV debug: * Submodule MBOX: On LibClamAV debug: * Submodule TNEF: On LibClamAV debug: Module OTHER: On LibClamAV debug: * Submodule UUENCODED: On LibClamAV debug: * Submodule SCRENC: On LibClamAV debug: * Submodule RIFF: On LibClamAV debug: * Submodule JPEG: On LibClamAV debug: * Submodule CRYPTFF: On LibClamAV debug: * Submodule DLP: On LibClamAV debug: * Submodule MYDOOMLOG: On LibClamAV debug: * Submodule PREFILTERING: On LibClamAV debug: * Submodule PDFNAMEOBJ: On LibClamAV debug: * Submodule PRTNINTXN: On LibClamAV debug: * Submodule LZW: On LibClamAV debug: * Submodule GIF: On LibClamAV debug: * Submodule PNG: On LibClamAV debug: * Submodule TIFF: On LibClamAV debug: Module PHISHING On LibClamAV debug: * Submodule ENGINE: On LibClamAV debug: * Submodule ENTCONV: On LibClamAV debug: Module BYTECODE On LibClamAV debug: * Submodule INTERPRETER: On LibClamAV debug: * Submodule JIT X86: On LibClamAV debug: * Submodule JIT PPC: On LibClamAV debug: * Submodule JIT ARM: ** Off ** LibClamAV debug: Module STATS Off LibClamAV debug: Module PCRE On LibClamAV debug: * Submodule SUPPORT: On LibClamAV debug: * Submodule OPTIONS: On LibClamAV debug: * Submodule GLOBAL: On LibClamAV debug: pool memory used: 5.941 MB LibClamAV debug: No bytecodes loaded, not running builtin test LibClamAV debug: Checking realpath of /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls LibClamAV debug: Recognized OLE2 container file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_scanole2() LibClamAV debug: in cli_ole2_extract() LibClamAV debug: Major Version = 0x0 LibClamAV debug: Minor Version = 0x0 LibClamAV debug: Flags = 0x0 LibClamAV debug: Size = 0xe020c0 LibClamAV debug: ole2: Flags must match LibClamAV debug: Encrypted with VelvetSweatshop: 0 LibClamAV debug: LibClamAV debug: Magic: 0xd0cf11e0a1b11ae1 LibClamAV debug: CLSID: {0000-00-00-00-000000} LibClamAV debug: Minor version: 0x3e LibClamAV debug: DLL version: 0x3 LibClamAV debug: Byte Order: -2 LibClamAV debug: Big Block Size: 9 LibClamAV debug: Small Block Size: 6 LibClamAV debug: BAT count: 1 LibClamAV debug: Prop start: 126 LibClamAV debug: SBAT cutoff: 4096 LibClamAV debug: SBat start: -2 LibClamAV debug: SBat block count: 0 LibClamAV debug: XBat start: -2 LibClamAV debug: XBat block count: 0 LibClamAV debug: LibClamAV debug: Max block number: 1016 LibClamAV debug: [scan_biff_for_xlm_macros_and_images] Found image in sheet LibClamAV debug: OLE2: VBA project found LibClamAV debug: OLE2: root entry [root] b size:0x00000000 flags:0x00000000 LibClamAV debug: OLE2: _5_summaryinformation [file] b size:0x00001000 flags:0x00000000 LibClamAV debug: Storing _5_summaryinformation in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping '_5_summaryinformation' to '/tmp/20240628_104426-scantemp.fb9075dbed/ole2-tmp.70d4267387/8f77ea59a4794f91b39913db2e55f3fc_1' LibClamAV debug: OLE2: _5_documentsummaryinformation [file] b size:0x00001000 flags:0x00000000 LibClamAV debug: Storing _5_documentsummaryinformation in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping '_5_documentsummaryinformation' to '/tmp/20240628_104426-scantemp.fb9075dbed/ole2-tmp.70d4267387/c94e3926fdf7b9e624cba640b87b17a8_1' LibClamAV debug: OLE2: workbook [file] b size:0x0000d8e5 flags:0x00000000 LibClamAV debug: Storing workbook in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping 'workbook' to '/tmp/20240628_104426-scantemp.fb9075dbed/ole2-tmp.70d4267387/e3af082cc2ec644830a69ddafe5abe31_1' LibClamAV debug: cli_ole2_scan_tempdir: /tmp/20240628_104426-scantemp.fb9075dbed/ole2-tmp.70d4267387 LibClamAV debug: cli_ole2_tempdir_scan_summary: detected a '_5_summaryinformation' stream LibClamAV debug: in cli_ole2_summary_json LibClamAV debug: ole2_summary_json: streamsize: 4096 LibClamAV debug: ole2_summary_json: byteorder 0xfffe LibClamAV debug: ole2_summary_json: 1 property set(s) detected LibClamAV debug: in ole2_summary_propset_json LibClamAV debug: ole2_summary_propset_json: pssize: 176, numprops: 7 LibClamAV debug: ole2_summary_propset_json: processing 7 of 7 (25 max) properties LibClamAV debug: ole2_summary_propset_json: propid: 0x00000001, propoff: 64 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000004, propoff: 72 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000008, propoff: 96 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000012, propoff: 120 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000c, propoff: 144 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000d, propoff: 156 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000013, propoff: 168 LibClamAV debug: in cli_ole2_summary_json_cleanup: 0[0] LibClamAV debug: cli_ole2_tempdir_scan_summary: detected a '_5_documentsummaryinformation' stream LibClamAV debug: in cli_ole2_summary_json LibClamAV debug: ole2_summary_json: streamsize: 4096 LibClamAV debug: ole2_summary_json: byteorder 0xfffe LibClamAV debug: ole2_summary_json: 1 property set(s) detected LibClamAV debug: in ole2_summary_propset_json LibClamAV debug: ole2_summary_propset_json: pssize: 196, numprops: 9 LibClamAV debug: ole2_summary_propset_json: processing 9 of 9 (25 max) properties LibClamAV debug: ole2_summary_propset_json: propid: 0x00000001, propoff: 80 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000f, propoff: 88 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000017, propoff: 100 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000b, propoff: 108 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000010, propoff: 116 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000013, propoff: 124 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000016, propoff: 132 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000d, propoff: 140 LibClamAV debug: ole2_process_property: unhandled property type 0x101e for DocPartTitles property LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000c, propoff: 159 LibClamAV debug: ole2_process_property: unhandled property type 0x100c for HeadingPairs property LibClamAV debug: in cli_ole2_summary_json_cleanup: 0[100] LibClamAV debug: [cli_extract_xlm_macros_and_images] Extracting macros to /tmp/20240628_104426-scantemp.fb9075dbed/xlm_macros.766b35625f LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0xf LibClamAV debug: read_office_art_record_header: recInstance 0x0 LibClamAV debug: read_office_art_record_header: recType 0xf000 LibClamAV debug: read_office_art_record_header: recLen 39456 LibClamAV debug: cli_extract_images_from_drawing_group: Found drawing group of size 39456 bytes LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x0 LibClamAV debug: read_office_art_record_header: recType 0xf006 LibClamAV debug: read_office_art_record_header: recLen 24 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0xf LibClamAV debug: read_office_art_record_header: recInstance 0x2 LibClamAV debug: read_office_art_record_header: recType 0xf001 LibClamAV debug: read_office_art_record_header: recLen 39366 LibClamAV debug: cli_extract_images_from_drawing_group: Found an OfficeArtBStoreContainerFileBlock (Blip store). LibClamAV debug: cli_extract_images_from_drawing_group: size: 39366 bytes, contains: 2 file block records LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x2 LibClamAV debug: read_office_art_record_header: recInstance 0x5 LibClamAV debug: read_office_art_record_header: recType 0xf007 LibClamAV debug: read_office_art_record_header: recLen 16623 LibClamAV debug: process_blip_store_container: Invalid recVer for Blip record header: 2 LibClamAV debug: process_blip_store_container: Found a File Blip Store Entry (FBSE) record LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x46a LibClamAV debug: read_office_art_record_header: recType 0xf01d LibClamAV debug: read_office_art_record_header: recLen 16579 LibClamAV debug: process_blip_store_container: Found OfficeArtBlipJPEG LibClamAV debug: Scanning extracted image of size 16562 LibClamAV debug: cli_magic_scan_nested_fmap_type: [0, +16562) LibClamAV debug: magic_scan_nested_fmap_type: [0, +16562), [0, +16562) LibClamAV debug: Recognized JPEG file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_parsejpeg() LibClamAV debug: segment[1] = 0xe0, Length 16 LibClamAV debug: JFIF application marker LibClamAV debug: segment[2] = 0xe1, Length 6604 LibClamAV debug: Exif application marker LibClamAV debug: segment[3] = 0xe2, Length 3160 LibClamAV debug: ICC Profile, chunk # 1 LibClamAV debug: segment[4] = 0xdb, Length 67 LibClamAV debug: Quantization Tables definitions (DQT) LibClamAV debug: segment[5] = 0xdb, Length 67 LibClamAV debug: Quantization Tables definitions (DQT) LibClamAV debug: segment[6] = 0xc2, Length 17 LibClamAV debug: Start of Frame (S0F) c2 LibClamAV debug: segment[7] = 0xc4, Length 28 LibClamAV debug: Huffman Tables definitions (DHT) LibClamAV debug: segment[8] = 0xc4, Length 27 LibClamAV debug: Huffman Tables definitions (DHT) LibClamAV debug: segment[9] = 0xda, Length 12 LibClamAV debug: Start of Scan (SOS) segment marker LibClamAV debug: Image hash: ea0f85d0de719887 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Checking image fuzzy hash 'ea0f85d0de719887' for signature match LibClamAV debug: Checking image fuzzy hash 'ea0f85d0de719887' for signature match LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x2 LibClamAV debug: read_office_art_record_header: recInstance 0x6 LibClamAV debug: read_office_art_record_header: recType 0xf007 LibClamAV debug: read_office_art_record_header: recLen 22727 LibClamAV debug: process_blip_store_container: Invalid recVer for Blip record header: 2 LibClamAV debug: process_blip_store_container: Found a File Blip Store Entry (FBSE) record LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x6e0 LibClamAV debug: read_office_art_record_header: recType 0xf01e LibClamAV debug: read_office_art_record_header: recLen 22683 LibClamAV debug: process_blip_store_container: Found OfficeArtBlipPNG LibClamAV debug: Scanning extracted image of size 22666 LibClamAV debug: cli_magic_scan_nested_fmap_type: [0, +22666) LibClamAV debug: magic_scan_nested_fmap_type: [0, +22666), [0, +22666) LibClamAV debug: Recognized PNG file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_parsepng() LibClamAV debug: Chunk Type: IHDR, Data Length: 13 bytes LibClamAV debug: Width: 144 LibClamAV debug: Height: 144 LibClamAV debug: Bit Depth: 8 (Sample Depth: 32) LibClamAV debug: Color Type: 6 LibClamAV debug: Compression Method: 0 LibClamAV debug: Filter Method: 0 LibClamAV debug: Interlace Method: 0 LibClamAV debug: Chunk CRC: 0xe746e2b8 LibClamAV debug: Chunk Type: zTXt, Data Length: 7087 bytes LibClamAV debug: Chunk CRC: 0x19546b29 LibClamAV debug: Chunk Type: iCCP, Data Length: 2618 bytes LibClamAV debug: Chunk CRC: 0x361c0fd2 LibClamAV debug: Chunk Type: iCCP, Data Length: 2618 bytes LibClamAV debug: Chunk CRC: 0x25771675 LibClamAV debug: Chunk Type: bKGD, Data Length: 6 bytes LibClamAV debug: Chunk CRC: 0xa0bda793 LibClamAV debug: Chunk Type: pHYs, Data Length: 9 bytes LibClamAV debug: Chunk CRC: 0x9a9c18 LibClamAV debug: Chunk Type: tIME, Data Length: 7 bytes LibClamAV debug: Chunk CRC: 0x2423dc6b LibClamAV debug: Chunk Type: IDAT, Data Length: 8192 bytes LibClamAV debug: IDAT chunk: image data decompression no longer performed in PNG CVE checker. LibClamAV debug: Chunk CRC: 0x80ae8521 LibClamAV debug: Chunk Type: IDAT, Data Length: 1988 bytes LibClamAV debug: IDAT chunk: image data decompression no longer performed in PNG CVE checker. LibClamAV debug: Chunk CRC: 0x2fbbd0c7 LibClamAV debug: Chunk Type: IEND, Data Length: 0 bytes LibClamAV debug: Chunk CRC: 0xae426082 LibClamAV debug: Image hash: 97e5789e252983c6 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Checking image fuzzy hash '97e5789e252983c6' for signature match LibClamAV debug: Checking image fuzzy hash '97e5789e252983c6' for signature match LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x3 LibClamAV debug: read_office_art_record_header: recInstance 0x3 LibClamAV debug: read_office_art_record_header: recType 0xf00b LibClamAV debug: read_office_art_record_header: recLen 18 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x4 LibClamAV debug: read_office_art_record_header: recType 0xf11e LibClamAV debug: read_office_art_record_header: recLen 16 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Matched signature for file type ZIP-SFX at 51936 LibClamAV debug: Matched signature for file type ZIP-SFX at 52240 LibClamAV debug: Matched signature for file type ZIP-SFX at 52473 LibClamAV debug: Matched signature for file type ZIP-SFX at 52662 LibClamAV debug: Matched signature for file type ZIP-SFX at 54457 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 51936 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:[Content_Types].xml:540:255:bf0fdee9:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:255:[Content_Types].xml:255:540:0:0:3205488361:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104426-scantemp.fb9075dbed/clamav-49e3296440cc62b28c30ae3dd8634809.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52240 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:_rels/.rels:310:192:e7a7d6a5:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:192:_rels/.rels:192:310:0:0:3886536357:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104426-scantemp.fb9075dbed/clamav-3e71f49915a822bdd185f5d6a74d248c.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52473 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/themeManager.xml:138:131:1696796b:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:131:theme/theme/themeManager.xml:131:138:0:0:378960235:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104426-scantemp.fb9075dbed/clamav-8cf25cab94500baf4a16e30898eb825a.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52662 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/theme1.xml:8112:1743:d16dd24e:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:1743:theme/theme/theme1.xml:1743:8112:0:0:3513635406:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104426-scantemp.fb9075dbed/clamav-c5743bc6bd336ddf1a2fbb0ef3ec7f9a.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: CL_TYPE_ZIPSFX signature found at 54457 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/_rels/themeManager.xml.rels:283:182:9f90d10d:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:182:theme/theme/_rels/themeManager.xml.rels:182:283:0:0:2677068045:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104426-scantemp.fb9075dbed/clamav-2622883e14cfd061549b763c75d60c52.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: { "Magic":"CLAMJSONv0", "RootFileType":"CL_TYPE_MSXL", "FileName":"has_png_and_jpeg.xls", "FileType":"CL_TYPE_MSXL", "FileSize":65536, "FileMD5":"bd7f9450b08d919d4d330a13c8aa14a5", "EncryptedWithVelvetSweatshop":0, "Streams":[ "_5_summaryinformation", "_5_documentsummaryinformation", "workbook" ], "SummaryInfo":{ "CodePage":1252, "Author":"Micah Snyder", "LastAuthor":"Micah Snyder", "AppName":"Microsoft Excel", "CreatedTime":1626380512, "ModifiedTime":1626380712, "Security":0 }, "DocSummaryInfo":{ "CodePage":1252, "Company":"", "Version":1048576, "Scale":false, "LinksDirty":false, "SharedDoc":false, "HyperLinksChanged":false, "ParseErrors":[ "OLE2_SUMMARY_FLAG_UNHANDLED_PROPTYPE" ] }, "ContainedObjects":[ { "FileType":"CL_TYPE_JPEG", "FileSize":16562, "FileMD5":"41e64a9ddb49690f0b6fbbd71362b1b3", "ImageFuzzyHash":{ "Hash":"ea0f85d0de719887" } }, { "FileType":"CL_TYPE_PNG", "FileSize":22666, "FileMD5":"5341e0efde53a50c416b2352263e7693", "ImageFuzzyHash":{ "Hash":"97e5789e252983c6" } } ], "EmbeddedObjects":[ { "FileType":"CL_TYPE_ZIPSFX", "Offset":51936, "ContainedObjects":[ { "FileName":"[Content_Types].xml", "FilePath":"/tmp/20240628_104426-scantemp.fb9075dbed/clamav-49e3296440cc62b28c30ae3dd8634809.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":540, "FileMD5":"c9cbcd6f377d2c787064d8e5464412f1" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52240, "ContainedObjects":[ { "FileName":".rels", "FilePath":"/tmp/20240628_104426-scantemp.fb9075dbed/clamav-3e71f49915a822bdd185f5d6a74d248c.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":310, "FileMD5":"72721ae37030f210de7a73d75dbc33eb" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52473, "ContainedObjects":[ { "FileName":"themeManager.xml", "FilePath":"/tmp/20240628_104426-scantemp.fb9075dbed/clamav-8cf25cab94500baf4a16e30898eb825a.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":138, "FileMD5":"ad57ce056452726e5fb113fb8c6f229e" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52662, "ContainedObjects":[ { "FileName":"theme1.xml", "FilePath":"/tmp/20240628_104426-scantemp.fb9075dbed/clamav-c5743bc6bd336ddf1a2fbb0ef3ec7f9a.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":8112, "FileMD5":"d6519a9212444706e7cbda9fb2917083" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":54457, "ContainedObjects":[ { "FileName":"themeManager.xml.rels", "FilePath":"/tmp/20240628_104426-scantemp.fb9075dbed/clamav-2622883e14cfd061549b763c75d60c52.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":283, "FileMD5":"c8d47b0b4a92b9587777ef824be3c8c4" } ] } ] } LibClamAV debug: Bytecode executing hook id 260 (0 hooks) LibClamAV debug: Bytecode: no logical signature matched, no bytecode executed LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Freeing phishcheck struct LibClamAV debug: Phishcheck cleaned up [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9891== Memcheck, a memory error detector [INFO]: ==9891== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9891== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9891== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav.hdb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls --gen-json --debug [INFO]: ==9891== Parent PID: 9803 [INFO]: ==9891== [INFO]: --9891-- [INFO]: --9891-- Valgrind options: [INFO]: --9891-- -v [INFO]: --9891-- --trace-children=yes [INFO]: --9891-- --track-fds=yes [INFO]: --9891-- --leak-check=full [INFO]: --9891-- --show-possibly-lost=no [INFO]: --9891-- --show-leak-kinds=definite [INFO]: --9891-- --errors-for-leak-kinds=definite [INFO]: --9891-- --main-stacksize=16777216 [INFO]: --9891-- --gen-suppressions=all [INFO]: --9891-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9891-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log [INFO]: --9891-- --error-exitcode=123 [INFO]: --9891-- Contents of /proc/version: [INFO]: --9891-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9891-- [INFO]: --9891-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9891-- Page sizes: currently 4096, max supported 4096 [INFO]: --9891-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9891-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9891-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9891-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9891-- might be shown as UnknownInlinedFun [INFO]: --9891-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9891-- object doesn't have a dynamic symbol table [INFO]: --9891-- Scheduler: using generic scheduler lock implementation. [INFO]: --9891-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9891-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9891== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9891-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9891== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9891-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9891== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9891-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9891== [INFO]: ==9891== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9891== don't want to do, unless you know exactly what you're doing, [INFO]: ==9891== or are doing some strange experiment): [INFO]: ==9891== /usr/libexec/valgrind/../../bin/vgdb --pid=9891 ...command... [INFO]: ==9891== [INFO]: ==9891== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9891== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9891== and then give GDB the following command [INFO]: ==9891== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9891 [INFO]: ==9891== --pid is optional if only one valgrind process is running [INFO]: ==9891== [INFO]: --9891-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9891-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9891-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9891-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9891-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9891-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9891-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9891-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9891-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9891-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9891-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9891-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9891-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9891-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9891-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9891-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9891-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9891-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9891-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9891-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9891-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9891== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9891== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9891== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9891== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9891-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9891-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9891-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9891-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9891-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9891-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9891-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9891-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9891-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9891-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9891-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9891-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9891-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9891-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9891-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9891-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9891-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9891-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9891-- Reading syms from /usr/lib64/gconv/CP1252.so [INFO]: ==9891== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9891== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9891== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9891== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9891== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9891== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9891== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9891== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9891== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9891== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9891== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9891== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9891== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9891== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9891== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9891== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9891== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9891== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9891== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9891== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9891== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9891== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9891== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9891== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9891== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9891== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9891== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9891== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9891== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9891== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9891== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9891== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9891== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9891== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9891== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9891== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9891== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9891== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9891== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9891== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9891== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9891== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9891== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9891== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9891== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9891== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9891== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9891== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9891== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9891== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9891== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9891== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9891== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9891== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9891== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9891== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: --9891-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9891-- Discarding syms at 0x5f0d100-0x5f0e150 in /usr/lib64/gconv/CP1252.so (have_dinfo 1) [INFO]: ==9891== [INFO]: ==9891== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9891== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log [INFO]: ==9891== [INFO]: ==9891== [INFO]: ==9891== (No origin, error cannot be suppressed) [INFO]: ==9891== [INFO]: ==9891== HEAP SUMMARY: [INFO]: ==9891== in use at exit: 23,256 bytes in 37 blocks [INFO]: ==9891== total heap usage: 6,981 allocs, 6,944 frees, 3,327,546 bytes allocated [INFO]: ==9891== [INFO]: ==9891== Searching for pointers to 37 not-freed blocks [INFO]: ==9891== Checked 4,457,776 bytes [INFO]: ==9891== [INFO]: ==9891== LEAK SUMMARY: [INFO]: ==9891== definitely lost: 0 bytes in 0 blocks [INFO]: ==9891== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9891== possibly lost: 608 bytes in 2 blocks [INFO]: ==9891== still reachable: 22,648 bytes in 35 blocks [INFO]: ==9891== suppressed: 0 bytes in 0 blocks [INFO]: ==9891== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9891== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9891== [INFO]: ==9891== Use --track-origins=yes to see where uninitialised values come from [INFO]: ==9891== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) [INFO]: ==9891== [INFO]: ==9891== 9 errors in context 1 of 2: [INFO]: ==9891== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9891== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9891== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9891== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9891== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9891== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9891== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9891== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9891== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9891== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9891== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9891== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9891== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9891== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9891== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9891== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9891== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9891== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9891== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9891== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9891== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9891== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9891== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9891== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9891== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9891== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9891== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9891== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9891== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9891== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9891== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9891== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9891== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9891== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9891== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9891== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9891== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9891== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9891== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9891== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9891== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9891== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9891== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9891== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9891== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9891== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9891== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9891== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9891== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9891== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9891== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9891== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9891== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9891== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9891== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9891== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9891== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) __________________________ TC.test_xls_with_detection __________________________ self = def test_xls_with_detection(self): self.step_name('Test that clamav can successfully alert on PNG image extracted from XLS documents') # This tests a regression wherein extracted images weren't properly scanned, or the scan result recorded. # Note: we aren't testing the JPEG detection because the JPEG attached to the sample XLS is not properly fuzzy-hashed by clamav, yet. # TODO: Once it is working, add the JPEG detection test. os.mkdir(str(TC.path_tmp / 'xls-jpeg-detection-sigs')) (TC.path_tmp / 'logo.png.ldb').write_text( "logo.png.good;Engine:150-255,Target:0;0;fuzzy_img#ea0f85d0de719887#0\n" ) testfiles = TC.path_source / 'unit_tests' / 'input' / 'other_scanfiles' / 'has_png_and_jpeg.xls' command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --gen-json --debug --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'logo.png.ldb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # no virus, no failures E assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls: logo.png.good.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.12 MB\nData read: 0.06 MB (ratio 1.88:1)\nTime: 2.690 sec (0 m 2 s)\nStart Date: 2024:06:28 10:44:28\nEnd Date: 2024:06:28 10:44:31\n', err='LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found\nLibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam\nLibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found\nLibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat...n ]\n },\n {\n "FileType":"CL_TYPE_ZIPSFX",\n "Offset":52662,\n "ContainedObjects":[\n {\n "FileName":"theme1.xml",\n "FilePath":"/tmp/20240628_104429-scantemp.00ec2fe966/clamav-f1d5a0a2389568e9b3ae800018e4e9e0.tmp",\n "FileType":"CL_TYPE_TEXT_ASCII",\n "FileSize":8112,\n "FileMD5":"d6519a9212444706e7cbda9fb2917083"\n }\n ]\n },\n {\n "FileType":"CL_TYPE_ZIPSFX",\n "Offset":54457,\n "ContainedObjects":[\n {\n "FileName":"themeManager.xml.rels",\n "FilePath":"/tmp/20240628_104429-scantemp.00ec2fe966/clamav-d8790994e73d8bc09c1f85be087684cf.tmp",\n "FileType":"CL_TYPE_TEXT_ASCII",\n "FileSize":283,\n "FileMD5":"c8d47b0b4a92b9587777ef824be3c8c4"\n }\n ]\n }\n ]\n}\nLibClamAV debug: Bytecode executing hook id 260 (0 hooks)\nLibClamAV debug: Bytecode: no logical signature matched, no bytecode executed\nLibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected\nLibClamAV debug: Cleaning up phishcheck\nLibClamAV debug: Freeing phishcheck struct\nLibClamAV debug: Phishcheck cleaned up\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/image_extraction_test.py:72: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamav can successfully alert on PNG image extracted from XLS documents [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/logo.png.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls --gen-json --debug --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls: logo.png.good.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.12 MB Data read: 0.06 MB (ratio 1.88:1) Time: 2.690 sec (0 m 2 s) Start Date: 2024:06:28 10:44:28 End Date: 2024:06:28 10:44:31 [DEBUG]: stderr: LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64 LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /libclamunrar_iface..a not found LibClamAV debug: Cannot dlopen libclamunrar_iface: /libclamunrar_iface..a: cannot open shared object file: No such file or directory - unrar support unavailable LibClamAV debug: Initialized 1.0.6 engine LibClamAV debug: Initializing phishcheck module LibClamAV debug: Phishcheck: Compiling regex: ^ *(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$ LibClamAV debug: Phishcheck module initialized LibClamAV debug: Bytecode initialized in interpreter mode LibClamAV debug: Initializing engine matching structures LibClamAV debug: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/logo.png.ldb loaded LibClamAV debug: Initializing engine matching structures LibClamAV debug: Loaded 156 filetype definitions LibClamAV debug: Using filter for trie 0 LibClamAV debug: Matcher[0]: GENERIC: AC sigs: 84 (reloff: 1, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 32 LibClamAV debug: Using filter for trie 1 LibClamAV debug: Matcher[1]: PE: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 LibClamAV debug: Matcher[2]: OLE2: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[3]: HTML: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 4 LibClamAV debug: Matcher[4]: MAIL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[5]: GRAPHICS: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[6]: ELF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 7 LibClamAV debug: Matcher[7]: ASCII: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[8]: NOT USED: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[9]: MACH-O: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[10]: PDF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[11]: FLASH: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[12]: JAVA: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[13]: INTERNAL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[14]: OTHER: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Dynamic engine configuration settings: LibClamAV debug: -------------------------------------- LibClamAV debug: Module PE: On LibClamAV debug: * Submodule PARITE: On LibClamAV debug: * Submodule KRIZ: On LibClamAV debug: * Submodule MAGISTR: On LibClamAV debug: * Submodule POLIPOS: On LibClamAV debug: * Submodule MD5SECT: On LibClamAV debug: * Submodule UPX: On LibClamAV debug: * Submodule FSG: On LibClamAV debug: * Submodule SWIZZOR: ** Off ** LibClamAV debug: * Submodule PETITE: On LibClamAV debug: * Submodule PESPIN: On LibClamAV debug: * Submodule YC: On LibClamAV debug: * Submodule WWPACK: On LibClamAV debug: * Submodule NSPACK: On LibClamAV debug: * Submodule MEW: On LibClamAV debug: * Submodule UPACK: On LibClamAV debug: * Submodule ASPACK: On LibClamAV debug: * Submodule CATALOG: On LibClamAV debug: * Submodule CERTS: On LibClamAV debug: * Submodule MATCHICON: On LibClamAV debug: * Submodule IMPTBL: On LibClamAV debug: Module ELF: On LibClamAV debug: Module MACHO: On LibClamAV debug: Module ARCHIVE: On LibClamAV debug: * Submodule RAR: On LibClamAV debug: * Submodule ZIP: On LibClamAV debug: * Submodule GZIP: On LibClamAV debug: * Submodule BZIP: On LibClamAV debug: * Submodule ARJ: On LibClamAV debug: * Submodule SZDD: On LibClamAV debug: * Submodule CAB: On LibClamAV debug: * Submodule CHM: On LibClamAV debug: * Submodule OLE2: On LibClamAV debug: * Submodule TAR: On LibClamAV debug: * Submodule CPIO: On LibClamAV debug: * Submodule BINHEX: On LibClamAV debug: * Submodule SIS: On LibClamAV debug: * Submodule NSIS: On LibClamAV debug: * Submodule AUTOIT: On LibClamAV debug: * Submodule ISHIELD: On LibClamAV debug: * Submodule 7zip: On LibClamAV debug: * Submodule ISO9660: On LibClamAV debug: * Submodule DMG: On LibClamAV debug: * Submodule XAR: On LibClamAV debug: * Submodule HFSPLUS: On LibClamAV debug: * Submodule XZ: On LibClamAV debug: * Submodule PASSWD: On LibClamAV debug: * Submodule MBR: On LibClamAV debug: * Submodule GPT: On LibClamAV debug: * Submodule APM: On LibClamAV debug: * Submodule EGG: On LibClamAV debug: Module DOCUMENT: On LibClamAV debug: * Submodule HTML: On LibClamAV debug: * Submodule RTF: On LibClamAV debug: * Submodule PDF: On LibClamAV debug: * Submodule SCRIPT: On LibClamAV debug: * Submodule HTMLSKIPRAW: On LibClamAV debug: * Submodule JSNORM: On LibClamAV debug: * Submodule SWF: On LibClamAV debug: * Submodule OOXML: On LibClamAV debug: * Submodule MSPML: On LibClamAV debug: * Submodule HWP: On LibClamAV debug: Module MAIL: On LibClamAV debug: * Submodule MBOX: On LibClamAV debug: * Submodule TNEF: On LibClamAV debug: Module OTHER: On LibClamAV debug: * Submodule UUENCODED: On LibClamAV debug: * Submodule SCRENC: On LibClamAV debug: * Submodule RIFF: On LibClamAV debug: * Submodule JPEG: On LibClamAV debug: * Submodule CRYPTFF: On LibClamAV debug: * Submodule DLP: On LibClamAV debug: * Submodule MYDOOMLOG: On LibClamAV debug: * Submodule PREFILTERING: On LibClamAV debug: * Submodule PDFNAMEOBJ: On LibClamAV debug: * Submodule PRTNINTXN: On LibClamAV debug: * Submodule LZW: On LibClamAV debug: * Submodule GIF: On LibClamAV debug: * Submodule PNG: On LibClamAV debug: * Submodule TIFF: On LibClamAV debug: Module PHISHING On LibClamAV debug: * Submodule ENGINE: On LibClamAV debug: * Submodule ENTCONV: On LibClamAV debug: Module BYTECODE On LibClamAV debug: * Submodule INTERPRETER: On LibClamAV debug: * Submodule JIT X86: On LibClamAV debug: * Submodule JIT PPC: On LibClamAV debug: * Submodule JIT ARM: ** Off ** LibClamAV debug: Module STATS Off LibClamAV debug: Module PCRE On LibClamAV debug: * Submodule SUPPORT: On LibClamAV debug: * Submodule OPTIONS: On LibClamAV debug: * Submodule GLOBAL: On LibClamAV debug: pool memory used: 5.941 MB LibClamAV debug: No bytecodes loaded, not running builtin test LibClamAV debug: Checking realpath of /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls LibClamAV debug: Recognized OLE2 container file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_scanole2() LibClamAV debug: in cli_ole2_extract() LibClamAV debug: Major Version = 0x0 LibClamAV debug: Minor Version = 0x0 LibClamAV debug: Flags = 0x0 LibClamAV debug: Size = 0xe020c0 LibClamAV debug: ole2: Flags must match LibClamAV debug: Encrypted with VelvetSweatshop: 0 LibClamAV debug: LibClamAV debug: Magic: 0xd0cf11e0a1b11ae1 LibClamAV debug: CLSID: {0000-00-00-00-000000} LibClamAV debug: Minor version: 0x3e LibClamAV debug: DLL version: 0x3 LibClamAV debug: Byte Order: -2 LibClamAV debug: Big Block Size: 9 LibClamAV debug: Small Block Size: 6 LibClamAV debug: BAT count: 1 LibClamAV debug: Prop start: 126 LibClamAV debug: SBAT cutoff: 4096 LibClamAV debug: SBat start: -2 LibClamAV debug: SBat block count: 0 LibClamAV debug: XBat start: -2 LibClamAV debug: XBat block count: 0 LibClamAV debug: LibClamAV debug: Max block number: 1016 LibClamAV debug: [scan_biff_for_xlm_macros_and_images] Found image in sheet LibClamAV debug: OLE2: VBA project found LibClamAV debug: OLE2: root entry [root] b size:0x00000000 flags:0x00000000 LibClamAV debug: OLE2: _5_summaryinformation [file] b size:0x00001000 flags:0x00000000 LibClamAV debug: Storing _5_summaryinformation in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping '_5_summaryinformation' to '/tmp/20240628_104429-scantemp.00ec2fe966/ole2-tmp.50bf42d4ab/8f77ea59a4794f91b39913db2e55f3fc_1' LibClamAV debug: OLE2: _5_documentsummaryinformation [file] b size:0x00001000 flags:0x00000000 LibClamAV debug: Storing _5_documentsummaryinformation in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping '_5_documentsummaryinformation' to '/tmp/20240628_104429-scantemp.00ec2fe966/ole2-tmp.50bf42d4ab/c94e3926fdf7b9e624cba640b87b17a8_1' LibClamAV debug: OLE2: workbook [file] b size:0x0000d8e5 flags:0x00000000 LibClamAV debug: Storing workbook in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping 'workbook' to '/tmp/20240628_104429-scantemp.00ec2fe966/ole2-tmp.50bf42d4ab/e3af082cc2ec644830a69ddafe5abe31_1' LibClamAV debug: cli_ole2_scan_tempdir: /tmp/20240628_104429-scantemp.00ec2fe966/ole2-tmp.50bf42d4ab LibClamAV debug: cli_ole2_tempdir_scan_summary: detected a '_5_summaryinformation' stream LibClamAV debug: in cli_ole2_summary_json LibClamAV debug: ole2_summary_json: streamsize: 4096 LibClamAV debug: ole2_summary_json: byteorder 0xfffe LibClamAV debug: ole2_summary_json: 1 property set(s) detected LibClamAV debug: in ole2_summary_propset_json LibClamAV debug: ole2_summary_propset_json: pssize: 176, numprops: 7 LibClamAV debug: ole2_summary_propset_json: processing 7 of 7 (25 max) properties LibClamAV debug: ole2_summary_propset_json: propid: 0x00000001, propoff: 64 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000004, propoff: 72 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000008, propoff: 96 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000012, propoff: 120 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000c, propoff: 144 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000d, propoff: 156 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000013, propoff: 168 LibClamAV debug: in cli_ole2_summary_json_cleanup: 0[0] LibClamAV debug: cli_ole2_tempdir_scan_summary: detected a '_5_documentsummaryinformation' stream LibClamAV debug: in cli_ole2_summary_json LibClamAV debug: ole2_summary_json: streamsize: 4096 LibClamAV debug: ole2_summary_json: byteorder 0xfffe LibClamAV debug: ole2_summary_json: 1 property set(s) detected LibClamAV debug: in ole2_summary_propset_json LibClamAV debug: ole2_summary_propset_json: pssize: 196, numprops: 9 LibClamAV debug: ole2_summary_propset_json: processing 9 of 9 (25 max) properties LibClamAV debug: ole2_summary_propset_json: propid: 0x00000001, propoff: 80 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000f, propoff: 88 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000017, propoff: 100 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000b, propoff: 108 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000010, propoff: 116 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000013, propoff: 124 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000016, propoff: 132 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000d, propoff: 140 LibClamAV debug: ole2_process_property: unhandled property type 0x101e for DocPartTitles property LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000c, propoff: 159 LibClamAV debug: ole2_process_property: unhandled property type 0x100c for HeadingPairs property LibClamAV debug: in cli_ole2_summary_json_cleanup: 0[100] LibClamAV debug: [cli_extract_xlm_macros_and_images] Extracting macros to /tmp/20240628_104429-scantemp.00ec2fe966/xlm_macros.e25249217c LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0xf LibClamAV debug: read_office_art_record_header: recInstance 0x0 LibClamAV debug: read_office_art_record_header: recType 0xf000 LibClamAV debug: read_office_art_record_header: recLen 39456 LibClamAV debug: cli_extract_images_from_drawing_group: Found drawing group of size 39456 bytes LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x0 LibClamAV debug: read_office_art_record_header: recType 0xf006 LibClamAV debug: read_office_art_record_header: recLen 24 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0xf LibClamAV debug: read_office_art_record_header: recInstance 0x2 LibClamAV debug: read_office_art_record_header: recType 0xf001 LibClamAV debug: read_office_art_record_header: recLen 39366 LibClamAV debug: cli_extract_images_from_drawing_group: Found an OfficeArtBStoreContainerFileBlock (Blip store). LibClamAV debug: cli_extract_images_from_drawing_group: size: 39366 bytes, contains: 2 file block records LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x2 LibClamAV debug: read_office_art_record_header: recInstance 0x5 LibClamAV debug: read_office_art_record_header: recType 0xf007 LibClamAV debug: read_office_art_record_header: recLen 16623 LibClamAV debug: process_blip_store_container: Invalid recVer for Blip record header: 2 LibClamAV debug: process_blip_store_container: Found a File Blip Store Entry (FBSE) record LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x46a LibClamAV debug: read_office_art_record_header: recType 0xf01d LibClamAV debug: read_office_art_record_header: recLen 16579 LibClamAV debug: process_blip_store_container: Found OfficeArtBlipJPEG LibClamAV debug: Scanning extracted image of size 16562 LibClamAV debug: cli_magic_scan_nested_fmap_type: [0, +16562) LibClamAV debug: magic_scan_nested_fmap_type: [0, +16562), [0, +16562) LibClamAV debug: Recognized JPEG file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_parsejpeg() LibClamAV debug: segment[1] = 0xe0, Length 16 LibClamAV debug: JFIF application marker LibClamAV debug: segment[2] = 0xe1, Length 6604 LibClamAV debug: Exif application marker LibClamAV debug: segment[3] = 0xe2, Length 3160 LibClamAV debug: ICC Profile, chunk # 1 LibClamAV debug: segment[4] = 0xdb, Length 67 LibClamAV debug: Quantization Tables definitions (DQT) LibClamAV debug: segment[5] = 0xdb, Length 67 LibClamAV debug: Quantization Tables definitions (DQT) LibClamAV debug: segment[6] = 0xc2, Length 17 LibClamAV debug: Start of Frame (S0F) c2 LibClamAV debug: segment[7] = 0xc4, Length 28 LibClamAV debug: Huffman Tables definitions (DHT) LibClamAV debug: segment[8] = 0xc4, Length 27 LibClamAV debug: Huffman Tables definitions (DHT) LibClamAV debug: segment[9] = 0xda, Length 12 LibClamAV debug: Start of Scan (SOS) segment marker LibClamAV debug: Image hash: ea0f85d0de719887 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Checking image fuzzy hash 'ea0f85d0de719887' for signature match LibClamAV debug: Checking image fuzzy hash 'ea0f85d0de719887' for signature match LibClamAV debug: FP SIGNATURE: 41e64a9ddb49690f0b6fbbd71362b1b3:16562:logo.png.good.UNOFFICIAL # Name: n/a, Type: CL_TYPE_JPEG LibClamAV debug: FP SIGNATURE: bd7f9450b08d919d4d330a13c8aa14a5:65536:logo.png.good.UNOFFICIAL # Name: has_png_and_jpeg.xls, Type: CL_TYPE_MSOLE2 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x2 LibClamAV debug: read_office_art_record_header: recInstance 0x6 LibClamAV debug: read_office_art_record_header: recType 0xf007 LibClamAV debug: read_office_art_record_header: recLen 22727 LibClamAV debug: process_blip_store_container: Invalid recVer for Blip record header: 2 LibClamAV debug: process_blip_store_container: Found a File Blip Store Entry (FBSE) record LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x6e0 LibClamAV debug: read_office_art_record_header: recType 0xf01e LibClamAV debug: read_office_art_record_header: recLen 22683 LibClamAV debug: process_blip_store_container: Found OfficeArtBlipPNG LibClamAV debug: Scanning extracted image of size 22666 LibClamAV debug: cli_magic_scan_nested_fmap_type: [0, +22666) LibClamAV debug: magic_scan_nested_fmap_type: [0, +22666), [0, +22666) LibClamAV debug: Recognized PNG file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_parsepng() LibClamAV debug: Chunk Type: IHDR, Data Length: 13 bytes LibClamAV debug: Width: 144 LibClamAV debug: Height: 144 LibClamAV debug: Bit Depth: 8 (Sample Depth: 32) LibClamAV debug: Color Type: 6 LibClamAV debug: Compression Method: 0 LibClamAV debug: Filter Method: 0 LibClamAV debug: Interlace Method: 0 LibClamAV debug: Chunk CRC: 0xe746e2b8 LibClamAV debug: Chunk Type: zTXt, Data Length: 7087 bytes LibClamAV debug: Chunk CRC: 0x19546b29 LibClamAV debug: Chunk Type: iCCP, Data Length: 2618 bytes LibClamAV debug: Chunk CRC: 0x361c0fd2 LibClamAV debug: Chunk Type: iCCP, Data Length: 2618 bytes LibClamAV debug: Chunk CRC: 0x25771675 LibClamAV debug: Chunk Type: bKGD, Data Length: 6 bytes LibClamAV debug: Chunk CRC: 0xa0bda793 LibClamAV debug: Chunk Type: pHYs, Data Length: 9 bytes LibClamAV debug: Chunk CRC: 0x9a9c18 LibClamAV debug: Chunk Type: tIME, Data Length: 7 bytes LibClamAV debug: Chunk CRC: 0x2423dc6b LibClamAV debug: Chunk Type: IDAT, Data Length: 8192 bytes LibClamAV debug: IDAT chunk: image data decompression no longer performed in PNG CVE checker. LibClamAV debug: Chunk CRC: 0x80ae8521 LibClamAV debug: Chunk Type: IDAT, Data Length: 1988 bytes LibClamAV debug: IDAT chunk: image data decompression no longer performed in PNG CVE checker. LibClamAV debug: Chunk CRC: 0x2fbbd0c7 LibClamAV debug: Chunk Type: IEND, Data Length: 0 bytes LibClamAV debug: Chunk CRC: 0xae426082 LibClamAV debug: Image hash: 97e5789e252983c6 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Checking image fuzzy hash '97e5789e252983c6' for signature match LibClamAV debug: Checking image fuzzy hash '97e5789e252983c6' for signature match LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x3 LibClamAV debug: read_office_art_record_header: recInstance 0x3 LibClamAV debug: read_office_art_record_header: recType 0xf00b LibClamAV debug: read_office_art_record_header: recLen 18 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x4 LibClamAV debug: read_office_art_record_header: recType 0xf11e LibClamAV debug: read_office_art_record_header: recLen 16 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Matched signature for file type ZIP-SFX at 51936 LibClamAV debug: Matched signature for file type ZIP-SFX at 52240 LibClamAV debug: Matched signature for file type ZIP-SFX at 52473 LibClamAV debug: Matched signature for file type ZIP-SFX at 52662 LibClamAV debug: Matched signature for file type ZIP-SFX at 54457 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 51936 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:[Content_Types].xml:540:255:bf0fdee9:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:255:[Content_Types].xml:255:540:0:0:3205488361:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104429-scantemp.00ec2fe966/clamav-601b7993dacab3df3b8fc048a7f5dd2a.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52240 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:_rels/.rels:310:192:e7a7d6a5:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:192:_rels/.rels:192:310:0:0:3886536357:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104429-scantemp.00ec2fe966/clamav-a389d8f0b85e1a1d82e9d59b468eb5f4.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52473 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/themeManager.xml:138:131:1696796b:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:131:theme/theme/themeManager.xml:131:138:0:0:378960235:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104429-scantemp.00ec2fe966/clamav-d326ed43651617715549e2597dca963c.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52662 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/theme1.xml:8112:1743:d16dd24e:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:1743:theme/theme/theme1.xml:1743:8112:0:0:3513635406:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104429-scantemp.00ec2fe966/clamav-f1d5a0a2389568e9b3ae800018e4e9e0.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 54457 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/_rels/themeManager.xml.rels:283:182:9f90d10d:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:182:theme/theme/_rels/themeManager.xml.rels:182:283:0:0:2677068045:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240628_104429-scantemp.00ec2fe966/clamav-d8790994e73d8bc09c1f85be087684cf.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: { "Magic":"CLAMJSONv0", "RootFileType":"CL_TYPE_MSXL", "FileName":"has_png_and_jpeg.xls", "FileType":"CL_TYPE_MSXL", "FileSize":65536, "FileMD5":"bd7f9450b08d919d4d330a13c8aa14a5", "EncryptedWithVelvetSweatshop":0, "Streams":[ "_5_summaryinformation", "_5_documentsummaryinformation", "workbook" ], "SummaryInfo":{ "CodePage":1252, "Author":"Micah Snyder", "LastAuthor":"Micah Snyder", "AppName":"Microsoft Excel", "CreatedTime":1626380512, "ModifiedTime":1626380712, "Security":0 }, "DocSummaryInfo":{ "CodePage":1252, "Company":"", "Version":1048576, "Scale":false, "LinksDirty":false, "SharedDoc":false, "HyperLinksChanged":false, "ParseErrors":[ "OLE2_SUMMARY_FLAG_UNHANDLED_PROPTYPE" ] }, "ContainedObjects":[ { "FileType":"CL_TYPE_JPEG", "FileSize":16562, "FileMD5":"41e64a9ddb49690f0b6fbbd71362b1b3", "ImageFuzzyHash":{ "Hash":"ea0f85d0de719887" }, "Viruses":[ "logo.png.good.UNOFFICIAL" ] }, { "FileType":"CL_TYPE_PNG", "FileSize":22666, "FileMD5":"5341e0efde53a50c416b2352263e7693", "ImageFuzzyHash":{ "Hash":"97e5789e252983c6" } } ], "EmbeddedObjects":[ { "FileType":"CL_TYPE_ZIPSFX", "Offset":51936, "ContainedObjects":[ { "FileName":"[Content_Types].xml", "FilePath":"/tmp/20240628_104429-scantemp.00ec2fe966/clamav-601b7993dacab3df3b8fc048a7f5dd2a.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":540, "FileMD5":"c9cbcd6f377d2c787064d8e5464412f1" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52240, "ContainedObjects":[ { "FileName":".rels", "FilePath":"/tmp/20240628_104429-scantemp.00ec2fe966/clamav-a389d8f0b85e1a1d82e9d59b468eb5f4.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":310, "FileMD5":"72721ae37030f210de7a73d75dbc33eb" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52473, "ContainedObjects":[ { "FileName":"themeManager.xml", "FilePath":"/tmp/20240628_104429-scantemp.00ec2fe966/clamav-d326ed43651617715549e2597dca963c.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":138, "FileMD5":"ad57ce056452726e5fb113fb8c6f229e" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52662, "ContainedObjects":[ { "FileName":"theme1.xml", "FilePath":"/tmp/20240628_104429-scantemp.00ec2fe966/clamav-f1d5a0a2389568e9b3ae800018e4e9e0.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":8112, "FileMD5":"d6519a9212444706e7cbda9fb2917083" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":54457, "ContainedObjects":[ { "FileName":"themeManager.xml.rels", "FilePath":"/tmp/20240628_104429-scantemp.00ec2fe966/clamav-d8790994e73d8bc09c1f85be087684cf.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":283, "FileMD5":"c8d47b0b4a92b9587777ef824be3c8c4" } ] } ] } LibClamAV debug: Bytecode executing hook id 260 (0 hooks) LibClamAV debug: Bytecode: no logical signature matched, no bytecode executed LibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Freeing phishcheck struct LibClamAV debug: Phishcheck cleaned up [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9895== Memcheck, a memory error detector [INFO]: ==9895== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9895== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9895== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/logo.png.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls --gen-json --debug --allmatch [INFO]: ==9895== Parent PID: 9803 [INFO]: ==9895== [INFO]: --9895-- [INFO]: --9895-- Valgrind options: [INFO]: --9895-- -v [INFO]: --9895-- --trace-children=yes [INFO]: --9895-- --track-fds=yes [INFO]: --9895-- --leak-check=full [INFO]: --9895-- --show-possibly-lost=no [INFO]: --9895-- --show-leak-kinds=definite [INFO]: --9895-- --errors-for-leak-kinds=definite [INFO]: --9895-- --main-stacksize=16777216 [INFO]: --9895-- --gen-suppressions=all [INFO]: --9895-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9895-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log [INFO]: --9895-- --error-exitcode=123 [INFO]: --9895-- Contents of /proc/version: [INFO]: --9895-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9895-- [INFO]: --9895-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9895-- Page sizes: currently 4096, max supported 4096 [INFO]: --9895-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9895-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9895-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9895-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9895-- might be shown as UnknownInlinedFun [INFO]: --9895-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9895-- object doesn't have a dynamic symbol table [INFO]: --9895-- Scheduler: using generic scheduler lock implementation. [INFO]: --9895-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9895-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9895== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9895-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9895== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9895-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9895== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9895-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9895== [INFO]: ==9895== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9895== don't want to do, unless you know exactly what you're doing, [INFO]: ==9895== or are doing some strange experiment): [INFO]: ==9895== /usr/libexec/valgrind/../../bin/vgdb --pid=9895 ...command... [INFO]: ==9895== [INFO]: ==9895== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9895== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9895== and then give GDB the following command [INFO]: ==9895== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9895 [INFO]: ==9895== --pid is optional if only one valgrind process is running [INFO]: ==9895== [INFO]: --9895-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9895-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9895-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9895-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9895-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9895-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9895-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9895-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9895-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9895-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9895-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9895-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9895-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9895-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9895-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9895-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9895-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9895-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9895-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9895== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9895== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9895== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9895== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9895-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9895-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9895-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9895-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9895-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9895-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9895-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9895-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9895-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9895-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9895-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9895-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9895-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9895-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9895-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9895-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9895-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9895-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9895-- Reading syms from /usr/lib64/gconv/CP1252.so [INFO]: ==9895== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9895== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9895== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9895== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9895== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9895== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9895== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9895== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9895== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9895== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9895== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9895== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9895== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9895== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9895== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9895== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9895== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9895== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9895== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9895== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9895== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9895== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9895== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9895== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9895== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9895== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9895== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9895== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9895== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9895== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9895== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9895== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9895== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9895== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9895== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9895== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9895== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9895== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9895== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9895== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9895== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9895== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9895== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9895== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9895== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9895== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9895== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9895== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9895== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9895== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9895== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9895== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9895== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9895== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9895== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9895== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: --9895-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9895-- Discarding syms at 0x5f0d100-0x5f0e150 in /usr/lib64/gconv/CP1252.so (have_dinfo 1) [INFO]: ==9895== [INFO]: ==9895== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9895== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-g6vk2wn1/valgrind.log [INFO]: ==9895== [INFO]: ==9895== [INFO]: ==9895== (No origin, error cannot be suppressed) [INFO]: ==9895== [INFO]: ==9895== HEAP SUMMARY: [INFO]: ==9895== in use at exit: 23,256 bytes in 37 blocks [INFO]: ==9895== total heap usage: 7,183 allocs, 7,146 frees, 3,347,627 bytes allocated [INFO]: ==9895== [INFO]: ==9895== Searching for pointers to 37 not-freed blocks [INFO]: ==9895== Checked 4,457,808 bytes [INFO]: ==9895== [INFO]: ==9895== LEAK SUMMARY: [INFO]: ==9895== definitely lost: 0 bytes in 0 blocks [INFO]: ==9895== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9895== possibly lost: 608 bytes in 2 blocks [INFO]: ==9895== still reachable: 22,648 bytes in 35 blocks [INFO]: ==9895== suppressed: 0 bytes in 0 blocks [INFO]: ==9895== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9895== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9895== [INFO]: ==9895== Use --track-origins=yes to see where uninitialised values come from [INFO]: ==9895== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) [INFO]: ==9895== [INFO]: ==9895== 9 errors in context 1 of 2: [INFO]: ==9895== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9895== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9895== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9895== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9895== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9895== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9895== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9895== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9895== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9895== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9895== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9895== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9895== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9895== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9895== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9895== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9895== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9895== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9895== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9895== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9895== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9895== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9895== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9895== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9895== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9895== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9895== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9895== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9895== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9895== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9895== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9895== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9895== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9895== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9895== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9895== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9895== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9895== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9895== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9895== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9895== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9895== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9895== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9895== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9895== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9895== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9895== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9895== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9895== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9895== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9895== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9895== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9895== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9895== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9895== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9895== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9895== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) ________________________________ TC.test_LDB_VI ________________________________ self = def test_LDB_VI(self): self.step_name('Test LDB VI feature') testfiles = ' '.join([str(testpath) for testpath in TC.testpaths]) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'Clam-VI.ldb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam...redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: Clam-VI-Test:Target.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 47\nInfected files: 2\nData scanned: 15.36 MB\nData read: 6.91 MB (ratio 2.22:1)\nTime: 9.259 sec (0 m 9 s)\nStart Date: 2024:06:28 10:44:32\nEnd Date: 2024:06:28 10:44:41\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/match_offsets_test.py:51: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB VI feature [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/Clam-VI.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: Clam-VI-Test:Target.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: Clam-VI-Test:Target.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 2 Data scanned: 15.36 MB Data read: 6.91 MB (ratio 2.22:1) Time: 9.259 sec (0 m 9 s) Start Date: 2024:06:28 10:44:32 End Date: 2024:06:28 10:44:41 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9899== Memcheck, a memory error detector [INFO]: ==9899== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9899== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9899== Parent PID: 9803 [INFO]: ==9899== [INFO]: --9899-- [INFO]: --9899-- Valgrind options: [INFO]: --9899-- -v [INFO]: --9899-- --trace-children=yes [INFO]: --9899-- --track-fds=yes [INFO]: --9899-- --leak-check=full [INFO]: --9899-- --show-possibly-lost=no [INFO]: --9899-- --show-leak-kinds=definite [INFO]: --9899-- --errors-for-leak-kinds=definite [INFO]: --9899-- --main-stacksize=16777216 [INFO]: --9899-- --gen-suppressions=all [INFO]: --9899-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9899-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [INFO]: --9899-- --error-exitcode=123 [INFO]: --9899-- Contents of /proc/version: [INFO]: --9899-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9899-- [INFO]: --9899-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9899-- Page sizes: currently 4096, max supported 4096 [INFO]: --9899-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9899-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9899-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9899-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9899-- might be shown as UnknownInlinedFun [INFO]: --9899-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9899-- object doesn't have a dynamic symbol table [INFO]: --9899-- Scheduler: using generic scheduler lock implementation. [INFO]: --9899-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9899-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9899== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9899-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9899== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9899-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9899== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9899-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9899== [INFO]: ==9899== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9899== don't want to do, unless you know exactly what you're doing, [INFO]: ==9899== or are doing some strange experiment): [INFO]: ==9899== /usr/libexec/valgrind/../../bin/vgdb --pid=9899 ...command... [INFO]: ==9899== [INFO]: ==9899== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9899== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9899== and then give GDB the following command [INFO]: ==9899== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9899 [INFO]: ==9899== --pid is optional if only one valgrind process is running [INFO]: ==9899== [INFO]: --9899-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9899-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9899-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9899-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9899-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9899-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9899-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9899-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9899-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9899-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9899-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9899-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9899-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9899-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9899-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9899-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9899-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9899-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9899-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9899-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9899-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9899== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9899== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9899== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9899== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9899-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9899-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9899-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9899-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9899-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9899-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9899-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9899-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9899-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9899-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9899-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9899-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9899-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9899-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9899-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9899-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9899-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9899-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9899-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9899-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9899-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9899-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9899-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9899-- REDIR: 0x5209c40 (libc.so.6:__strcpy_chk) redirected to 0x484e740 (__strcpy_chk) [INFO]: --9899-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: --9899-- Discarding syms at 0x5f4d160-0x5f4e940 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9899== [INFO]: ==9899== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9899== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [INFO]: ==9899== [INFO]: ==9899== [INFO]: ==9899== (No origin, error cannot be suppressed) [INFO]: ==9899== [INFO]: ==9899== HEAP SUMMARY: [INFO]: ==9899== in use at exit: 1,059 bytes in 61 blocks [INFO]: ==9899== total heap usage: 13,561 allocs, 13,500 frees, 48,974,018 bytes allocated [INFO]: ==9899== [INFO]: ==9899== Searching for pointers to 61 not-freed blocks [INFO]: ==9899== Checked 280,880 bytes [INFO]: ==9899== [INFO]: ==9899== LEAK SUMMARY: [INFO]: ==9899== definitely lost: 0 bytes in 0 blocks [INFO]: ==9899== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9899== possibly lost: 0 bytes in 0 blocks [INFO]: ==9899== still reachable: 1,059 bytes in 61 blocks [INFO]: ==9899== suppressed: 0 bytes in 0 blocks [INFO]: ==9899== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9899== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9899== [INFO]: ==9899== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________________ TC.test_yara_at_offset ____________________________ self = def test_yara_at_offset(self): self.step_name('Test yara signature - detect TAR file magic at an offset') testfiles = ' '.join([str(testpath) for testpath in TC.testpaths]) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'yara-at-offset.yara', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: YARA.yara_at_offset.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tes...clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: YARA.yara_at_offset.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: YARA.yara_at_offset.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 47\nInfected files: 3\nData scanned: 20.95 MB\nData read: 6.91 MB (ratio 3.03:1)\nTime: 12.511 sec (0 m 12 s)\nStart Date: 2024:06:28 10:44:42\nEnd Date: 2024:06:28 10:44:54\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/match_offsets_test.py:69: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test yara signature - detect TAR file magic at an offset [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/yara-at-offset.yara /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: YARA.yara_at_offset.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: YARA.yara_at_offset.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: YARA.yara_at_offset.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 3 Data scanned: 20.95 MB Data read: 6.91 MB (ratio 3.03:1) Time: 12.511 sec (0 m 12 s) Start Date: 2024:06:28 10:44:42 End Date: 2024:06:28 10:44:54 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9901== Memcheck, a memory error detector [INFO]: ==9901== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9901== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9901== Parent PID: 9803 [INFO]: ==9901== [INFO]: --9901-- [INFO]: --9901-- Valgrind options: [INFO]: --9901-- -v [INFO]: --9901-- --trace-children=yes [INFO]: --9901-- --track-fds=yes [INFO]: --9901-- --leak-check=full [INFO]: --9901-- --show-possibly-lost=no [INFO]: --9901-- --show-leak-kinds=definite [INFO]: --9901-- --errors-for-leak-kinds=definite [INFO]: --9901-- --main-stacksize=16777216 [INFO]: --9901-- --gen-suppressions=all [INFO]: --9901-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9901-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [INFO]: --9901-- --error-exitcode=123 [INFO]: --9901-- Contents of /proc/version: [INFO]: --9901-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9901-- [INFO]: --9901-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9901-- Page sizes: currently 4096, max supported 4096 [INFO]: --9901-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9901-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9901-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9901-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9901-- might be shown as UnknownInlinedFun [INFO]: --9901-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9901-- object doesn't have a dynamic symbol table [INFO]: --9901-- Scheduler: using generic scheduler lock implementation. [INFO]: --9901-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9901-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9901== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9901-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9901== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9901-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9901== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9901-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9901== [INFO]: ==9901== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9901== don't want to do, unless you know exactly what you're doing, [INFO]: ==9901== or are doing some strange experiment): [INFO]: ==9901== /usr/libexec/valgrind/../../bin/vgdb --pid=9901 ...command... [INFO]: ==9901== [INFO]: ==9901== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9901== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9901== and then give GDB the following command [INFO]: ==9901== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9901 [INFO]: ==9901== --pid is optional if only one valgrind process is running [INFO]: ==9901== [INFO]: --9901-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9901-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9901-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9901-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9901-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9901-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9901-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9901-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9901-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9901-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9901-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9901-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9901-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9901-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9901-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9901-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9901-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9901-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9901-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9901== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9901== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9901== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9901== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9901-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9901-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9901-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9901-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9901-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9901-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9901-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9901-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9901-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9901-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9901-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9901-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9901-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9901-- REDIR: 0x5193210 (libc.so.6:strlcpy) redirected to 0x48474b0 (strlcpy) [INFO]: --9901-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9901-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9901-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9901-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9901-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9901-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9901-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9901-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9901-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9901-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9901-- REDIR: 0x5209c40 (libc.so.6:__strcpy_chk) redirected to 0x484e740 (__strcpy_chk) [INFO]: --9901-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9901== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9901== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9901== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9901== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9901== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9901== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9901== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9901== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9901== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9901== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9901== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9901== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9901== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9901== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9901== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9901== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9901== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9901== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9901== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9901== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9901== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9901== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9901== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9901== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9901== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9901== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9901== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9901== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9901== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9901== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9901== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9901== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9901== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9901== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9901== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9901== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9901== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9901== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9901== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9901== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9901== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9901== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9901== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9901== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9901== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9901== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9901== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9901== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9901== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9901== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9901== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9901== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9901== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9901== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9901== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9901== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: --9901-- Discarding syms at 0x5f4d160-0x5f4e940 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9901== [INFO]: ==9901== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9901== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [INFO]: ==9901== [INFO]: ==9901== [INFO]: ==9901== (No origin, error cannot be suppressed) [INFO]: ==9901== [INFO]: ==9901== HEAP SUMMARY: [INFO]: ==9901== in use at exit: 24,315 bytes in 98 blocks [INFO]: ==9901== total heap usage: 25,523 allocs, 25,425 frees, 59,695,472 bytes allocated [INFO]: ==9901== [INFO]: ==9901== Searching for pointers to 98 not-freed blocks [INFO]: ==9901== Checked 4,462,392 bytes [INFO]: ==9901== [INFO]: ==9901== LEAK SUMMARY: [INFO]: ==9901== definitely lost: 0 bytes in 0 blocks [INFO]: ==9901== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9901== possibly lost: 608 bytes in 2 blocks [INFO]: ==9901== still reachable: 23,707 bytes in 96 blocks [INFO]: ==9901== suppressed: 0 bytes in 0 blocks [INFO]: ==9901== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9901== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9901== [INFO]: ==9901== Use --track-origins=yes to see where uninitialised values come from [INFO]: ==9901== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) [INFO]: ==9901== [INFO]: ==9901== 9 errors in context 1 of 2: [INFO]: ==9901== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9901== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9901== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9901== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9901== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9901== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9901== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9901== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9901== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9901== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9901== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9901== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9901== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9901== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9901== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9901== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9901== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9901== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9901== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9901== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9901== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9901== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9901== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9901== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9901== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9901== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9901== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9901== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9901== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9901== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9901== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9901== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9901== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9901== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9901== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9901== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9901== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9901== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9901== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9901== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9901== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9901== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9901== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9901== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9901== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9901== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9901== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9901== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9901== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9901== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9901== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9901== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9901== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9901== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9901== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9901== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9901== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) ____________________________ TC.test_yara_in_range _____________________________ self = def test_yara_in_range(self): self.step_name('Test yara signature - detect TAR file magic in a range') testfiles = ' '.join([str(testpath) for testpath in TC.testpaths]) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'yara-in-range.yara', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: YARA.yara_in_range.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_test...t/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: YARA.yara_in_range.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: YARA.yara_in_range.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 47\nInfected files: 3\nData scanned: 20.95 MB\nData read: 6.91 MB (ratio 3.03:1)\nTime: 12.253 sec (0 m 12 s)\nStart Date: 2024:06:28 10:44:55\nEnd Date: 2024:06:28 10:45:07\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/match_offsets_test.py:87: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test yara signature - detect TAR file magic in a range [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/yara-in-range.yara /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: YARA.yara_in_range.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: YARA.yara_in_range.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: YARA.yara_in_range.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 3 Data scanned: 20.95 MB Data read: 6.91 MB (ratio 3.03:1) Time: 12.253 sec (0 m 12 s) Start Date: 2024:06:28 10:44:55 End Date: 2024:06:28 10:45:07 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9905== Memcheck, a memory error detector [INFO]: ==9905== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9905== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9905== Parent PID: 9803 [INFO]: ==9905== [INFO]: --9905-- [INFO]: --9905-- Valgrind options: [INFO]: --9905-- -v [INFO]: --9905-- --trace-children=yes [INFO]: --9905-- --track-fds=yes [INFO]: --9905-- --leak-check=full [INFO]: --9905-- --show-possibly-lost=no [INFO]: --9905-- --show-leak-kinds=definite [INFO]: --9905-- --errors-for-leak-kinds=definite [INFO]: --9905-- --main-stacksize=16777216 [INFO]: --9905-- --gen-suppressions=all [INFO]: --9905-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9905-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [INFO]: --9905-- --error-exitcode=123 [INFO]: --9905-- Contents of /proc/version: [INFO]: --9905-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9905-- [INFO]: --9905-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9905-- Page sizes: currently 4096, max supported 4096 [INFO]: --9905-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9905-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9905-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9905-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9905-- might be shown as UnknownInlinedFun [INFO]: --9905-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9905-- object doesn't have a dynamic symbol table [INFO]: --9905-- Scheduler: using generic scheduler lock implementation. [INFO]: --9905-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9905-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9905== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9905-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9905== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9905-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9905== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9905-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9905== [INFO]: ==9905== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9905== don't want to do, unless you know exactly what you're doing, [INFO]: ==9905== or are doing some strange experiment): [INFO]: ==9905== /usr/libexec/valgrind/../../bin/vgdb --pid=9905 ...command... [INFO]: ==9905== [INFO]: ==9905== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9905== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9905== and then give GDB the following command [INFO]: ==9905== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9905 [INFO]: ==9905== --pid is optional if only one valgrind process is running [INFO]: ==9905== [INFO]: --9905-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9905-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9905-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9905-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9905-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9905-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9905-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9905-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9905-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9905-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9905-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9905-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9905-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9905-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9905-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9905-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9905-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9905-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9905-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9905-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9905-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9905== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9905== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9905== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9905== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9905-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9905-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9905-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9905-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9905-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9905-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9905-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9905-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9905-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9905-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9905-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9905-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9905-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9905-- REDIR: 0x5193210 (libc.so.6:strlcpy) redirected to 0x48474b0 (strlcpy) [INFO]: --9905-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9905-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9905-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9905-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9905-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9905-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9905-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9905-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9905-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9905-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9905-- REDIR: 0x5209c40 (libc.so.6:__strcpy_chk) redirected to 0x484e740 (__strcpy_chk) [INFO]: --9905-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9905== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9905== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9905== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9905== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9905== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9905== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9905== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9905== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9905== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9905== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9905== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9905== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9905== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9905== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9905== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9905== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9905== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9905== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9905== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9905== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9905== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9905== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9905== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9905== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9905== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9905== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9905== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9905== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9905== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9905== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9905== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9905== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9905== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9905== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9905== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9905== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9905== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9905== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9905== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9905== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9905== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9905== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9905== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9905== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9905== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9905== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9905== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9905== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9905== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9905== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9905== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9905== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9905== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9905== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9905== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9905== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: --9905-- Discarding syms at 0x5f4d160-0x5f4e940 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9905== [INFO]: ==9905== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9905== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-zw0xligi/valgrind.log [INFO]: ==9905== [INFO]: ==9905== [INFO]: ==9905== (No origin, error cannot be suppressed) [INFO]: ==9905== [INFO]: ==9905== HEAP SUMMARY: [INFO]: ==9905== in use at exit: 24,315 bytes in 98 blocks [INFO]: ==9905== total heap usage: 25,523 allocs, 25,425 frees, 59,695,464 bytes allocated [INFO]: ==9905== [INFO]: ==9905== Searching for pointers to 98 not-freed blocks [INFO]: ==9905== Checked 4,462,600 bytes [INFO]: ==9905== [INFO]: ==9905== LEAK SUMMARY: [INFO]: ==9905== definitely lost: 0 bytes in 0 blocks [INFO]: ==9905== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9905== possibly lost: 608 bytes in 2 blocks [INFO]: ==9905== still reachable: 23,707 bytes in 96 blocks [INFO]: ==9905== suppressed: 0 bytes in 0 blocks [INFO]: ==9905== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9905== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9905== [INFO]: ==9905== Use --track-origins=yes to see where uninitialised values come from [INFO]: ==9905== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) [INFO]: ==9905== [INFO]: ==9905== 9 errors in context 1 of 2: [INFO]: ==9905== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9905== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9905== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9905== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9905== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9905== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9905== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9905== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9905== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9905== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9905== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9905== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9905== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9905== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9905== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9905== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9905== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9905== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9905== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9905== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9905== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9905== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9905== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9905== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9905== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9905== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9905== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9905== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9905== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9905== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9905== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9905== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9905== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9905== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9905== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9905== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9905== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9905== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9905== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9905== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9905== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9905== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9905== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9905== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9905== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9905== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9905== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9905== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9905== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9905== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9905== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9905== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9905== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9905== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9905== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9905== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9905== ERROR SUMMARY: 10 errors from 2 contexts (suppressed: 0 from 0) _____________________________ TC.test_not_enabled ______________________________ self = def test_not_enabled(self): self.step_name('Test that clamscan will load the phishing sigs w/out issue') testpaths = list(TC.path_source.glob('unit_tests/input/other_scanfiles/phish-test-*')) testfiles = ' '.join([str(testpath) for testpath in testpaths]) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'monitor-example-com.pdb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 0 # virus NOT found E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl: OK\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean: OK\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak: OK\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 3\nInfected files: 0\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.527 sec (0 m 1 s)\nStart Date: 2024:06:28 10:45:08\nEnd Date: 2024:06:28 10:45:10\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/phishing_test.py:45: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamscan will load the phishing sigs w/out issue [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/monitor-example-com.pdb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl: OK /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean: OK /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 3 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.527 sec (0 m 1 s) Start Date: 2024:06:28 10:45:08 End Date: 2024:06:28 10:45:10 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9909== Memcheck, a memory error detector [INFO]: ==9909== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9909== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9909== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/monitor-example-com.pdb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak [INFO]: ==9909== Parent PID: 9803 [INFO]: ==9909== [INFO]: --9909-- [INFO]: --9909-- Valgrind options: [INFO]: --9909-- -v [INFO]: --9909-- --trace-children=yes [INFO]: --9909-- --track-fds=yes [INFO]: --9909-- --leak-check=full [INFO]: --9909-- --show-possibly-lost=no [INFO]: --9909-- --show-leak-kinds=definite [INFO]: --9909-- --errors-for-leak-kinds=definite [INFO]: --9909-- --main-stacksize=16777216 [INFO]: --9909-- --gen-suppressions=all [INFO]: --9909-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9909-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log [INFO]: --9909-- --error-exitcode=123 [INFO]: --9909-- Contents of /proc/version: [INFO]: --9909-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9909-- [INFO]: --9909-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9909-- Page sizes: currently 4096, max supported 4096 [INFO]: --9909-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9909-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9909-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9909-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9909-- might be shown as UnknownInlinedFun [INFO]: --9909-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9909-- object doesn't have a dynamic symbol table [INFO]: --9909-- Scheduler: using generic scheduler lock implementation. [INFO]: --9909-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9909-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9909== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9909-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9909== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9909-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9909== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9909-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9909== [INFO]: ==9909== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9909== don't want to do, unless you know exactly what you're doing, [INFO]: ==9909== or are doing some strange experiment): [INFO]: ==9909== /usr/libexec/valgrind/../../bin/vgdb --pid=9909 ...command... [INFO]: ==9909== [INFO]: ==9909== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9909== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9909== and then give GDB the following command [INFO]: ==9909== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9909 [INFO]: ==9909== --pid is optional if only one valgrind process is running [INFO]: ==9909== [INFO]: --9909-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9909-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9909-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9909-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9909-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9909-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9909-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9909-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9909-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9909-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9909-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9909-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9909-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9909-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9909-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9909-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9909-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9909-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9909-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9909-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9909-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9909== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9909== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9909== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9909== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9909-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9909-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9909-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9909-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9909-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9909-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9909-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9909-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9909-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9909-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9909-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9909-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9909-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9909-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9909-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9909-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9909-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9909-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9909-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9909-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: ==9909== [INFO]: ==9909== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9909== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log [INFO]: ==9909== [INFO]: ==9909== [INFO]: ==9909== (No origin, error cannot be suppressed) [INFO]: ==9909== [INFO]: ==9909== HEAP SUMMARY: [INFO]: ==9909== in use at exit: 1,059 bytes in 61 blocks [INFO]: ==9909== total heap usage: 5,892 allocs, 5,831 frees, 1,251,684 bytes allocated [INFO]: ==9909== [INFO]: ==9909== Searching for pointers to 61 not-freed blocks [INFO]: ==9909== Checked 275,824 bytes [INFO]: ==9909== [INFO]: ==9909== LEAK SUMMARY: [INFO]: ==9909== definitely lost: 0 bytes in 0 blocks [INFO]: ==9909== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9909== possibly lost: 0 bytes in 0 blocks [INFO]: ==9909== still reachable: 1,059 bytes in 61 blocks [INFO]: ==9909== suppressed: 0 bytes in 0 blocks [INFO]: ==9909== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9909== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9909== [INFO]: ==9909== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________________ TC.test_ssl_and_cloak _____________________________ self = def test_ssl_and_cloak(self): self.step_name('Test clamscan --alert-phishing-ssl --alert-phishing-cloak') testpaths = list(TC.path_source.glob('unit_tests/input/other_scanfiles/phish-test-*')) testfiles = ' '.join([str(testpath) for testpath in testpaths]) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} --alert-phishing-ssl --alert-phishing-cloak {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'monitor-example-com.pdb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl: Heuristics.Phishing.Email.SSL-Spoof FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean: OK\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak: Heuristics.Phishing.Email.Cloaked.Null FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 3\nInfected files: 2\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.602 sec (0 m 1 s)\nStart Date: 2024:06:28 10:45:11\nEnd Date: 2024:06:28 10:45:12\n', err='LibClamAV info: Suspicious link found!\nLibClamAV info: Real URL: ssl-example.com\nLibClamAV info: Display URL: https://ssl-example.com\nLibClamAV info: Suspicious link found!\nLibClamAV info: Real URL: http://real-example.com\x01fake.example.com\nLibClamAV info: Display URL: real-example.com\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/phishing_test.py:67: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test clamscan --alert-phishing-ssl --alert-phishing-cloak [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/monitor-example-com.pdb --alert-phishing-ssl --alert-phishing-cloak /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl: Heuristics.Phishing.Email.SSL-Spoof FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean: OK /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak: Heuristics.Phishing.Email.Cloaked.Null FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 3 Infected files: 2 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.602 sec (0 m 1 s) Start Date: 2024:06:28 10:45:11 End Date: 2024:06:28 10:45:12 [DEBUG]: stderr: LibClamAV info: Suspicious link found! LibClamAV info: Real URL: ssl-example.com LibClamAV info: Display URL: https://ssl-example.com LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://real-example.comfake.example.com LibClamAV info: Display URL: real-example.com [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9911== Memcheck, a memory error detector [INFO]: ==9911== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9911== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9911== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/monitor-example-com.pdb --alert-phishing-ssl --alert-phishing-cloak /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak [INFO]: ==9911== Parent PID: 9803 [INFO]: ==9911== [INFO]: --9911-- [INFO]: --9911-- Valgrind options: [INFO]: --9911-- -v [INFO]: --9911-- --trace-children=yes [INFO]: --9911-- --track-fds=yes [INFO]: --9911-- --leak-check=full [INFO]: --9911-- --show-possibly-lost=no [INFO]: --9911-- --show-leak-kinds=definite [INFO]: --9911-- --errors-for-leak-kinds=definite [INFO]: --9911-- --main-stacksize=16777216 [INFO]: --9911-- --gen-suppressions=all [INFO]: --9911-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9911-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log [INFO]: --9911-- --error-exitcode=123 [INFO]: --9911-- Contents of /proc/version: [INFO]: --9911-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9911-- [INFO]: --9911-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9911-- Page sizes: currently 4096, max supported 4096 [INFO]: --9911-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9911-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9911-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9911-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9911-- might be shown as UnknownInlinedFun [INFO]: --9911-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9911-- object doesn't have a dynamic symbol table [INFO]: --9911-- Scheduler: using generic scheduler lock implementation. [INFO]: --9911-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9911-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9911== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9911-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9911== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9911-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9911== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9911-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9911== [INFO]: ==9911== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9911== don't want to do, unless you know exactly what you're doing, [INFO]: ==9911== or are doing some strange experiment): [INFO]: ==9911== /usr/libexec/valgrind/../../bin/vgdb --pid=9911 ...command... [INFO]: ==9911== [INFO]: ==9911== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9911== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9911== and then give GDB the following command [INFO]: ==9911== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9911 [INFO]: ==9911== --pid is optional if only one valgrind process is running [INFO]: ==9911== [INFO]: --9911-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9911-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9911-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9911-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9911-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9911-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9911-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9911-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9911-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9911-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9911-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9911-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9911-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9911-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9911-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9911-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9911-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9911-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9911-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9911-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9911-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9911== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9911== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9911== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9911== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9911-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9911-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9911-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9911-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9911-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9911-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9911-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9911-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9911-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9911-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9911-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9911-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9911-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9911-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9911-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9911-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9911-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9911-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9911-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9911-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: ==9911== [INFO]: ==9911== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9911== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-tzphy4ti/valgrind.log [INFO]: ==9911== [INFO]: ==9911== [INFO]: ==9911== (No origin, error cannot be suppressed) [INFO]: ==9911== [INFO]: ==9911== HEAP SUMMARY: [INFO]: ==9911== in use at exit: 1,059 bytes in 61 blocks [INFO]: ==9911== total heap usage: 5,898 allocs, 5,837 frees, 1,252,229 bytes allocated [INFO]: ==9911== [INFO]: ==9911== Searching for pointers to 61 not-freed blocks [INFO]: ==9911== Checked 275,888 bytes [INFO]: ==9911== [INFO]: ==9911== LEAK SUMMARY: [INFO]: ==9911== definitely lost: 0 bytes in 0 blocks [INFO]: ==9911== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9911== possibly lost: 0 bytes in 0 blocks [INFO]: ==9911== still reachable: 1,059 bytes in 61 blocks [INFO]: ==9911== suppressed: 0 bytes in 0 blocks [INFO]: ==9911== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9911== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9911== [INFO]: ==9911== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________________ TC.test_ldb_multi_pcre ____________________________ self = def test_ldb_multi_pcre(self): self.step_name('Test LDB and Yara regex rules with / and : in the string work') # This is a regression test for a bug where :'s in a PCRE regex would act # as delimiters if there was also a / in the regex before the : # using 'MZ' prefix so it is detected as MSEXE and not TEXT. This is to avoid normalization. testfile = TC.path_tmp / 'ldb_multi_pcre' testfile.write_text('MZ hello blee / BlAh') # Verify first with two subsigs that should match, that the alert has found. yara_db = TC.path_tmp / 'ldb_multi_pcre.ldb' yara_db.write_text( r'ldb_multi_pcre;Engine:81-255,Target:0;0&1&2;68656c6c6f20;0/hello blee/;0/blah/i' ) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=yara_db, testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_multi_pcre: ldb_multi_pcre.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.373 sec (0 m 1 s)\nStart Date: 2024:06:28 10:45:13\nEnd Date: 2024:06:28 10:45:15\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:247: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB and Yara regex rules with / and : in the string work [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_multi_pcre.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_multi_pcre [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_multi_pcre: ldb_multi_pcre.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.373 sec (0 m 1 s) Start Date: 2024:06:28 10:45:13 End Date: 2024:06:28 10:45:15 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9913== Memcheck, a memory error detector [INFO]: ==9913== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9913== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9913== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_multi_pcre.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_multi_pcre [INFO]: ==9913== Parent PID: 9803 [INFO]: ==9913== [INFO]: --9913-- [INFO]: --9913-- Valgrind options: [INFO]: --9913-- -v [INFO]: --9913-- --trace-children=yes [INFO]: --9913-- --track-fds=yes [INFO]: --9913-- --leak-check=full [INFO]: --9913-- --show-possibly-lost=no [INFO]: --9913-- --show-leak-kinds=definite [INFO]: --9913-- --errors-for-leak-kinds=definite [INFO]: --9913-- --main-stacksize=16777216 [INFO]: --9913-- --gen-suppressions=all [INFO]: --9913-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9913-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: --9913-- --error-exitcode=123 [INFO]: --9913-- Contents of /proc/version: [INFO]: --9913-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9913-- [INFO]: --9913-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9913-- Page sizes: currently 4096, max supported 4096 [INFO]: --9913-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9913-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9913-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9913-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9913-- might be shown as UnknownInlinedFun [INFO]: --9913-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9913-- object doesn't have a dynamic symbol table [INFO]: --9913-- Scheduler: using generic scheduler lock implementation. [INFO]: --9913-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9913-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9913== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9913-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9913== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9913-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9913== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9913-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9913== [INFO]: ==9913== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9913== don't want to do, unless you know exactly what you're doing, [INFO]: ==9913== or are doing some strange experiment): [INFO]: ==9913== /usr/libexec/valgrind/../../bin/vgdb --pid=9913 ...command... [INFO]: ==9913== [INFO]: ==9913== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9913== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9913== and then give GDB the following command [INFO]: ==9913== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9913 [INFO]: ==9913== --pid is optional if only one valgrind process is running [INFO]: ==9913== [INFO]: --9913-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9913-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9913-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9913-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9913-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9913-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9913-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9913-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9913-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9913-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9913-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9913-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9913-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9913-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9913-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9913-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9913-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9913-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9913-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9913-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9913-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9913== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9913== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9913== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9913== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9913-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9913-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9913-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9913-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9913-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9913-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9913-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9913-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9913-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9913-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9913-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9913-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9913-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9913-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9913-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9913-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9913-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9913-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9913== [INFO]: ==9913== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9913== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: ==9913== [INFO]: ==9913== [INFO]: ==9913== (No origin, error cannot be suppressed) [INFO]: ==9913== [INFO]: ==9913== HEAP SUMMARY: [INFO]: ==9913== in use at exit: 0 bytes in 0 blocks [INFO]: ==9913== total heap usage: 5,372 allocs, 5,372 frees, 595,871 bytes allocated [INFO]: ==9913== [INFO]: ==9913== All heap blocks were freed -- no leaks are possible [INFO]: ==9913== [INFO]: ==9913== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ___________________________ TC.test_ldb_offset_pcre ____________________________ self = def test_ldb_offset_pcre(self): self.step_name('Test LDB regex rules with an offset') # The offset feature starts the match some # of bytes after start of the pattern match # The offset is EXACT, meaning it's no longer wildcard. # The match must occur exactly that number of bytes from the start of the file. # using 'MZ' prefix so it is detected as MSEXE and not TEXT. This is to avoid normalization. testfile = TC.path_tmp / 'ldb_offset_pcre' testfile.write_text('MZ hello blee') # First without the offset, make sure it matches yara_db = TC.path_tmp / 'ldb_pcre_no_offset.ldb' yara_db.write_text( r'ldb_pcre_no_offset;Engine:81-255,Target:0;0&1;68656c6c6f20;0/hello blee/' ) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=yara_db, testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_offset_pcre: ldb_pcre_no_offset.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.384 sec (0 m 1 s)\nStart Date: 2024:06:28 10:45:15\nEnd Date: 2024:06:28 10:45:17\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:145: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB regex rules with an offset [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_pcre_no_offset.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_offset_pcre [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_offset_pcre: ldb_pcre_no_offset.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.384 sec (0 m 1 s) Start Date: 2024:06:28 10:45:15 End Date: 2024:06:28 10:45:17 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9915== Memcheck, a memory error detector [INFO]: ==9915== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9915== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9915== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_pcre_no_offset.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_offset_pcre [INFO]: ==9915== Parent PID: 9803 [INFO]: ==9915== [INFO]: --9915-- [INFO]: --9915-- Valgrind options: [INFO]: --9915-- -v [INFO]: --9915-- --trace-children=yes [INFO]: --9915-- --track-fds=yes [INFO]: --9915-- --leak-check=full [INFO]: --9915-- --show-possibly-lost=no [INFO]: --9915-- --show-leak-kinds=definite [INFO]: --9915-- --errors-for-leak-kinds=definite [INFO]: --9915-- --main-stacksize=16777216 [INFO]: --9915-- --gen-suppressions=all [INFO]: --9915-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9915-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: --9915-- --error-exitcode=123 [INFO]: --9915-- Contents of /proc/version: [INFO]: --9915-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9915-- [INFO]: --9915-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9915-- Page sizes: currently 4096, max supported 4096 [INFO]: --9915-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9915-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9915-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9915-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9915-- might be shown as UnknownInlinedFun [INFO]: --9915-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9915-- object doesn't have a dynamic symbol table [INFO]: --9915-- Scheduler: using generic scheduler lock implementation. [INFO]: --9915-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9915-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9915== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9915-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9915== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9915-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9915== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9915-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9915== [INFO]: ==9915== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9915== don't want to do, unless you know exactly what you're doing, [INFO]: ==9915== or are doing some strange experiment): [INFO]: ==9915== /usr/libexec/valgrind/../../bin/vgdb --pid=9915 ...command... [INFO]: ==9915== [INFO]: ==9915== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9915== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9915== and then give GDB the following command [INFO]: ==9915== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9915 [INFO]: ==9915== --pid is optional if only one valgrind process is running [INFO]: ==9915== [INFO]: --9915-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9915-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9915-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9915-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9915-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9915-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9915-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9915-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9915-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9915-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9915-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9915-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9915-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9915-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9915-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9915-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9915-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9915-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9915-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9915-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9915-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9915== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9915== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9915== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9915== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9915-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9915-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9915-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9915-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9915-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9915-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9915-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9915-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9915-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9915-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9915-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9915-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9915-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9915-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9915-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9915-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9915-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9915-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9915== [INFO]: ==9915== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9915== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: ==9915== [INFO]: ==9915== [INFO]: ==9915== (No origin, error cannot be suppressed) [INFO]: ==9915== [INFO]: ==9915== HEAP SUMMARY: [INFO]: ==9915== in use at exit: 0 bytes in 0 blocks [INFO]: ==9915== total heap usage: 5,364 allocs, 5,364 frees, 574,912 bytes allocated [INFO]: ==9915== [INFO]: ==9915== All heap blocks were freed -- no leaks are possible [INFO]: ==9915== [INFO]: ==9915== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________________ TC.test_pcre_flag _______________________________ self = def test_pcre_flag(self): self.step_name('Test LDB regex rules with case insensitive flag') # This test validates that the flags field is, and more specifically the case-insensitive flag is working. # using 'MZ' prefix so it is detected as MSEXE and not TEXT. This is to avoid normalization. testfile = TC.path_tmp / 'ldb_pcre_flag' testfile.write_text('MZ hello blee / BlAh') # First test withOUT the case-insensitive flag. It should NOT match. yara_db = TC.path_tmp / 'ldb_pcre_case.ldb' yara_db.write_text( r'ldb_pcre_case;Engine:81-255,Target:0;0&1;68656c6c6f20;0/blah/' ) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=yara_db, testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 0 # virus NOT found E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_pcre_flag: OK\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 0\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.387 sec (0 m 1 s)\nStart Date: 2024:06:28 10:45:18\nEnd Date: 2024:06:28 10:45:19\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:205: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB regex rules with case insensitive flag [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_pcre_case.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_pcre_flag [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_pcre_flag: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.387 sec (0 m 1 s) Start Date: 2024:06:28 10:45:18 End Date: 2024:06:28 10:45:19 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9917== Memcheck, a memory error detector [INFO]: ==9917== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9917== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9917== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_pcre_case.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/ldb_pcre_flag [INFO]: ==9917== Parent PID: 9803 [INFO]: ==9917== [INFO]: --9917-- [INFO]: --9917-- Valgrind options: [INFO]: --9917-- -v [INFO]: --9917-- --trace-children=yes [INFO]: --9917-- --track-fds=yes [INFO]: --9917-- --leak-check=full [INFO]: --9917-- --show-possibly-lost=no [INFO]: --9917-- --show-leak-kinds=definite [INFO]: --9917-- --errors-for-leak-kinds=definite [INFO]: --9917-- --main-stacksize=16777216 [INFO]: --9917-- --gen-suppressions=all [INFO]: --9917-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9917-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: --9917-- --error-exitcode=123 [INFO]: --9917-- Contents of /proc/version: [INFO]: --9917-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9917-- [INFO]: --9917-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9917-- Page sizes: currently 4096, max supported 4096 [INFO]: --9917-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9917-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9917-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9917-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9917-- might be shown as UnknownInlinedFun [INFO]: --9917-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9917-- object doesn't have a dynamic symbol table [INFO]: --9917-- Scheduler: using generic scheduler lock implementation. [INFO]: --9917-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9917-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9917== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9917-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9917== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9917-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9917== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9917-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9917== [INFO]: ==9917== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9917== don't want to do, unless you know exactly what you're doing, [INFO]: ==9917== or are doing some strange experiment): [INFO]: ==9917== /usr/libexec/valgrind/../../bin/vgdb --pid=9917 ...command... [INFO]: ==9917== [INFO]: ==9917== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9917== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9917== and then give GDB the following command [INFO]: ==9917== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9917 [INFO]: ==9917== --pid is optional if only one valgrind process is running [INFO]: ==9917== [INFO]: --9917-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9917-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9917-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9917-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9917-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9917-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9917-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9917-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9917-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9917-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9917-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9917-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9917-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9917-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9917-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9917-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9917-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9917-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9917-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9917-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9917-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9917== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9917== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9917== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9917== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9917-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9917-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9917-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9917-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9917-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9917-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9917-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9917-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9917-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9917-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9917-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9917-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9917-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9917-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9917-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9917-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9917-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9917-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9917== [INFO]: ==9917== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9917== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: ==9917== [INFO]: ==9917== [INFO]: ==9917== (No origin, error cannot be suppressed) [INFO]: ==9917== [INFO]: ==9917== HEAP SUMMARY: [INFO]: ==9917== in use at exit: 0 bytes in 0 blocks [INFO]: ==9917== total heap usage: 5,361 allocs, 5,361 frees, 574,606 bytes allocated [INFO]: ==9917== [INFO]: ==9917== All heap blocks were freed -- no leaks are possible [INFO]: ==9917== [INFO]: ==9917== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _____________________________ TC.test_slash_colon ______________________________ self = def test_slash_colon(self): self.step_name('Test LDB and Yara regex rules with / and : in the string work') # This is a regression test for a bug where :'s in a PCRE regex would act # as delimiters if there was also a / in the regex before the : testfile = TC.path_tmp / 'regex-slash-colon.sample' testfile.write_text('hello blee/blah: bleh') # First test with LDB PCRE rule # yara_db = TC.path_tmp / 'regex-slash-colon.ldb' yara_db.write_text( r'regex;Engine:81-255,Target:0;1;68656c6c6f20;0/hello blee\/blah: bleh/' ) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=yara_db, testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex-slash-colon.sample: regex.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.379 sec (0 m 1 s)\nStart Date: 2024:06:28 10:45:20\nEnd Date: 2024:06:28 10:45:21\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:86: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB and Yara regex rules with / and : in the string work [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex-slash-colon.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex-slash-colon.sample [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex-slash-colon.sample: regex.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.379 sec (0 m 1 s) Start Date: 2024:06:28 10:45:20 End Date: 2024:06:28 10:45:21 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9919== Memcheck, a memory error detector [INFO]: ==9919== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9919== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9919== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex-slash-colon.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex-slash-colon.sample [INFO]: ==9919== Parent PID: 9803 [INFO]: ==9919== [INFO]: --9919-- [INFO]: --9919-- Valgrind options: [INFO]: --9919-- -v [INFO]: --9919-- --trace-children=yes [INFO]: --9919-- --track-fds=yes [INFO]: --9919-- --leak-check=full [INFO]: --9919-- --show-possibly-lost=no [INFO]: --9919-- --show-leak-kinds=definite [INFO]: --9919-- --errors-for-leak-kinds=definite [INFO]: --9919-- --main-stacksize=16777216 [INFO]: --9919-- --gen-suppressions=all [INFO]: --9919-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9919-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: --9919-- --error-exitcode=123 [INFO]: --9919-- Contents of /proc/version: [INFO]: --9919-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9919-- [INFO]: --9919-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9919-- Page sizes: currently 4096, max supported 4096 [INFO]: --9919-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9919-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9919-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9919-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9919-- might be shown as UnknownInlinedFun [INFO]: --9919-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9919-- object doesn't have a dynamic symbol table [INFO]: --9919-- Scheduler: using generic scheduler lock implementation. [INFO]: --9919-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9919-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9919== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9919-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9919== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9919-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9919== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9919-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9919== [INFO]: ==9919== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9919== don't want to do, unless you know exactly what you're doing, [INFO]: ==9919== or are doing some strange experiment): [INFO]: ==9919== /usr/libexec/valgrind/../../bin/vgdb --pid=9919 ...command... [INFO]: ==9919== [INFO]: ==9919== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9919== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9919== and then give GDB the following command [INFO]: ==9919== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9919 [INFO]: ==9919== --pid is optional if only one valgrind process is running [INFO]: ==9919== [INFO]: --9919-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9919-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9919-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9919-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9919-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9919-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9919-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9919-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9919-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9919-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9919-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9919-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9919-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9919-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9919-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9919-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9919-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9919-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9919-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9919== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9919== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9919== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9919== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9919-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9919-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9919-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9919-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9919-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9919-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9919-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9919-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9919-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9919-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9919-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9919-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9919-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9919-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9919-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9919-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9919-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9919-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9919== [INFO]: ==9919== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9919== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: ==9919== [INFO]: ==9919== [INFO]: ==9919== (No origin, error cannot be suppressed) [INFO]: ==9919== [INFO]: ==9919== HEAP SUMMARY: [INFO]: ==9919== in use at exit: 0 bytes in 0 blocks [INFO]: ==9919== total heap usage: 5,383 allocs, 5,383 frees, 576,883 bytes allocated [INFO]: ==9919== [INFO]: ==9919== All heap blocks were freed -- no leaks are possible [INFO]: ==9919== [INFO]: ==9919== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________________ TC.test_yara _________________________________ self = def test_yara(self): self.step_name('Test yara signature - detect TAR file magic in a range') db = TC.path_tmp / 'regex.yara' db.write_text( r''' rule regex { meta: author = "Micah" date = "2022/03/12" description = "Just a test" strings: $a = "/+eat/" /* <-- not a regex */ $b = /\$protein+=\([a-z]+\)/ /* <-- is a regex */ condition: all of them } ''' ) testfile = TC.path_tmp / 'regex.sample' testfile.write_text('var $protein=(slugs); /+eat/ $protein') command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=db, testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex.sample: YARA.regex.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.432 sec (0 m 1 s)\nStart Date: 2024:06:28 10:45:22\nEnd Date: 2024:06:28 10:45:24\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:59: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test yara signature - detect TAR file magic in a range [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex.yara /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex.sample [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex.sample: YARA.regex.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.432 sec (0 m 1 s) Start Date: 2024:06:28 10:45:22 End Date: 2024:06:28 10:45:24 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9921== Memcheck, a memory error detector [INFO]: ==9921== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9921== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9921== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex.yara /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/regex.sample [INFO]: ==9921== Parent PID: 9803 [INFO]: ==9921== [INFO]: --9921-- [INFO]: --9921-- Valgrind options: [INFO]: --9921-- -v [INFO]: --9921-- --trace-children=yes [INFO]: --9921-- --track-fds=yes [INFO]: --9921-- --leak-check=full [INFO]: --9921-- --show-possibly-lost=no [INFO]: --9921-- --show-leak-kinds=definite [INFO]: --9921-- --errors-for-leak-kinds=definite [INFO]: --9921-- --main-stacksize=16777216 [INFO]: --9921-- --gen-suppressions=all [INFO]: --9921-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9921-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: --9921-- --error-exitcode=123 [INFO]: --9921-- Contents of /proc/version: [INFO]: --9921-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9921-- [INFO]: --9921-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9921-- Page sizes: currently 4096, max supported 4096 [INFO]: --9921-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9921-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9921-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9921-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9921-- might be shown as UnknownInlinedFun [INFO]: --9921-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9921-- object doesn't have a dynamic symbol table [INFO]: --9921-- Scheduler: using generic scheduler lock implementation. [INFO]: --9921-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9921-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9921== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9921-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9921== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9921-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9921== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9921-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9921== [INFO]: ==9921== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9921== don't want to do, unless you know exactly what you're doing, [INFO]: ==9921== or are doing some strange experiment): [INFO]: ==9921== /usr/libexec/valgrind/../../bin/vgdb --pid=9921 ...command... [INFO]: ==9921== [INFO]: ==9921== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9921== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9921== and then give GDB the following command [INFO]: ==9921== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9921 [INFO]: ==9921== --pid is optional if only one valgrind process is running [INFO]: ==9921== [INFO]: --9921-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9921-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9921-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9921-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9921-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9921-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9921-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9921-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9921-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9921-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9921-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9921-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9921-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9921-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9921-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9921-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9921-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9921-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9921-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9921== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9921== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9921== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9921== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9921-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9921-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9921-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9921-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9921-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9921-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9921-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9921-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9921-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9921-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9921-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9921-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9921-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9921-- REDIR: 0x5193210 (libc.so.6:strlcpy) redirected to 0x48474b0 (strlcpy) [INFO]: --9921-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9921-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9921-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9921-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9921-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: ==9921== [INFO]: ==9921== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9921== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-v09k2van/valgrind.log [INFO]: ==9921== [INFO]: ==9921== [INFO]: ==9921== (No origin, error cannot be suppressed) [INFO]: ==9921== [INFO]: ==9921== HEAP SUMMARY: [INFO]: ==9921== in use at exit: 0 bytes in 0 blocks [INFO]: ==9921== total heap usage: 5,446 allocs, 5,446 frees, 983,406 bytes allocated [INFO]: ==9921== [INFO]: ==9921== All heap blocks were freed -- no leaks are possible [INFO]: ==9921== [INFO]: ==9921== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) =========================== short test summary info ============================ FAILED clamscan/_basic_test.py::TC::test_00_version - AssertionError: assert ... FAILED clamscan/_basic_test.py::TC::test_01_all_testfiles - AssertionError: a... FAILED clamscan/_basic_test.py::TC::test_02_all_testfiles_ign2 - AssertionErr... FAILED clamscan/allmatch_test.py::TC::test_exe_imphash_plus_zipsfx - Assertio... FAILED clamscan/allmatch_test.py::TC::test_exe_pattern_plus_zipsfx - Assertio... FAILED clamscan/allmatch_test.py::TC::test_many_sigs - AssertionError: assert... FAILED clamscan/allmatch_test.py::TC::test_many_sigs_no_allmatch - AssertionE... FAILED clamscan/allmatch_test.py::TC::test_pe_allmatch - AssertionError: asse... FAILED clamscan/allmatch_test.py::TC::test_regression_cbc_and_ndb - Assertion... FAILED clamscan/allmatch_test.py::TC::test_regression_imphash_nosize - Assert... FAILED clamscan/allmatch_test.py::TC::test_txt_plus_clam_zipsfx - AssertionEr... FAILED clamscan/assorted_test.py::TC::test_00_version - AssertionError: asser... FAILED clamscan/assorted_test.py::TC::test_pe_cert_block - AssertionError: as... FAILED clamscan/assorted_test.py::TC::test_pe_cert_trust - AssertionError: as... FAILED clamscan/assorted_test.py::TC::test_weak_indicator_icon - AssertionErr... FAILED clamscan/bytecode_test.py::TC::test_pdf_hook - AssertionError: assert ... FAILED clamscan/container_sigs_test.py::TC::test_clamscan_container_cache - A... FAILED clamscan/container_sigs_test.py::TC::test_container - assert 123 == 1 FAILED clamscan/container_sigs_test.py::TC::test_intermediates - assert 123 == 1 FAILED clamscan/container_sigs_test.py::TC::test_intermediates_cache - Assert... FAILED clamscan/fp_check_test.py::TC::test_alerts_on_normalized - AssertionEr... FAILED clamscan/fp_check_test.py::TC::test_alerts_on_zip - AssertionError: Va... FAILED clamscan/fp_check_test.py::TC::test_fp_for_nonnormalized - AssertionEr... FAILED clamscan/fp_check_test.py::TC::test_fp_for_nonnormalized_wild - Assert... FAILED clamscan/fp_check_test.py::TC::test_fp_for_normalized - AssertionError... FAILED clamscan/fp_check_test.py::TC::test_fp_for_normalized_wild - Assertion... FAILED clamscan/fp_check_test.py::TC::test_fp_for_zipped_file - AssertionErro... FAILED clamscan/fp_check_test.py::TC::test_fp_for_zipped_file_wild - Assertio... FAILED clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_algorithm - assert ... FAILED clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hamming - assert 12... FAILED clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hash - assert 123 == 2 FAILED clamscan/fuzzy_img_hash_test.py::TC::test_sigs_good_allmatch - Asserti... FAILED clamscan/heuristics_test.py::TC::test_allmatch - AssertionError: asser... FAILED clamscan/heuristics_test.py::TC::test_allmatch_precedence - AssertionE... FAILED clamscan/heuristics_test.py::TC::test_hidden_by_strong_indicator - Ass... FAILED clamscan/heuristics_test.py::TC::test_only_heur - AssertionError: asse... FAILED clamscan/heuristics_test.py::TC::test_precedence - AssertionError: ass... FAILED clamscan/image_extraction_test.py::TC::test_xls_jpeg_png - assert 123 ... FAILED clamscan/image_extraction_test.py::TC::test_xls_with_detection - asser... FAILED clamscan/match_offsets_test.py::TC::test_LDB_VI - AssertionError: asse... FAILED clamscan/match_offsets_test.py::TC::test_yara_at_offset - AssertionErr... FAILED clamscan/match_offsets_test.py::TC::test_yara_in_range - AssertionErro... FAILED clamscan/phishing_test.py::TC::test_not_enabled - AssertionError: asse... FAILED clamscan/phishing_test.py::TC::test_ssl_and_cloak - AssertionError: as... FAILED clamscan/regex_test.py::TC::test_ldb_multi_pcre - AssertionError: asse... FAILED clamscan/regex_test.py::TC::test_ldb_offset_pcre - AssertionError: ass... FAILED clamscan/regex_test.py::TC::test_pcre_flag - AssertionError: assert 12... FAILED clamscan/regex_test.py::TC::test_slash_colon - AssertionError: assert ... FAILED clamscan/regex_test.py::TC::test_yara - AssertionError: assert 123 == 1 ERROR clamscan/_basic_test.py::TC::test_00_version - AssertionError: Valgrind... ERROR clamscan/_basic_test.py::TC::test_01_all_testfiles - AssertionError: Va... ERROR clamscan/_basic_test.py::TC::test_02_all_testfiles_ign2 - AssertionErro... ERROR clamscan/allmatch_test.py::TC::test_exe_imphash_plus_zipsfx - Assertion... ERROR clamscan/allmatch_test.py::TC::test_exe_pattern_plus_zipsfx - Assertion... ERROR clamscan/allmatch_test.py::TC::test_many_sigs - AssertionError: Valgrin... ERROR clamscan/allmatch_test.py::TC::test_many_sigs_no_allmatch - AssertionEr... ERROR clamscan/allmatch_test.py::TC::test_pe_allmatch - AssertionError: Valgr... ERROR clamscan/allmatch_test.py::TC::test_regression_cbc_and_ndb - AssertionE... ERROR clamscan/allmatch_test.py::TC::test_regression_imphash_nosize - Asserti... ERROR clamscan/allmatch_test.py::TC::test_txt_plus_clam_zipsfx - AssertionErr... ERROR clamscan/assorted_test.py::TC::test_00_version - AssertionError: Valgri... ERROR clamscan/assorted_test.py::TC::test_pe_cert_block - AssertionError: Val... ERROR clamscan/assorted_test.py::TC::test_pe_cert_trust - AssertionError: Val... ERROR clamscan/assorted_test.py::TC::test_weak_indicator_icon - AssertionErro... ERROR clamscan/bytecode_test.py::TC::test_pdf_hook - AssertionError: Valgrind... ERROR clamscan/container_sigs_test.py::TC::test_clamscan_container_cache - As... ERROR clamscan/container_sigs_test.py::TC::test_container - AssertionError: V... ERROR clamscan/container_sigs_test.py::TC::test_intermediates - AssertionErro... ERROR clamscan/container_sigs_test.py::TC::test_intermediates_cache - Asserti... ERROR clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_algorithm - Assertio... ERROR clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hamming - AssertionE... ERROR clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hash - AssertionErro... ERROR clamscan/fuzzy_img_hash_test.py::TC::test_sigs_good_allmatch - Assertio... ERROR clamscan/heuristics_test.py::TC::test_allmatch - AssertionError: Valgri... ERROR clamscan/heuristics_test.py::TC::test_allmatch_precedence - AssertionEr... ERROR clamscan/heuristics_test.py::TC::test_hidden_by_strong_indicator - Asse... ERROR clamscan/heuristics_test.py::TC::test_only_heur - AssertionError: Valgr... ERROR clamscan/heuristics_test.py::TC::test_precedence - AssertionError: Valg... ERROR clamscan/image_extraction_test.py::TC::test_xls_jpeg_png - AssertionErr... ERROR clamscan/image_extraction_test.py::TC::test_xls_with_detection - Assert... ERROR clamscan/match_offsets_test.py::TC::test_LDB_VI - AssertionError: Valgr... ERROR clamscan/match_offsets_test.py::TC::test_yara_at_offset - AssertionErro... ERROR clamscan/match_offsets_test.py::TC::test_yara_in_range - AssertionError... ERROR clamscan/phishing_test.py::TC::test_not_enabled - AssertionError: Valgr... ERROR clamscan/phishing_test.py::TC::test_ssl_and_cloak - AssertionError: Val... ERROR clamscan/regex_test.py::TC::test_ldb_multi_pcre - AssertionError: Valgr... ERROR clamscan/regex_test.py::TC::test_ldb_offset_pcre - AssertionError: Valg... ERROR clamscan/regex_test.py::TC::test_pcre_flag - AssertionError: Valgrind t... ERROR clamscan/regex_test.py::TC::test_slash_colon - AssertionError: Valgrind... ERROR clamscan/regex_test.py::TC::test_yara - AssertionError: Valgrind test F... ================== 49 failed, 41 errors in 181.27s (0:03:01) =================== Start 7: clamd_valgrind 2/5 Test #2: libclamav_valgrind ...............***Failed 210.90 sec ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/clamav-1.0.6/unit_tests collecting ... collected 1 item libclamav_test.py::TC::test_libclamav_00_unit_test FAILED [100%] libclamav_test.py::TC::test_libclamav_00_unit_test ERROR [100%] ==================================== ERRORS ==================================== _____________ ERROR at teardown of TC.test_libclamav_00_unit_test ______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() libclamav_test.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-48i81iui/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: libclamav unit tests [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-48i81iui/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamav [DEBUG]: Exit code: 123 [DEBUG]: stdout: Using default test timeout; alter by setting 'T' env var (in seconds) Running suite(s): cl_suite cli jsnorm str regex disasm unique matchers htmlnorm bytecode 100%: Checks: 1146, Failures: 0, Errors: 0 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-48i81iui/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-48i81iui/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9806== Memcheck, a memory error detector [INFO]: ==9806== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9806== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9806== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamav [INFO]: ==9806== Parent PID: 9802 [INFO]: ==9806== [INFO]: --9806-- [INFO]: --9806-- Valgrind options: [INFO]: --9806-- -v [INFO]: --9806-- --trace-children=yes [INFO]: --9806-- --track-fds=yes [INFO]: --9806-- --leak-check=full [INFO]: --9806-- --show-possibly-lost=no [INFO]: --9806-- --show-leak-kinds=definite [INFO]: --9806-- --errors-for-leak-kinds=definite [INFO]: --9806-- --main-stacksize=16777216 [INFO]: --9806-- --gen-suppressions=all [INFO]: --9806-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9806-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-48i81iui/valgrind.log [INFO]: --9806-- --error-exitcode=123 [INFO]: --9806-- Contents of /proc/version: [INFO]: --9806-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9806-- [INFO]: --9806-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9806-- Page sizes: currently 4096, max supported 4096 [INFO]: --9806-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9806-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamav [INFO]: --9806-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9806-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9806-- might be shown as UnknownInlinedFun [INFO]: --9806-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9806-- object doesn't have a dynamic symbol table [INFO]: --9806-- Scheduler: using generic scheduler lock implementation. [INFO]: --9806-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9806-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9806== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9806-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9806== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9806-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9806== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9806-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9806== [INFO]: ==9806== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9806== don't want to do, unless you know exactly what you're doing, [INFO]: ==9806== or are doing some strange experiment): [INFO]: ==9806== /usr/libexec/valgrind/../../bin/vgdb --pid=9806 ...command... [INFO]: ==9806== [INFO]: ==9806== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9806== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamav [INFO]: ==9806== and then give GDB the following command [INFO]: ==9806== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9806 [INFO]: ==9806== --pid is optional if only one valgrind process is running [INFO]: ==9806== [INFO]: --9806-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9806-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9806-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9806-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9806-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9806-- Reading syms from /usr/lib64/libcheck.so.0.15.2 [INFO]: --9806-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9806-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9806-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9806-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9806-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9806-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9806-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9806-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9806-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9806-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9806-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9806-- Reading syms from /usr/lib64/libsubunit.so.0.0.0 [INFO]: --9806-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9806-- REDIR: 0x532a180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9806-- REDIR: 0x532d590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9806-- REDIR: 0x53342c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9806-- REDIR: 0x5334020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9806== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9806== at 0x53832A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9806== by 0x564522B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9806== by 0x5525035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9806-- REDIR: 0x5325580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9806-- REDIR: 0x5331d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9806-- REDIR: 0x5326010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9806-- REDIR: 0x5331bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9806-- REDIR: 0x5334160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9806-- REDIR: 0x5334220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9806-- REDIR: 0x5334440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9806-- REDIR: 0x5325d70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9806-- REDIR: 0x5326760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9806-- REDIR: 0x5334aa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9806-- REDIR: 0x53a3360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9806-- REDIR: 0x5334880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9806-- REDIR: 0x532a1f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9806-- REDIR: 0x5334630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9806-- REDIR: 0x5333770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9806-- REDIR: 0x5331db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9806-- REDIR: 0x53274d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9806-- REDIR: 0x532d130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9806-- REDIR: 0x5333b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9806-- REDIR: 0x5331b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9806-- REDIR: 0x5333480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9806-- REDIR: 0x532d2d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9806-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9806-- REDIR: 0x53a3c40 (libc.so.6:__strcpy_chk) redirected to 0x484e740 (__strcpy_chk) [INFO]: --9806-- REDIR: 0x53a3380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9806== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9806== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9806== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9806== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9806== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9806== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9806== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9806== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9806== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9806== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9806== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9806== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9806== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9806== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9806== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9806== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9806== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9806== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9806== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9806== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9806== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9806== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9806== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9806== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9806== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9806== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9806== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9806== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9806== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9806== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9806== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9806== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9806== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9806== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9806== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9806== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9806== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9806== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9806== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9806== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9806== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9806== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9806== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9806== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9806== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9806== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9806== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9806== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9806== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9806== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9806== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9806== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9806== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9806== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9806== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9806== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: --9806-- REDIR: 0x532a280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9806-- Reading syms from /usr/lib64/gconv/SJIS.so [INFO]: --9806-- Reading syms from /usr/lib64/gconv/UTF8_UTF16_Z9.so [INFO]: --9806-- Discarding syms at 0x5e49100-0x5e4a770 in /usr/lib64/gconv/SJIS.so (have_dinfo 1) [INFO]: --9806-- REDIR: 0x532d210 (libc.so.6:strlcpy) redirected to 0x48474b0 (strlcpy) [INFO]: --9806-- REDIR: 0x5333cd0 (libc.so.6:strncat) redirected to 0x4846330 (strncat) [INFO]: --9806-- Discarding syms at 0x5e621a0-0x5e63ee0 in /usr/lib64/gconv/UTF8_UTF16_Z9.so (have_dinfo 1) [INFO]: --9806-- Discarding syms at 0x6f42160-0x6f43940 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9806== [INFO]: ==9806== FILE DESCRIPTORS: 10 open (3 std) at exit. [INFO]: ==9806== Open file descriptor 12: /tmp/20240628_104449-scantemp.58c6883337/ole2-tmp.aeed3bfc84/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9806== at 0x53883A4: open (in /usr/lib64/libc.so.6) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9806== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9806== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9806== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9806== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9806== by 0x4982A2F: cl_scanmap_callback (scanners.c:5748) [INFO]: ==9806== by 0x11A2FF: test_cl_scanmap_callback_mem_fn (check_clamav.c:742) [INFO]: ==9806== by 0x50D6EBF: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D757D: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D7C5F: srunner_run (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x115EA3: main (check_clamav.c:2062) [INFO]: ==9806== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scanmap_callback [INFO]: fun:test_cl_scanmap_callback_mem_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:srunner_run [INFO]: fun:main [INFO]: } [INFO]: ==9806== Open file descriptor 11: /tmp/20240628_104421-scantemp.ffbd0f4497/ole2-tmp.9777364413/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9806== at 0x53883A4: open (in /usr/lib64/libc.so.6) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9806== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9806== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9806== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9806== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9806== by 0x4982A2F: cl_scanmap_callback (scanners.c:5748) [INFO]: ==9806== by 0x119EB1: test_cl_scanmap_callback_handle_fn (check_clamav.c:672) [INFO]: ==9806== by 0x50D6EBF: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D757D: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D7C5F: srunner_run (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x115EA3: main (check_clamav.c:2062) [INFO]: ==9806== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scanmap_callback [INFO]: fun:test_cl_scanmap_callback_handle_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:srunner_run [INFO]: fun:main [INFO]: } [INFO]: ==9806== Open file descriptor 10: /tmp/20240628_104354-scantemp.05e649f02a/ole2-tmp.d88b544eca/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9806== at 0x53883A4: open (in /usr/lib64/libc.so.6) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9806== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9806== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9806== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9806== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9806== by 0x49827F9: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9806== by 0x4982971: cl_scanfile_callback (scanners.c:5797) [INFO]: ==9806== by 0x118C41: test_cl_scanfile_callback_fn (check_clamav.c:321) [INFO]: ==9806== by 0x50D6EBF: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D757D: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D7C5F: srunner_run (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x115EA3: main (check_clamav.c:2062) [INFO]: ==9806== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:cl_scanfile_callback [INFO]: fun:test_cl_scanfile_callback_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:srunner_run [INFO]: fun:main [INFO]: } [INFO]: ==9806== Open file descriptor 9: /tmp/20240628_104326-scantemp.9696db3988/ole2-tmp.857c0871f2/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9806== at 0x53883A4: open (in /usr/lib64/libc.so.6) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9806== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9806== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9806== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9806== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9806== by 0x49827F9: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9806== by 0x118F59: test_cl_scandesc_callback_fn (check_clamav.c:375) [INFO]: ==9806== by 0x50D6EBF: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D757D: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D7C5F: srunner_run (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x115EA3: main (check_clamav.c:2062) [INFO]: ==9806== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:test_cl_scandesc_callback_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:srunner_run [INFO]: fun:main [INFO]: } [INFO]: ==9806== Open file descriptor 8: /tmp/20240628_104259-scantemp.4b0e820a63/ole2-tmp.d38395360e/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9806== at 0x53883A4: open (in /usr/lib64/libc.so.6) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9806== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9806== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9806== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9806== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9806== by 0x49827F9: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9806== by 0x4982971: cl_scanfile_callback (scanners.c:5797) [INFO]: ==9806== by 0x49829B7: cl_scanfile (scanners.c:5774) [INFO]: ==9806== by 0x11893B: test_cl_scanfile_fn (check_clamav.c:267) [INFO]: ==9806== by 0x50D6EBF: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D757D: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D7C5F: srunner_run (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x115EA3: main (check_clamav.c:2062) [INFO]: ==9806== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:cl_scanfile_callback [INFO]: fun:cl_scanfile [INFO]: fun:test_cl_scanfile_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:srunner_run [INFO]: fun:main [INFO]: } [INFO]: ==9806== Open file descriptor 7: /tmp/20240628_104231-scantemp.ac88e34274/ole2-tmp.acb67f0c7e/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9806== at 0x5388408: open (in /usr/lib64/libc.so.6) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9806== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9806== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9806== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9806== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9806== by 0x49827F9: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9806== by 0x49828E3: cl_scandesc (scanners.c:5151) [INFO]: ==9806== by 0x118613: test_cl_scandesc_fn (check_clamav.c:212) [INFO]: ==9806== by 0x50D6EBF: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D757D: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D7C5F: srunner_run (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x115EA3: main (check_clamav.c:2062) [INFO]: ==9806== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:cl_scandesc [INFO]: fun:test_cl_scandesc_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:srunner_run [INFO]: fun:main [INFO]: } [INFO]: ==9806== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-48i81iui/valgrind.log [INFO]: ==9806== [INFO]: ==9806== [INFO]: ==9806== (No origin, error cannot be suppressed) [INFO]: ==9806== [INFO]: ==9806== HEAP SUMMARY: [INFO]: ==9806== in use at exit: 24,315 bytes in 98 blocks [INFO]: ==9806== total heap usage: 1,064,103 allocs, 1,064,005 frees, 1,175,262,467 bytes allocated [INFO]: ==9806== [INFO]: ==9806== Searching for pointers to 98 not-freed blocks [INFO]: ==9806== Checked 8,817,264 bytes [INFO]: ==9806== [INFO]: ==9806== LEAK SUMMARY: [INFO]: ==9806== definitely lost: 0 bytes in 0 blocks [INFO]: ==9806== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9806== possibly lost: 608 bytes in 2 blocks [INFO]: ==9806== still reachable: 23,707 bytes in 96 blocks [INFO]: ==9806== suppressed: 0 bytes in 0 blocks [INFO]: ==9806== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9806== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9806== [INFO]: ==9806== Use --track-origins=yes to see where uninitialised values come from [INFO]: ==9806== ERROR SUMMARY: 16 errors from 8 contexts (suppressed: 0 from 0) [INFO]: ==9806== [INFO]: ==9806== 9 errors in context 1 of 8: [INFO]: ==9806== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9806== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9806== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9806== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9806== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9806== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9806== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9806== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9806== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9806== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9806== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9806== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9806== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9806== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9806== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9806== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9806== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9806== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9806== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9806== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9806== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9806== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9806== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9806== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9806== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9806== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9806== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9806== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9806== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9806== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9806== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9806== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9806== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9806== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9806== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9806== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9806== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9806== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9806== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9806== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9806== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9806== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9806== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9806== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9806== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9806== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9806== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9806== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9806== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9806== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9806== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9806== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9806== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9806== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9806== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9806== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9806== ERROR SUMMARY: 16 errors from 8 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-48i81iui =================================== FAILURES =================================== ________________________ TC.test_libclamav_00_unit_test ________________________ self = def test_libclamav_00_unit_test(self): self.step_name('libclamav unit tests') # If no valgrind, valgrind nad valgrind args are empty strings command = '{valgrind} {valgrind_args} {check_clamav}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, check_clamav=TC.check_clamav ) output = self.execute_command(command) > assert output.ec == 0 # success E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Using default test timeout; alter by setting 'T' env var (in seconds)\nRunning suite(s): cl_suite\n cli\n jsnorm\n str\n regex\n disasm\n unique\n matchers\n htmlnorm\n bytecode\n100%: Checks: 1146, Failures: 0, Errors: 0\n", err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/libclamav_test.py:47: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: libclamav unit tests [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-48i81iui/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamav [DEBUG]: Exit code: 123 [DEBUG]: stdout: Using default test timeout; alter by setting 'T' env var (in seconds) Running suite(s): cl_suite cli jsnorm str regex disasm unique matchers htmlnorm bytecode 100%: Checks: 1146, Failures: 0, Errors: 0 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-48i81iui/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-48i81iui/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9806== Memcheck, a memory error detector [INFO]: ==9806== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9806== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9806== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamav [INFO]: ==9806== Parent PID: 9802 [INFO]: ==9806== [INFO]: --9806-- [INFO]: --9806-- Valgrind options: [INFO]: --9806-- -v [INFO]: --9806-- --trace-children=yes [INFO]: --9806-- --track-fds=yes [INFO]: --9806-- --leak-check=full [INFO]: --9806-- --show-possibly-lost=no [INFO]: --9806-- --show-leak-kinds=definite [INFO]: --9806-- --errors-for-leak-kinds=definite [INFO]: --9806-- --main-stacksize=16777216 [INFO]: --9806-- --gen-suppressions=all [INFO]: --9806-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9806-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-48i81iui/valgrind.log [INFO]: --9806-- --error-exitcode=123 [INFO]: --9806-- Contents of /proc/version: [INFO]: --9806-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9806-- [INFO]: --9806-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9806-- Page sizes: currently 4096, max supported 4096 [INFO]: --9806-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9806-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamav [INFO]: --9806-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9806-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9806-- might be shown as UnknownInlinedFun [INFO]: --9806-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9806-- object doesn't have a dynamic symbol table [INFO]: --9806-- Scheduler: using generic scheduler lock implementation. [INFO]: --9806-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9806-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9806== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9806-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9806== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9806-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9806== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9806-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9806== [INFO]: ==9806== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9806== don't want to do, unless you know exactly what you're doing, [INFO]: ==9806== or are doing some strange experiment): [INFO]: ==9806== /usr/libexec/valgrind/../../bin/vgdb --pid=9806 ...command... [INFO]: ==9806== [INFO]: ==9806== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9806== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamav [INFO]: ==9806== and then give GDB the following command [INFO]: ==9806== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9806 [INFO]: ==9806== --pid is optional if only one valgrind process is running [INFO]: ==9806== [INFO]: --9806-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9806-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9806-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9806-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9806-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9806-- Reading syms from /usr/lib64/libcheck.so.0.15.2 [INFO]: --9806-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9806-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9806-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9806-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9806-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9806-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9806-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9806-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9806-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9806-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9806-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9806-- Reading syms from /usr/lib64/libsubunit.so.0.0.0 [INFO]: --9806-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9806-- REDIR: 0x532a180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9806-- REDIR: 0x532d590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9806-- REDIR: 0x53342c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9806-- REDIR: 0x5334020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9806== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9806== at 0x53832A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9806== by 0x564522B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9806== by 0x5525035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9806-- REDIR: 0x5325580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9806-- REDIR: 0x5331d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9806-- REDIR: 0x5326010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9806-- REDIR: 0x5331bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9806-- REDIR: 0x5334160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9806-- REDIR: 0x5334220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9806-- REDIR: 0x5334440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9806-- REDIR: 0x5325d70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9806-- REDIR: 0x5326760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9806-- REDIR: 0x5334aa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9806-- REDIR: 0x53a3360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9806-- REDIR: 0x5334880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9806-- REDIR: 0x532a1f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9806-- REDIR: 0x5334630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9806-- REDIR: 0x5333770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9806-- REDIR: 0x5331db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9806-- REDIR: 0x53274d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9806-- REDIR: 0x532d130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9806-- REDIR: 0x5333b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9806-- REDIR: 0x5331b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9806-- REDIR: 0x5333480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9806-- REDIR: 0x532d2d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9806-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9806-- REDIR: 0x53a3c40 (libc.so.6:__strcpy_chk) redirected to 0x484e740 (__strcpy_chk) [INFO]: --9806-- REDIR: 0x53a3380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9806== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9806== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9806== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9806== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9806== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9806== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9806== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9806== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9806== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9806== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9806== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9806== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9806== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9806== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9806== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9806== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9806== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9806== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9806== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9806== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9806== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9806== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9806== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9806== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9806== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9806== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9806== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9806== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9806== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9806== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9806== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9806== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9806== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9806== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9806== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9806== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9806== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9806== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9806== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9806== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9806== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9806== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9806== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9806== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9806== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9806== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9806== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9806== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9806== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9806== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9806== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9806== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9806== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9806== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9806== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9806== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: --9806-- REDIR: 0x532a280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9806-- Reading syms from /usr/lib64/gconv/SJIS.so [INFO]: --9806-- Reading syms from /usr/lib64/gconv/UTF8_UTF16_Z9.so [INFO]: --9806-- Discarding syms at 0x5e49100-0x5e4a770 in /usr/lib64/gconv/SJIS.so (have_dinfo 1) [INFO]: --9806-- REDIR: 0x532d210 (libc.so.6:strlcpy) redirected to 0x48474b0 (strlcpy) [INFO]: --9806-- REDIR: 0x5333cd0 (libc.so.6:strncat) redirected to 0x4846330 (strncat) [INFO]: --9806-- Discarding syms at 0x5e621a0-0x5e63ee0 in /usr/lib64/gconv/UTF8_UTF16_Z9.so (have_dinfo 1) [INFO]: --9806-- Discarding syms at 0x6f42160-0x6f43940 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9806== [INFO]: ==9806== FILE DESCRIPTORS: 10 open (3 std) at exit. [INFO]: ==9806== Open file descriptor 12: /tmp/20240628_104449-scantemp.58c6883337/ole2-tmp.aeed3bfc84/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9806== at 0x53883A4: open (in /usr/lib64/libc.so.6) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9806== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9806== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9806== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9806== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9806== by 0x4982A2F: cl_scanmap_callback (scanners.c:5748) [INFO]: ==9806== by 0x11A2FF: test_cl_scanmap_callback_mem_fn (check_clamav.c:742) [INFO]: ==9806== by 0x50D6EBF: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D757D: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D7C5F: srunner_run (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x115EA3: main (check_clamav.c:2062) [INFO]: ==9806== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scanmap_callback [INFO]: fun:test_cl_scanmap_callback_mem_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:srunner_run [INFO]: fun:main [INFO]: } [INFO]: ==9806== Open file descriptor 11: /tmp/20240628_104421-scantemp.ffbd0f4497/ole2-tmp.9777364413/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9806== at 0x53883A4: open (in /usr/lib64/libc.so.6) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9806== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9806== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9806== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9806== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9806== by 0x4982A2F: cl_scanmap_callback (scanners.c:5748) [INFO]: ==9806== by 0x119EB1: test_cl_scanmap_callback_handle_fn (check_clamav.c:672) [INFO]: ==9806== by 0x50D6EBF: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D757D: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D7C5F: srunner_run (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x115EA3: main (check_clamav.c:2062) [INFO]: ==9806== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scanmap_callback [INFO]: fun:test_cl_scanmap_callback_handle_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:srunner_run [INFO]: fun:main [INFO]: } [INFO]: ==9806== Open file descriptor 10: /tmp/20240628_104354-scantemp.05e649f02a/ole2-tmp.d88b544eca/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9806== at 0x53883A4: open (in /usr/lib64/libc.so.6) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9806== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9806== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9806== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9806== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9806== by 0x49827F9: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9806== by 0x4982971: cl_scanfile_callback (scanners.c:5797) [INFO]: ==9806== by 0x118C41: test_cl_scanfile_callback_fn (check_clamav.c:321) [INFO]: ==9806== by 0x50D6EBF: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D757D: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D7C5F: srunner_run (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x115EA3: main (check_clamav.c:2062) [INFO]: ==9806== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:cl_scanfile_callback [INFO]: fun:test_cl_scanfile_callback_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:srunner_run [INFO]: fun:main [INFO]: } [INFO]: ==9806== Open file descriptor 9: /tmp/20240628_104326-scantemp.9696db3988/ole2-tmp.857c0871f2/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9806== at 0x53883A4: open (in /usr/lib64/libc.so.6) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9806== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9806== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9806== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9806== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9806== by 0x49827F9: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9806== by 0x118F59: test_cl_scandesc_callback_fn (check_clamav.c:375) [INFO]: ==9806== by 0x50D6EBF: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D757D: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D7C5F: srunner_run (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x115EA3: main (check_clamav.c:2062) [INFO]: ==9806== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:test_cl_scandesc_callback_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:srunner_run [INFO]: fun:main [INFO]: } [INFO]: ==9806== Open file descriptor 8: /tmp/20240628_104259-scantemp.4b0e820a63/ole2-tmp.d38395360e/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9806== at 0x53883A4: open (in /usr/lib64/libc.so.6) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9806== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9806== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9806== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9806== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9806== by 0x49827F9: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9806== by 0x4982971: cl_scanfile_callback (scanners.c:5797) [INFO]: ==9806== by 0x49829B7: cl_scanfile (scanners.c:5774) [INFO]: ==9806== by 0x11893B: test_cl_scanfile_fn (check_clamav.c:267) [INFO]: ==9806== by 0x50D6EBF: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D757D: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D7C5F: srunner_run (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x115EA3: main (check_clamav.c:2062) [INFO]: ==9806== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:cl_scanfile_callback [INFO]: fun:cl_scanfile [INFO]: fun:test_cl_scanfile_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:srunner_run [INFO]: fun:main [INFO]: } [INFO]: ==9806== Open file descriptor 7: /tmp/20240628_104231-scantemp.ac88e34274/ole2-tmp.acb67f0c7e/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9806== at 0x5388408: open (in /usr/lib64/libc.so.6) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9806== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9806== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9806== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9806== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9806== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9806== by 0x49827F9: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9806== by 0x49828E3: cl_scandesc (scanners.c:5151) [INFO]: ==9806== by 0x118613: test_cl_scandesc_fn (check_clamav.c:212) [INFO]: ==9806== by 0x50D6EBF: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D757D: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x50D7C5F: srunner_run (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9806== by 0x115EA3: main (check_clamav.c:2062) [INFO]: ==9806== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:cl_scandesc [INFO]: fun:test_cl_scandesc_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:srunner_run [INFO]: fun:main [INFO]: } [INFO]: ==9806== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-48i81iui/valgrind.log [INFO]: ==9806== [INFO]: ==9806== [INFO]: ==9806== (No origin, error cannot be suppressed) [INFO]: ==9806== [INFO]: ==9806== HEAP SUMMARY: [INFO]: ==9806== in use at exit: 24,315 bytes in 98 blocks [INFO]: ==9806== total heap usage: 1,064,103 allocs, 1,064,005 frees, 1,175,262,467 bytes allocated [INFO]: ==9806== [INFO]: ==9806== Searching for pointers to 98 not-freed blocks [INFO]: ==9806== Checked 8,817,264 bytes [INFO]: ==9806== [INFO]: ==9806== LEAK SUMMARY: [INFO]: ==9806== definitely lost: 0 bytes in 0 blocks [INFO]: ==9806== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9806== possibly lost: 608 bytes in 2 blocks [INFO]: ==9806== still reachable: 23,707 bytes in 96 blocks [INFO]: ==9806== suppressed: 0 bytes in 0 blocks [INFO]: ==9806== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9806== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9806== [INFO]: ==9806== Use --track-origins=yes to see where uninitialised values come from [INFO]: ==9806== ERROR SUMMARY: 16 errors from 8 contexts (suppressed: 0 from 0) [INFO]: ==9806== [INFO]: ==9806== 9 errors in context 1 of 8: [INFO]: ==9806== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9806== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9806== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9806== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9806== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9806== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9806== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9806== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9806== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9806== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9806== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9806== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9806== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9806== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9806== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9806== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9806== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9806== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9806== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9806== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9806== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9806== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9806== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9806== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9806== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9806== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9806== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9806== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9806== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9806== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9806== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9806== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9806== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9806== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9806== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9806== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9806== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9806== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9806== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9806== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9806== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9806== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9806== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9806== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9806== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9806== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9806== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9806== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9806== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9806== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9806== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9806== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9806== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9806== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9806== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9806== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9806== ERROR SUMMARY: 16 errors from 8 contexts (suppressed: 0 from 0) =========================== short test summary info ============================ FAILED libclamav_test.py::TC::test_libclamav_00_unit_test - assert 123 == 0 ERROR libclamav_test.py::TC::test_libclamav_00_unit_test - AssertionError: Va... ==================== 1 failed, 1 error in 210.10s (0:03:30) ==================== Start 9: freshclam_valgrind 3/5 Test #9: freshclam_valgrind ...............***Failed 57.38 sec ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/clamav-1.0.6/unit_tests collecting ... collected 11 items freshclam_test.py::TC::test_freshclam_00_version FAILED [ 9%] freshclam_test.py::TC::test_freshclam_00_version ERROR [ 9%] freshclam_test.py::TC::test_freshclam_01_file_copy FAILED [ 18%] freshclam_test.py::TC::test_freshclam_01_file_copy ERROR [ 18%] freshclam_test.py::TC::test_freshclam_02_http_403 FAILED [ 27%] freshclam_test.py::TC::test_freshclam_02_http_403 ERROR [ 27%] freshclam_test.py::TC::test_freshclam_03_http_403_daemonized FAILED [ 36%] freshclam_test.py::TC::test_freshclam_03_http_403_daemonized ERROR [ 36%] freshclam_test.py::TC::test_freshclam_04_http_429 FAILED [ 45%] freshclam_test.py::TC::test_freshclam_04_http_429 ERROR [ 45%] freshclam_test.py::TC::test_freshclam_05_cdiff_update FAILED [ 54%] freshclam_test.py::TC::test_freshclam_05_cdiff_update ERROR [ 54%] freshclam_test.py::TC::test_freshclam_05_cdiff_update_UNC SKIPPED (T...) [ 63%] freshclam_test.py::TC::test_freshclam_06_cdiff_partial_minus_1 FAILED [ 72%] freshclam_test.py::TC::test_freshclam_06_cdiff_partial_minus_1 ERROR [ 72%] freshclam_test.py::TC::test_freshclam_07_cdiff_partial_minus_2 FAILED [ 81%] freshclam_test.py::TC::test_freshclam_07_cdiff_partial_minus_2 ERROR [ 81%] freshclam_test.py::TC::test_freshclam_07_no_cdiff_out_of_date_cvd FAILED [ 90%] freshclam_test.py::TC::test_freshclam_07_no_cdiff_out_of_date_cvd ERROR [ 90%] freshclam_test.py::TC::test_freshclam_08_cdiff_update_twice FAILED [100%] freshclam_test.py::TC::test_freshclam_08_cdiff_update_twice ERROR [100%] ==================================== ERRORS ==================================== ______________ ERROR at teardown of TC.test_freshclam_00_version _______________ self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: freshclam version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf -V [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9984== Memcheck, a memory error detector [INFO]: ==9984== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9984== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9984== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf -V [INFO]: ==9984== Parent PID: 9981 [INFO]: ==9984== [INFO]: --9984-- [INFO]: --9984-- Valgrind options: [INFO]: --9984-- -v [INFO]: --9984-- --trace-children=yes [INFO]: --9984-- --track-fds=yes [INFO]: --9984-- --leak-check=full [INFO]: --9984-- --show-possibly-lost=no [INFO]: --9984-- --show-leak-kinds=definite [INFO]: --9984-- --errors-for-leak-kinds=definite [INFO]: --9984-- --main-stacksize=16777216 [INFO]: --9984-- --gen-suppressions=all [INFO]: --9984-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9984-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: --9984-- --error-exitcode=123 [INFO]: --9984-- Contents of /proc/version: [INFO]: --9984-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9984-- [INFO]: --9984-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9984-- Page sizes: currently 4096, max supported 4096 [INFO]: --9984-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9984-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9984-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9984-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9984-- might be shown as UnknownInlinedFun [INFO]: --9984-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9984-- object doesn't have a dynamic symbol table [INFO]: --9984-- Scheduler: using generic scheduler lock implementation. [INFO]: --9984-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9984-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9984== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9984-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9984== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9984-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9984== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9984-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9984== [INFO]: ==9984== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9984== don't want to do, unless you know exactly what you're doing, [INFO]: ==9984== or are doing some strange experiment): [INFO]: ==9984== /usr/libexec/valgrind/../../bin/vgdb --pid=9984 ...command... [INFO]: ==9984== [INFO]: ==9984== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9984== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9984== and then give GDB the following command [INFO]: ==9984== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9984 [INFO]: ==9984== --pid is optional if only one valgrind process is running [INFO]: ==9984== [INFO]: --9984-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9984-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9984-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9984-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9984-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9984-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9984-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9984-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9984-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9984-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9984-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9984-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9984-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9984-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9984-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9984-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9984-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9984-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9984-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9984-- Reading syms from /usr/lib64/libnghttp2.so.14.26.0 [INFO]: --9984-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9984-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9984-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9984-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9984-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9984-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9984-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9984-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9984-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9984-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9984-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9984-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9984-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9984-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9984-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9984-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9984-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9984-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9984-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9984-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9984-- REDIR: 0x51c5180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9984-- REDIR: 0x51c8590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9984-- REDIR: 0x51cf2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9984-- REDIR: 0x51cf020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9984== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9984== at 0x521E2A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9984== by 0x567B22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9984== by 0x555B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9984-- REDIR: 0x51c0580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9984-- REDIR: 0x523e360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9984-- REDIR: 0x51c0d70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9984-- REDIR: 0x51cf160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9984-- REDIR: 0x51cfaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9984-- REDIR: 0x51ccbf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9984-- REDIR: 0x51cf630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9984-- REDIR: 0x51cf220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: ==9984== [INFO]: ==9984== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9984== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: ==9984== [INFO]: ==9984== [INFO]: ==9984== (No origin, error cannot be suppressed) [INFO]: ==9984== [INFO]: ==9984== HEAP SUMMARY: [INFO]: ==9984== in use at exit: 0 bytes in 0 blocks [INFO]: ==9984== total heap usage: 143 allocs, 143 frees, 15,762 bytes allocated [INFO]: ==9984== [INFO]: ==9984== All heap blocks were freed -- no leaks are possible [INFO]: ==9984== [INFO]: ==9984== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _____________ ERROR at teardown of TC.test_freshclam_01_file_copy ______________ self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Basic freshclam test using file:// to "download" clamav.hdb [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:45:57 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:45:57 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:45:57 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:45:57 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:45:57 2024 -> Creating new freshclam.dat Fri Jun 28 10:45:57 2024 -> Saved freshclam.dat Fri Jun 28 10:45:57 2024 -> ClamAV update process started at Fri Jun 28 10:45:57 2024 Fri Jun 28 10:45:57 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:45:57 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:45:57 2024 -> Downloading clamav.hdb [100%] Fri Jun 28 10:45:57 2024 -> updatecustomdb: Running g_cb_download_complete callback... Fri Jun 28 10:45:57 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.d155d4eff8/clamav-9bfcf89477cb5b3e95e062b35049c7cc.tmp-clamav.hdb Fri Jun 28 10:45:57 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Fri Jun 28 10:45:57 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Fri Jun 28 10:45:57 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.d155d4eff8/clamav-9bfcf89477cb5b3e95e062b35049c7cc.tmp-clamav.hdb' ... Fri Jun 28 10:45:57 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.d155d4eff8/clamav-9bfcf89477cb5b3e95e062b35049c7cc.tmp-clamav.hdb Fri Jun 28 10:45:58 2024 -> Properly loaded 1 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.d155d4eff8/clamav-9bfcf89477cb5b3e95e062b35049c7cc.tmp-clamav.hdb Fri Jun 28 10:45:58 2024 -> updatecustomdb: callback failed: Test failed (8) Fri Jun 28 10:45:58 2024 -> Unexpected error when attempting to update from custom database URL: file:///builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/clamav.hdb [DEBUG]: stderr: WARNING: Fri Jun 28 10:45:57 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:45:58 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Fri Jun 28 10:45:58 2024 -> Database test FAILED. WARNING: Fri Jun 28 10:45:58 2024 -> fc_download_url_databases: fc_download_url_database failed: Test failed (8) ERROR: Fri Jun 28 10:45:58 2024 -> Database update process failed: Test failed ERROR: Fri Jun 28 10:45:58 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9986== Memcheck, a memory error detector [INFO]: ==9986== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9986== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9986== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf [INFO]: ==9986== Parent PID: 9981 [INFO]: ==9986== [INFO]: --9986-- [INFO]: --9986-- Valgrind options: [INFO]: --9986-- -v [INFO]: --9986-- --trace-children=yes [INFO]: --9986-- --track-fds=yes [INFO]: --9986-- --leak-check=full [INFO]: --9986-- --show-possibly-lost=no [INFO]: --9986-- --show-leak-kinds=definite [INFO]: --9986-- --errors-for-leak-kinds=definite [INFO]: --9986-- --main-stacksize=16777216 [INFO]: --9986-- --gen-suppressions=all [INFO]: --9986-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9986-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: --9986-- --error-exitcode=123 [INFO]: --9986-- Contents of /proc/version: [INFO]: --9986-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9986-- [INFO]: --9986-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9986-- Page sizes: currently 4096, max supported 4096 [INFO]: --9986-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9986-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9986-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9986-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9986-- might be shown as UnknownInlinedFun [INFO]: --9986-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9986-- object doesn't have a dynamic symbol table [INFO]: --9986-- Scheduler: using generic scheduler lock implementation. [INFO]: --9986-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9986-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9986== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9986-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9986== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9986-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9986== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9986-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9986== [INFO]: ==9986== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9986== don't want to do, unless you know exactly what you're doing, [INFO]: ==9986== or are doing some strange experiment): [INFO]: ==9986== /usr/libexec/valgrind/../../bin/vgdb --pid=9986 ...command... [INFO]: ==9986== [INFO]: ==9986== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9986== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9986== and then give GDB the following command [INFO]: ==9986== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9986 [INFO]: ==9986== --pid is optional if only one valgrind process is running [INFO]: ==9986== [INFO]: --9986-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9986-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9986-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9986-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9986-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9986-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9986-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9986-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9986-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9986-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9986-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9986-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9986-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9986-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9986-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9986-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9986-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9986-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9986-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9986-- Reading syms from /usr/lib64/libnghttp2.so.14.26.0 [INFO]: --9986-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9986-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9986-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9986-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9986-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9986-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9986-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9986-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9986-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9986-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9986-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9986-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9986-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9986-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9986-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9986-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9986-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9986-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9986-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9986-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9986-- REDIR: 0x51c5180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9986-- REDIR: 0x51c8590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9986-- REDIR: 0x51cf2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9986-- REDIR: 0x51cf020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9986== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9986== at 0x521E2A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9986== by 0x567B22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9986== by 0x555B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9986-- REDIR: 0x51c0580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9986-- REDIR: 0x523e360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9986-- REDIR: 0x51c0d70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9986-- REDIR: 0x51cf160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9986-- REDIR: 0x51cfaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9986-- REDIR: 0x51ccbf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9986-- REDIR: 0x51cf630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9986-- REDIR: 0x51c1760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9986-- REDIR: 0x51c1010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9986-- REDIR: 0x51ccd30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9986-- REDIR: 0x51c51f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9986-- REDIR: 0x51ccdb0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9986-- REDIR: 0x51cf220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9986-- REDIR: 0x51ce770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9986-- REDIR: 0x51ce480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9986-- REDIR: 0x51ccb40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9986-- REDIR: 0x51c82d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: ==9989== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9989-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9989== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9989-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9989== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9989-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9989== [INFO]: ==9989== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9989== don't want to do, unless you know exactly what you're doing, [INFO]: ==9989== or are doing some strange experiment): [INFO]: ==9989== /usr/libexec/valgrind/../../bin/vgdb --pid=9989 ...command... [INFO]: ==9989== [INFO]: ==9989== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9989== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9989== and then give GDB the following command [INFO]: ==9989== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9989 [INFO]: ==9989== --pid is optional if only one valgrind process is running [INFO]: ==9989== [INFO]: ==9989== [INFO]: ==9989== FILE DESCRIPTORS: 5 open (3 std) at exit. [INFO]: ==9989== Open file descriptor 5: [INFO]: ==9989== at 0x52236BA: pipe (in /usr/lib64/libc.so.6) [INFO]: ==9989== by 0x10D5B7: download_complete_callback (freshclam.c:279) [INFO]: ==9989== by 0x4870E83: UnknownInlinedFun (libfreshclam_internal.c:2647) [INFO]: ==9989== by 0x4870E83: updatecustomdb (libfreshclam_internal.c:2525) [INFO]: ==9989== by 0x4870FE1: fc_download_url_database (libfreshclam.c:862) [INFO]: ==9989== by 0x48713BB: fc_download_url_databases (libfreshclam.c:983) [INFO]: ==9989== by 0x10E8EF: perform_database_update (freshclam.c:1536) [INFO]: ==9989== by 0x10BC0B: main (freshclam.c:1877) [INFO]: ==9989== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:pipe [INFO]: fun:download_complete_callback [INFO]: fun:UnknownInlinedFun [INFO]: fun:updatecustomdb [INFO]: fun:fc_download_url_database [INFO]: fun:fc_download_url_databases [INFO]: fun:perform_database_update [INFO]: fun:main [INFO]: } [INFO]: ==9989== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: ==9989== [INFO]: ==9989== [INFO]: ==9989== (No origin, error cannot be suppressed) [INFO]: ==9989== [INFO]: ==9989== HEAP SUMMARY: [INFO]: ==9989== in use at exit: 6,025 bytes in 145 blocks [INFO]: ==9989== total heap usage: 6,624 allocs, 6,479 frees, 975,346 bytes allocated [INFO]: ==9989== [INFO]: ==9989== Searching for pointers to 145 not-freed blocks [INFO]: ==9989== Checked 511,704 bytes [INFO]: ==9989== [INFO]: ==9989== LEAK SUMMARY: [INFO]: ==9989== definitely lost: 0 bytes in 0 blocks [INFO]: ==9989== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9989== possibly lost: 0 bytes in 0 blocks [INFO]: ==9989== still reachable: 6,025 bytes in 145 blocks [INFO]: ==9989== suppressed: 0 bytes in 0 blocks [INFO]: ==9989== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9989== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9989== [INFO]: ==9989== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) [INFO]: ==9986== [INFO]: ==9986== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9986== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: ==9986== [INFO]: ==9986== [INFO]: ==9986== (No origin, error cannot be suppressed) [INFO]: ==9986== [INFO]: ==9986== HEAP SUMMARY: [INFO]: ==9986== in use at exit: 0 bytes in 0 blocks [INFO]: ==9986== total heap usage: 6,607 allocs, 6,607 frees, 753,708 bytes allocated [INFO]: ==9986== [INFO]: ==9986== All heap blocks were freed -- no leaks are possible [INFO]: ==9986== [INFO]: ==9986== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________ ERROR at teardown of TC.test_freshclam_02_http_403 ______________ self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify correct behavior when receiving 403 (forbidden) [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=daily Web server is running on port 8001 [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:46:00 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:00 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:46:00 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:46:00 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:46:00 2024 -> Creating new freshclam.dat Fri Jun 28 10:46:00 2024 -> Saved freshclam.dat Fri Jun 28 10:46:00 2024 -> ClamAV update process started at Fri Jun 28 10:46:00 2024 Fri Jun 28 10:46:00 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:00 2024 -> check_for_new_database_version: No local copy of "daily" database. Fri Jun 28 10:46:00 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 58880 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 5b48325c-efd2-4504-83ad-5ac39465a35c) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:00 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:00 2024 -> OK Fri Jun 28 10:46:00 2024 -> daily database version obtained using HTTP GET: 25934 Fri Jun 28 10:46:00 2024 -> daily database available for download (remote version: 25934) Fri Jun 28 10:46:00 2024 -> Retrieving http://localhost:8001/daily.cvd Fri Jun 28 10:46:00 2024 -> downloadFile: Download source: http://localhost:8001/daily.cvd Fri Jun 28 10:46:00 2024 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.f5689ed728/clamav-9152ef4b62406a1977c5b47c81cb73b7.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 58886 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 5b48325c-efd2-4504-83ad-5ac39465a35c) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 403 Forbidden < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:00 GMT < Content-type: text/html < * Closing connection Fri Jun 28 10:46:00 2024 -> Saved freshclam.dat Fri Jun 28 10:46:00 2024 -> This could mean several things: Fri Jun 28 10:46:00 2024 -> 1. You are running an out-of-date version of ClamAV / FreshClam. Fri Jun 28 10:46:00 2024 -> Ensure you are the most updated version by visiting https://www.clamav.net/downloads Fri Jun 28 10:46:00 2024 -> 2. Your network is explicitly denied by the FreshClam CDN. Fri Jun 28 10:46:00 2024 -> In order to rectify this please check that you are: Fri Jun 28 10:46:00 2024 -> a. Running an up-to-date version of FreshClam Fri Jun 28 10:46:00 2024 -> b. Running FreshClam no more than once an hour Fri Jun 28 10:46:00 2024 -> c. If you have checked (a) and (b), please open a ticket at Fri Jun 28 10:46:00 2024 -> https://github.com/Cisco-Talos/clamav/issues Fri Jun 28 10:46:00 2024 -> and we will investigate why your network is blocked. [DEBUG]: stderr: WARNING: Fri Jun 28 10:46:00 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:46:00 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd WARNING: Fri Jun 28 10:46:00 2024 -> FreshClam received error code 403 from the ClamAV Content Delivery Network (CDN). WARNING: Fri Jun 28 10:46:00 2024 -> You are on cool-down until after: 2024-06-29 10:46:00 ERROR: Fri Jun 28 10:46:00 2024 -> Database update process failed: Forbidden; Blocked by CDN ERROR: Fri Jun 28 10:46:00 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9992== Memcheck, a memory error detector [INFO]: ==9992== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9992== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9992== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=daily [INFO]: ==9992== Parent PID: 9981 [INFO]: ==9992== [INFO]: --9992-- [INFO]: --9992-- Valgrind options: [INFO]: --9992-- -v [INFO]: --9992-- --trace-children=yes [INFO]: --9992-- --track-fds=yes [INFO]: --9992-- --leak-check=full [INFO]: --9992-- --show-possibly-lost=no [INFO]: --9992-- --show-leak-kinds=definite [INFO]: --9992-- --errors-for-leak-kinds=definite [INFO]: --9992-- --main-stacksize=16777216 [INFO]: --9992-- --gen-suppressions=all [INFO]: --9992-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9992-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: --9992-- --error-exitcode=123 [INFO]: --9992-- Contents of /proc/version: [INFO]: --9992-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9992-- [INFO]: --9992-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9992-- Page sizes: currently 4096, max supported 4096 [INFO]: --9992-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9992-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9992-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9992-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9992-- might be shown as UnknownInlinedFun [INFO]: --9992-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9992-- object doesn't have a dynamic symbol table [INFO]: --9992-- Scheduler: using generic scheduler lock implementation. [INFO]: --9992-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9992-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9992== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9992-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9992== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9992-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9992== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9992-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9992== [INFO]: ==9992== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9992== don't want to do, unless you know exactly what you're doing, [INFO]: ==9992== or are doing some strange experiment): [INFO]: ==9992== /usr/libexec/valgrind/../../bin/vgdb --pid=9992 ...command... [INFO]: ==9992== [INFO]: ==9992== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9992== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9992== and then give GDB the following command [INFO]: ==9992== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9992 [INFO]: ==9992== --pid is optional if only one valgrind process is running [INFO]: ==9992== [INFO]: --9992-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9992-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9992-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9992-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9992-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9992-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9992-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9992-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9992-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9992-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9992-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9992-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9992-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9992-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9992-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9992-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9992-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9992-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9992-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9992-- Reading syms from /usr/lib64/libnghttp2.so.14.26.0 [INFO]: --9992-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9992-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9992-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9992-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9992-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9992-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9992-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9992-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9992-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9992-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9992-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9992-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9992-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9992-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9992-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9992-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9992-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9992-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9992-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9992-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9992-- REDIR: 0x51c5180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9992-- REDIR: 0x51c8590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9992-- REDIR: 0x51cf2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9992-- REDIR: 0x51cf020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9992== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9992== at 0x521E2A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9992== by 0x567B22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9992== by 0x555B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9992-- REDIR: 0x51c0580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9992-- REDIR: 0x523e360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9992-- REDIR: 0x51c0d70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9992-- REDIR: 0x51cf160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9992-- REDIR: 0x51cfaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9992-- REDIR: 0x51ccbf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9992-- REDIR: 0x51cf630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9992-- REDIR: 0x51c1760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9992-- REDIR: 0x51c1010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9992-- REDIR: 0x51ccd30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9992-- REDIR: 0x51c51f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9992-- REDIR: 0x51ccdb0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9992-- REDIR: 0x51cf220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9992-- REDIR: 0x51ce770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9992-- REDIR: 0x51ce480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9992-- REDIR: 0x51ccb40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9992-- REDIR: 0x51c82d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9992-- REDIR: 0x51cf880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9992-- REDIR: 0x523e380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9992== [INFO]: ==9992== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9992== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: ==9992== [INFO]: ==9992== [INFO]: ==9992== (No origin, error cannot be suppressed) [INFO]: ==9992== [INFO]: ==9992== HEAP SUMMARY: [INFO]: ==9992== in use at exit: 0 bytes in 0 blocks [INFO]: ==9992== total heap usage: 6,768 allocs, 6,768 frees, 776,697 bytes allocated [INFO]: ==9992== [INFO]: ==9992== All heap blocks were freed -- no leaks are possible [INFO]: ==9992== [INFO]: ==9992== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [28/Jun/2024 10:46:00] "GET /daily.cvd HTTP/1.1" 206 - 127.0.0.1 - - [28/Jun/2024 10:46:00] "GET /daily.cvd HTTP/1.1" 403 - ________ ERROR at teardown of TC.test_freshclam_03_http_403_daemonized _________ self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify correct behavior when receiving 403 (forbidden) and daemonized [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=daily --daemon -F Web server is running on port 8001 [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:46:02 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:02 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:46:02 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:46:02 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:46:03 2024 -> Creating new freshclam.dat Fri Jun 28 10:46:03 2024 -> Saved freshclam.dat Fri Jun 28 10:46:03 2024 -> ClamAV update process started at Fri Jun 28 10:46:03 2024 Fri Jun 28 10:46:03 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:03 2024 -> check_for_new_database_version: No local copy of "daily" database. Fri Jun 28 10:46:03 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 58896 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 57624c9a-2e73-44fa-a3c0-b9d707770a44) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:03 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:03 2024 -> OK Fri Jun 28 10:46:03 2024 -> daily database version obtained using HTTP GET: 25934 Fri Jun 28 10:46:03 2024 -> daily database available for download (remote version: 25934) Fri Jun 28 10:46:03 2024 -> Retrieving http://localhost:8001/daily.cvd Fri Jun 28 10:46:03 2024 -> downloadFile: Download source: http://localhost:8001/daily.cvd Fri Jun 28 10:46:03 2024 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.489b0f7559/clamav-d7aaa5842007abdbe96a7ff8cf40742f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 58906 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 57624c9a-2e73-44fa-a3c0-b9d707770a44) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 403 Forbidden < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:03 GMT < Content-type: text/html < * Closing connection Fri Jun 28 10:46:03 2024 -> Saved freshclam.dat Fri Jun 28 10:46:03 2024 -> This could mean several things: Fri Jun 28 10:46:03 2024 -> 1. You are running an out-of-date version of ClamAV / FreshClam. Fri Jun 28 10:46:03 2024 -> Ensure you are the most updated version by visiting https://www.clamav.net/downloads Fri Jun 28 10:46:03 2024 -> 2. Your network is explicitly denied by the FreshClam CDN. Fri Jun 28 10:46:03 2024 -> In order to rectify this please check that you are: Fri Jun 28 10:46:03 2024 -> a. Running an up-to-date version of FreshClam Fri Jun 28 10:46:03 2024 -> b. Running FreshClam no more than once an hour Fri Jun 28 10:46:03 2024 -> c. If you have checked (a) and (b), please open a ticket at Fri Jun 28 10:46:03 2024 -> https://github.com/Cisco-Talos/clamav/issues Fri Jun 28 10:46:03 2024 -> and we will investigate why your network is blocked. [DEBUG]: stderr: WARNING: Fri Jun 28 10:46:03 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:46:03 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd WARNING: Fri Jun 28 10:46:03 2024 -> FreshClam received error code 403 from the ClamAV Content Delivery Network (CDN). WARNING: Fri Jun 28 10:46:03 2024 -> You are on cool-down until after: 2024-06-29 10:46:03 ERROR: Fri Jun 28 10:46:03 2024 -> Database update process failed: Forbidden; Blocked by CDN ERROR: Fri Jun 28 10:46:03 2024 -> Update failed. WARNING: Fri Jun 28 10:46:03 2024 -> FreshClam was forbidden from downloading a database. WARNING: Fri Jun 28 10:46:03 2024 -> This is fatal. Retrying later won't help. Exiting now. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9995== Memcheck, a memory error detector [INFO]: ==9995== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9995== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9995== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=daily --daemon -F [INFO]: ==9995== Parent PID: 9981 [INFO]: ==9995== [INFO]: --9995-- [INFO]: --9995-- Valgrind options: [INFO]: --9995-- -v [INFO]: --9995-- --trace-children=yes [INFO]: --9995-- --track-fds=yes [INFO]: --9995-- --leak-check=full [INFO]: --9995-- --show-possibly-lost=no [INFO]: --9995-- --show-leak-kinds=definite [INFO]: --9995-- --errors-for-leak-kinds=definite [INFO]: --9995-- --main-stacksize=16777216 [INFO]: --9995-- --gen-suppressions=all [INFO]: --9995-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9995-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: --9995-- --error-exitcode=123 [INFO]: --9995-- Contents of /proc/version: [INFO]: --9995-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9995-- [INFO]: --9995-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9995-- Page sizes: currently 4096, max supported 4096 [INFO]: --9995-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9995-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9995-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9995-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9995-- might be shown as UnknownInlinedFun [INFO]: --9995-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9995-- object doesn't have a dynamic symbol table [INFO]: --9995-- Scheduler: using generic scheduler lock implementation. [INFO]: --9995-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9995-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9995== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9995-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9995== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9995-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9995== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9995-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9995== [INFO]: ==9995== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9995== don't want to do, unless you know exactly what you're doing, [INFO]: ==9995== or are doing some strange experiment): [INFO]: ==9995== /usr/libexec/valgrind/../../bin/vgdb --pid=9995 ...command... [INFO]: ==9995== [INFO]: ==9995== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9995== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9995== and then give GDB the following command [INFO]: ==9995== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9995 [INFO]: ==9995== --pid is optional if only one valgrind process is running [INFO]: ==9995== [INFO]: --9995-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9995-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9995-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9995-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9995-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9995-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9995-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9995-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9995-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9995-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9995-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9995-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9995-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9995-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9995-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9995-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9995-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9995-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9995-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9995-- Reading syms from /usr/lib64/libnghttp2.so.14.26.0 [INFO]: --9995-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9995-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9995-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9995-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9995-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9995-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9995-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9995-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9995-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9995-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9995-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9995-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9995-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9995-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9995-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9995-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9995-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9995-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9995-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9995-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9995-- REDIR: 0x51c5180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9995-- REDIR: 0x51c8590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9995-- REDIR: 0x51cf2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9995-- REDIR: 0x51cf020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9995== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9995== at 0x521E2A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9995== by 0x567B22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9995== by 0x555B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9995-- REDIR: 0x51c0580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9995-- REDIR: 0x523e360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9995-- REDIR: 0x51c0d70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9995-- REDIR: 0x51cf160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9995-- REDIR: 0x51cfaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9995-- REDIR: 0x51ccbf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9995-- REDIR: 0x51cf630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9995-- REDIR: 0x51c1760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9995-- REDIR: 0x51c1010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9995-- REDIR: 0x51ccd30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9995-- REDIR: 0x51c51f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9995-- REDIR: 0x51ccdb0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9995-- REDIR: 0x51cf220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9995-- REDIR: 0x51ce770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9995-- REDIR: 0x51ce480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9995-- REDIR: 0x51ccb40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9995-- REDIR: 0x51c82d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9995-- REDIR: 0x51cf880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9995-- REDIR: 0x523e380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9995== [INFO]: ==9995== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9995== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: ==9995== [INFO]: ==9995== [INFO]: ==9995== (No origin, error cannot be suppressed) [INFO]: ==9995== [INFO]: ==9995== HEAP SUMMARY: [INFO]: ==9995== in use at exit: 0 bytes in 0 blocks [INFO]: ==9995== total heap usage: 6,772 allocs, 6,772 frees, 781,295 bytes allocated [INFO]: ==9995== [INFO]: ==9995== All heap blocks were freed -- no leaks are possible [INFO]: ==9995== [INFO]: ==9995== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [28/Jun/2024 10:46:03] "GET /daily.cvd HTTP/1.1" 206 - 127.0.0.1 - - [28/Jun/2024 10:46:03] "GET /daily.cvd HTTP/1.1" 403 - ______________ ERROR at teardown of TC.test_freshclam_04_http_429 ______________ self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify correct behavior when receiving 429 (too-many-requests) [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=daily Web server is running on port 8001 [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:46:05 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:05 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:46:05 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:46:05 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:46:05 2024 -> Creating new freshclam.dat Fri Jun 28 10:46:05 2024 -> Saved freshclam.dat Fri Jun 28 10:46:05 2024 -> ClamAV update process started at Fri Jun 28 10:46:05 2024 Fri Jun 28 10:46:05 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:05 2024 -> check_for_new_database_version: No local copy of "daily" database. Fri Jun 28 10:46:05 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 58922 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: dfcbfb9c-9921-4d84-8084-c88d3b0e3aa3) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:05 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:05 2024 -> OK Fri Jun 28 10:46:05 2024 -> daily database version obtained using HTTP GET: 25934 Fri Jun 28 10:46:05 2024 -> daily database available for download (remote version: 25934) Fri Jun 28 10:46:05 2024 -> Retrieving http://localhost:8001/daily.cvd Fri Jun 28 10:46:05 2024 -> downloadFile: Download source: http://localhost:8001/daily.cvd Fri Jun 28 10:46:05 2024 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.6f323a7d74/clamav-4223757b63f280089a8abbf350ee41de.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 58936 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: dfcbfb9c-9921-4d84-8084-c88d3b0e3aa3) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 429 Too Many Requests < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:05 GMT < Content-type: text/html < Retry-After: 60 < * Closing connection Fri Jun 28 10:46:05 2024 -> Saved freshclam.dat Fri Jun 28 10:46:05 2024 -> This means that you have been rate limited by the CDN. Fri Jun 28 10:46:05 2024 -> 1. Run FreshClam no more than once an hour to check for updates. Fri Jun 28 10:46:05 2024 -> FreshClam should check DNS first to see if an update is needed. Fri Jun 28 10:46:05 2024 -> 2. If you have more than 10 hosts on your network attempting to download, Fri Jun 28 10:46:05 2024 -> it is recommended that you set up a private mirror on your network using Fri Jun 28 10:46:05 2024 -> cvdupdate (https://pypi.org/project/cvdupdate/) to save bandwidth on the Fri Jun 28 10:46:05 2024 -> CDN and your own network. Fri Jun 28 10:46:05 2024 -> 3. Please do not open a ticket asking for an exemption from the rate limit, Fri Jun 28 10:46:05 2024 -> it will not be granted. [DEBUG]: stderr: WARNING: Fri Jun 28 10:46:05 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:46:05 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd WARNING: Fri Jun 28 10:46:05 2024 -> FreshClam received error code 429 from the ClamAV Content Delivery Network (CDN). WARNING: Fri Jun 28 10:46:05 2024 -> You are on cool-down until after: 2024-06-28 10:47:05 [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10000== Memcheck, a memory error detector [INFO]: ==10000== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10000== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10000== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=daily [INFO]: ==10000== Parent PID: 9981 [INFO]: ==10000== [INFO]: --10000-- [INFO]: --10000-- Valgrind options: [INFO]: --10000-- -v [INFO]: --10000-- --trace-children=yes [INFO]: --10000-- --track-fds=yes [INFO]: --10000-- --leak-check=full [INFO]: --10000-- --show-possibly-lost=no [INFO]: --10000-- --show-leak-kinds=definite [INFO]: --10000-- --errors-for-leak-kinds=definite [INFO]: --10000-- --main-stacksize=16777216 [INFO]: --10000-- --gen-suppressions=all [INFO]: --10000-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10000-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: --10000-- --error-exitcode=123 [INFO]: --10000-- Contents of /proc/version: [INFO]: --10000-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --10000-- [INFO]: --10000-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --10000-- Page sizes: currently 4096, max supported 4096 [INFO]: --10000-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10000-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --10000-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --10000-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10000-- might be shown as UnknownInlinedFun [INFO]: --10000-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --10000-- object doesn't have a dynamic symbol table [INFO]: --10000-- Scheduler: using generic scheduler lock implementation. [INFO]: --10000-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10000-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10000== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10000-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10000== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10000-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10000== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10000-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10000== [INFO]: ==10000== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10000== don't want to do, unless you know exactly what you're doing, [INFO]: ==10000== or are doing some strange experiment): [INFO]: ==10000== /usr/libexec/valgrind/../../bin/vgdb --pid=10000 ...command... [INFO]: ==10000== [INFO]: ==10000== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10000== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==10000== and then give GDB the following command [INFO]: ==10000== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10000 [INFO]: ==10000== --pid is optional if only one valgrind process is running [INFO]: ==10000== [INFO]: --10000-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --10000-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --10000-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --10000-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --10000-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --10000-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10000-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10000-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --10000-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --10000-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --10000-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10000-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10000-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10000-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10000-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10000-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --10000-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --10000-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10000-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --10000-- Reading syms from /usr/lib64/libnghttp2.so.14.26.0 [INFO]: --10000-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --10000-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --10000-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --10000-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --10000-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --10000-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --10000-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --10000-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10000-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --10000-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --10000-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --10000-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --10000-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --10000-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --10000-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --10000-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --10000-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --10000-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --10000-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --10000-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --10000-- REDIR: 0x51c5180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10000-- REDIR: 0x51c8590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10000-- REDIR: 0x51cf2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --10000-- REDIR: 0x51cf020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==10000== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==10000== at 0x521E2A0: close (in /usr/lib64/libc.so.6) [INFO]: ==10000== by 0x567B22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==10000== by 0x555B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --10000-- REDIR: 0x51c0580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --10000-- REDIR: 0x523e360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --10000-- REDIR: 0x51c0d70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --10000-- REDIR: 0x51cf160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --10000-- REDIR: 0x51cfaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --10000-- REDIR: 0x51ccbf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --10000-- REDIR: 0x51cf630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --10000-- REDIR: 0x51c1760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --10000-- REDIR: 0x51c1010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --10000-- REDIR: 0x51ccd30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --10000-- REDIR: 0x51c51f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --10000-- REDIR: 0x51ccdb0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --10000-- REDIR: 0x51cf220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --10000-- REDIR: 0x51ce770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --10000-- REDIR: 0x51ce480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --10000-- REDIR: 0x51ccb40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --10000-- REDIR: 0x51c82d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --10000-- REDIR: 0x51cf880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --10000-- REDIR: 0x523e380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==10000== [INFO]: ==10000== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10000== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: ==10000== [INFO]: ==10000== [INFO]: ==10000== (No origin, error cannot be suppressed) [INFO]: ==10000== [INFO]: ==10000== HEAP SUMMARY: [INFO]: ==10000== in use at exit: 0 bytes in 0 blocks [INFO]: ==10000== total heap usage: 6,766 allocs, 6,766 frees, 776,718 bytes allocated [INFO]: ==10000== [INFO]: ==10000== All heap blocks were freed -- no leaks are possible [INFO]: ==10000== [INFO]: ==10000== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [28/Jun/2024 10:46:05] "GET /daily.cvd HTTP/1.1" 206 - 127.0.0.1 - - [28/Jun/2024 10:46:05] "GET /daily.cvd HTTP/1.1" 429 - ____________ ERROR at teardown of TC.test_freshclam_05_cdiff_update ____________ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: > self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:267: in verify_log log_checker.verify_expected_log(log_file, expected=expected, order=order) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:868: in verify_expected_log for line_idx, chunk in read_log(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_log(): """Read log file in chunks.""" with open(filename, "r") as file_reader: prev_lines, lines = [], [] > for idx, line in enumerate(file_reader, 1): E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd in position 805: invalid continuation byte /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:859: UnicodeDecodeError During handling of the above exception, another exception occurred: self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:305: in verify_valgrind_log for line in log.readlines(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = input = b'47 bytes allocated\n==10008== \n==10008== Searching for pointers to 142 not-freed blocks\n==10008== Checked 511,544 ....c:1877)\n==10008== Previously closed\n==10008== at 0x521E2A0: close (in /usr/lib64/libc.so.6)\n==10008== by 0x' final = False > ??? E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd in position 805: invalid continuation byte :322: UnicodeDecodeError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam can update from an older CVD to a newer with CDIFF patches [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-2.cdiff Mock Server: Sending 765 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-3.cdiff Mock Server: Sending 1637 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-4.cdiff Mock Server: Sending 945 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-5.cdiff Mock Server: Sending 993 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-6.cdiff Mock Server: Sending 973 bytes back to client. [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:46:08 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:08 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:46:08 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:46:08 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:46:08 2024 -> Creating new freshclam.dat Fri Jun 28 10:46:08 2024 -> Saved freshclam.dat Fri Jun 28 10:46:08 2024 -> ClamAV update process started at Fri Jun 28 10:46:08 2024 Fri Jun 28 10:46:08 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:08 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Fri Jun 28 10:46:08 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 58950 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e26cfe42-0973-4152-a0d3-5c12aa7432f9) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:08 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:08 2024 -> OK Fri Jun 28 10:46:08 2024 -> test database version obtained using HTTP GET: 6 Fri Jun 28 10:46:08 2024 -> test database available for update (local version: 1, remote version: 6) Fri Jun 28 10:46:08 2024 -> Retrieving http://localhost:8001/test-2.cdiff Fri Jun 28 10:46:08 2024 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Fri Jun 28 10:46:08 2024 -> downloadFile: Download destination: ./clamav-94b1c0b871089993fa4d3206814b2844.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37500 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e26cfe42-0973-4152-a0d3-5c12aa7432f9) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:08 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:10 2024 -> Retrieving http://localhost:8001/test-3.cdiff Fri Jun 28 10:46:10 2024 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Fri Jun 28 10:46:10 2024 -> downloadFile: Download destination: ./clamav-55a225c85dd8ad5442f973f8219496b1.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37512 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e26cfe42-0973-4152-a0d3-5c12aa7432f9) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:10 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:12 2024 -> Retrieving http://localhost:8001/test-4.cdiff Fri Jun 28 10:46:12 2024 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Fri Jun 28 10:46:12 2024 -> downloadFile: Download destination: ./clamav-c15c77c997c1475aaa29c57a7157c776.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37520 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e26cfe42-0973-4152-a0d3-5c12aa7432f9) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:12 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:13 2024 -> Retrieving http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:13 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:13 2024 -> downloadFile: Download destination: ./clamav-8cec617fc8036e36390c4a22981e69c4.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37524 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e26cfe42-0973-4152-a0d3-5c12aa7432f9) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:13 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:15 2024 -> Retrieving http://localhost:8001/test-6.cdiff Fri Jun 28 10:46:15 2024 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Fri Jun 28 10:46:15 2024 -> downloadFile: Download destination: ./clamav-fc7170bc86f0a7e05e6837e956399d7f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37528 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e26cfe42-0973-4152-a0d3-5c12aa7432f9) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:15 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:16 2024 -> updatedb: Running g_cb_download_complete callback... Fri Jun 28 10:46:16 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.1cb345bd92/clamav-a5e328561e7334f221615bfe7b021f8f.tmp-test.cld Fri Jun 28 10:46:16 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Fri Jun 28 10:46:16 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Fri Jun 28 10:46:16 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.1cb345bd92/clamav-a5e328561e7334f221615bfe7b021f8f.tmp-test.cld' ... Fri Jun 28 10:46:16 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.1cb345bd92/clamav-a5e328561e7334f221615bfe7b021f8f.tmp-test.cld Fri Jun 28 10:46:18 2024 -> Properly loaded 14 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.1cb345bd92/clamav-a5e328561e7334f221615bfe7b021f8f.tmp-test.cld Fri Jun 28 10:46:18 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Fri Jun 28 10:46:08 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:46:18 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Fri Jun 28 10:46:18 2024 -> Database test FAILED. ERROR: Fri Jun 28 10:46:18 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Fri Jun 28 10:46:18 2024 -> Database update process failed: Test failed ERROR: Fri Jun 28 10:46:18 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [28/Jun/2024 10:46:08] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [28/Jun/2024 10:46:08] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:10] "GET /test-3.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:12] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:13] "GET /test-5.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:15] "GET /test-6.cdiff HTTP/1.1" 200 - _______ ERROR at teardown of TC.test_freshclam_06_cdiff_partial_minus_1 ________ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: > self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:267: in verify_log log_checker.verify_expected_log(log_file, expected=expected, order=order) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:868: in verify_expected_log for line_idx, chunk in read_log(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_log(): """Read log file in chunks.""" with open(filename, "r") as file_reader: prev_lines, lines = [], [] > for idx, line in enumerate(file_reader, 1): E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd in position 2391: invalid continuation byte /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:859: UnicodeDecodeError During handling of the above exception, another exception occurred: self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:305: in verify_valgrind_log for line in log.readlines(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = input = b'algrind/../../bin/vgdb --pid=10034 ...command...\n==10034== \n==10034== TO DEBUG THIS PROCESS USING GDB: start GDB l...= \n{\n \n Memcheck:Cond\n fun:clone\n fun:clone\n fun:_Z' final = False > ??? E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd in position 2391: invalid continuation byte :322: UnicodeDecodeError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam will accept a partial update with 1 missing cdiff [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-4.cdiff Mock Server: Sending 945 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-5.cdiff Mock Server: Sending 993 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-6.cdiff Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-6.cdiff Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-6.cdiff [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:46:20 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:20 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:46:20 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:46:20 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:46:20 2024 -> Creating new freshclam.dat Fri Jun 28 10:46:20 2024 -> Saved freshclam.dat Fri Jun 28 10:46:20 2024 -> ClamAV update process started at Fri Jun 28 10:46:20 2024 Fri Jun 28 10:46:20 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:20 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Fri Jun 28 10:46:20 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 60806 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 1919d678-63da-410c-97fb-ddb04bf8a6a1) Accept: */* If-Modified-Since: Wed, 23 Jun 2021 00:40:09 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:21 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:21 2024 -> OK Fri Jun 28 10:46:21 2024 -> test database version obtained using HTTP GET: 6 Fri Jun 28 10:46:21 2024 -> test database available for update (local version: 3, remote version: 6) Fri Jun 28 10:46:21 2024 -> Retrieving http://localhost:8001/test-4.cdiff Fri Jun 28 10:46:21 2024 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Fri Jun 28 10:46:21 2024 -> downloadFile: Download destination: ./clamav-485abe47a08909469413fe50c90bfa4c.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 60820 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 1919d678-63da-410c-97fb-ddb04bf8a6a1) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:21 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:23 2024 -> Retrieving http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:23 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:23 2024 -> downloadFile: Download destination: ./clamav-6486f33fa8404f4f2f79520e07ec27db.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 60834 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 1919d678-63da-410c-97fb-ddb04bf8a6a1) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:23 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:25 2024 -> Retrieving http://localhost:8001/test-6.cdiff Fri Jun 28 10:46:25 2024 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Fri Jun 28 10:46:25 2024 -> downloadFile: Download destination: ./clamav-119df1d78c49b1a5eb2a9d5d4c369070.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 60836 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 1919d678-63da-410c-97fb-ddb04bf8a6a1) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:25 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * Closing connection Fri Jun 28 10:46:25 2024 -> Retrieving http://localhost:8001/test-6.cdiff Fri Jun 28 10:46:25 2024 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Fri Jun 28 10:46:25 2024 -> downloadFile: Download destination: ./clamav-9106e2d5bdedba71118f24cbb055b835.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 60852 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 1919d678-63da-410c-97fb-ddb04bf8a6a1) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:25 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * Closing connection Fri Jun 28 10:46:25 2024 -> Retrieving http://localhost:8001/test-6.cdiff Fri Jun 28 10:46:25 2024 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Fri Jun 28 10:46:25 2024 -> downloadFile: Download destination: ./clamav-0b59a5d93bab8ed1fd3c16a7c9d1c012.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 60856 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 1919d678-63da-410c-97fb-ddb04bf8a6a1) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:25 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * Closing connection Fri Jun 28 10:46:25 2024 -> Downloaded 2 patches for test, which is fewer than the 3 expected patches. Fri Jun 28 10:46:25 2024 -> We'll settle for this partial-update, at least for now. Fri Jun 28 10:46:25 2024 -> updatedb: Running g_cb_download_complete callback... Fri Jun 28 10:46:25 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.3779dfdde1/clamav-204696a6e931b84269faa6cee4c83662.tmp-test.cld Fri Jun 28 10:46:25 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Fri Jun 28 10:46:25 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Fri Jun 28 10:46:25 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.3779dfdde1/clamav-204696a6e931b84269faa6cee4c83662.tmp-test.cld' ... Fri Jun 28 10:46:25 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.3779dfdde1/clamav-204696a6e931b84269faa6cee4c83662.tmp-test.cld Fri Jun 28 10:46:26 2024 -> Properly loaded 13 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.3779dfdde1/clamav-204696a6e931b84269faa6cee4c83662.tmp-test.cld Fri Jun 28 10:46:27 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Fri Jun 28 10:46:20 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:46:25 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Fri Jun 28 10:46:25 2024 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Fri Jun 28 10:46:25 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Fri Jun 28 10:46:25 2024 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Fri Jun 28 10:46:25 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Fri Jun 28 10:46:25 2024 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Fri Jun 28 10:46:27 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Fri Jun 28 10:46:27 2024 -> Database test FAILED. ERROR: Fri Jun 28 10:46:27 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Fri Jun 28 10:46:27 2024 -> Database update process failed: Test failed ERROR: Fri Jun 28 10:46:27 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [28/Jun/2024 10:46:21] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [28/Jun/2024 10:46:21] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:23] "GET /test-5.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:25] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [28/Jun/2024 10:46:25] "GET /test-6.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [28/Jun/2024 10:46:25] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [28/Jun/2024 10:46:25] "GET /test-6.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [28/Jun/2024 10:46:25] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [28/Jun/2024 10:46:25] "GET /test-6.cdiff HTTP/1.1" 404 - _______ ERROR at teardown of TC.test_freshclam_07_cdiff_partial_minus_2 ________ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: > self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:267: in verify_log log_checker.verify_expected_log(log_file, expected=expected, order=order) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:868: in verify_expected_log for line_idx, chunk in read_log(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_log(): """Read log file in chunks.""" with open(filename, "r") as file_reader: prev_lines, lines = [], [] > for idx, line in enumerate(file_reader, 1): E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd in position 188: invalid continuation byte /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:859: UnicodeDecodeError During handling of the above exception, another exception occurred: self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:305: in verify_valgrind_log for line in log.readlines(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = input = b'where uninitialised values come from\n==10053== ERROR SUMMARY: 7 errors from 5 contexts (suppressed: 0 from 0)\n==10...\n==10037== by 0x486E4BD: UnknownInlinedFun (fcntl2.h:53)\n==10037== by 0x486E4BD: downloadPatch (libfreshclam_i' final = False > ??? E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd in position 188: invalid continuation byte :322: UnicodeDecodeError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam behavior with 2 missing cdiffs [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-4.cdiff Mock Server: Sending 945 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-5.cdiff Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-5.cdiff Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-5.cdiff [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:46:29 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:29 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:46:29 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:46:29 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:46:29 2024 -> Creating new freshclam.dat Fri Jun 28 10:46:29 2024 -> Saved freshclam.dat Fri Jun 28 10:46:29 2024 -> ClamAV update process started at Fri Jun 28 10:46:29 2024 Fri Jun 28 10:46:29 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:29 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Fri Jun 28 10:46:29 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59614 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 8d890b77-8341-4ca3-bbbe-e0800f423a50) Accept: */* If-Modified-Since: Wed, 23 Jun 2021 00:40:09 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:29 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:29 2024 -> OK Fri Jun 28 10:46:29 2024 -> test database version obtained using HTTP GET: 6 Fri Jun 28 10:46:29 2024 -> test database available for update (local version: 3, remote version: 6) Fri Jun 28 10:46:30 2024 -> Retrieving http://localhost:8001/test-4.cdiff Fri Jun 28 10:46:30 2024 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Fri Jun 28 10:46:30 2024 -> downloadFile: Download destination: ./clamav-ae3bbc0b5cb54c283d086755456371f0.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59624 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 8d890b77-8341-4ca3-bbbe-e0800f423a50) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:30 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:32 2024 -> Retrieving http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:32 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:32 2024 -> downloadFile: Download destination: ./clamav-3a6c7f2aa0ac346ad6d52f215cf2c89b.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59638 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 8d890b77-8341-4ca3-bbbe-e0800f423a50) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:32 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * Closing connection Fri Jun 28 10:46:32 2024 -> Retrieving http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:32 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:32 2024 -> downloadFile: Download destination: ./clamav-8f4a18ad2baf928b5f71008a386f4966.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59652 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 8d890b77-8341-4ca3-bbbe-e0800f423a50) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:32 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * Closing connection Fri Jun 28 10:46:32 2024 -> Retrieving http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:32 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:32 2024 -> downloadFile: Download destination: ./clamav-8eb3f4489e875904cbda6c968a63a199.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59666 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 8d890b77-8341-4ca3-bbbe-e0800f423a50) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:32 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * Closing connection Fri Jun 28 10:46:32 2024 -> Downloaded 1 patches for test, which is fewer than the 3 expected patches. Fri Jun 28 10:46:32 2024 -> We'll settle for this partial-update, at least for now. Fri Jun 28 10:46:32 2024 -> updatedb: Running g_cb_download_complete callback... Fri Jun 28 10:46:32 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.fcc5e877b7/clamav-ef27cb7a9add0682e87fad9266ee7947.tmp-test.cld Fri Jun 28 10:46:32 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Fri Jun 28 10:46:32 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Fri Jun 28 10:46:32 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.fcc5e877b7/clamav-ef27cb7a9add0682e87fad9266ee7947.tmp-test.cld' ... Fri Jun 28 10:46:32 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.fcc5e877b7/clamav-ef27cb7a9add0682e87fad9266ee7947.tmp-test.cld Fri Jun 28 10:46:33 2024 -> Properly loaded 12 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.fcc5e877b7/clamav-ef27cb7a9add0682e87fad9266ee7947.tmp-test.cld Fri Jun 28 10:46:33 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Fri Jun 28 10:46:29 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:46:32 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Fri Jun 28 10:46:32 2024 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Fri Jun 28 10:46:32 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Fri Jun 28 10:46:32 2024 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Fri Jun 28 10:46:32 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Fri Jun 28 10:46:32 2024 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Fri Jun 28 10:46:33 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Fri Jun 28 10:46:33 2024 -> Database test FAILED. ERROR: Fri Jun 28 10:46:33 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Fri Jun 28 10:46:33 2024 -> Database update process failed: Test failed ERROR: Fri Jun 28 10:46:33 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [28/Jun/2024 10:46:29] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [28/Jun/2024 10:46:30] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:32] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [28/Jun/2024 10:46:32] "GET /test-5.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [28/Jun/2024 10:46:32] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [28/Jun/2024 10:46:32] "GET /test-5.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [28/Jun/2024 10:46:32] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [28/Jun/2024 10:46:32] "GET /test-5.cdiff HTTP/1.1" 404 - ______ ERROR at teardown of TC.test_freshclam_07_no_cdiff_out_of_date_cvd ______ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: > self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:267: in verify_log log_checker.verify_expected_log(log_file, expected=expected, order=order) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:868: in verify_expected_log for line_idx, chunk in read_log(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_log(): """Read log file in chunks.""" with open(filename, "r") as file_reader: prev_lines, lines = [], [] > for idx, line in enumerate(file_reader, 1): E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd in position 188: invalid continuation byte /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:859: UnicodeDecodeError During handling of the above exception, another exception occurred: self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:305: in verify_valgrind_log for line in log.readlines(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = input = b'where uninitialised values come from\n==10082== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)\n==10...ibc.so.6)\n==10060== by 0x486E4BD: UnknownInlinedFun (fcntl2.h:53)\n==10060== by 0x486E4BD: downloadPatch (libfr' final = False > ??? E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd in position 188: invalid continuation byte :322: UnicodeDecodeError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam will properly handle an out-of-date CVD update after a zero-byte CDIFF [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-2.cdiff Mock Server: Sending 765 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-3.cdiff Mock Server: Sending 0 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test.cvd Mock Server: Sending 9818 bytes back to client. [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:46:35 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:35 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:46:35 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:46:35 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:46:36 2024 -> Creating new freshclam.dat Fri Jun 28 10:46:36 2024 -> Saved freshclam.dat Fri Jun 28 10:46:36 2024 -> ClamAV update process started at Fri Jun 28 10:46:36 2024 Fri Jun 28 10:46:36 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:36 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Fri Jun 28 10:46:36 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59670 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e7c1964b-4a5a-4f8e-b430-aa3c52dd22bb) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:36 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:36 2024 -> OK Fri Jun 28 10:46:36 2024 -> test database version obtained using HTTP GET: 6 Fri Jun 28 10:46:36 2024 -> test database available for update (local version: 1, remote version: 6) Fri Jun 28 10:46:36 2024 -> Retrieving http://localhost:8001/test-2.cdiff Fri Jun 28 10:46:36 2024 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Fri Jun 28 10:46:36 2024 -> downloadFile: Download destination: ./clamav-c0d45fa28ab73b5add4a9c56e8ffec50.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59676 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e7c1964b-4a5a-4f8e-b430-aa3c52dd22bb) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:36 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:38 2024 -> Retrieving http://localhost:8001/test-3.cdiff Fri Jun 28 10:46:38 2024 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Fri Jun 28 10:46:38 2024 -> downloadFile: Download destination: ./clamav-9cd043d199180432ebeecd6c8383a0d6.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59684 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e7c1964b-4a5a-4f8e-b430-aa3c52dd22bb) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:38 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:38 2024 -> Empty script test-3.cdiff, need to download entire database Fri Jun 28 10:46:38 2024 -> Empty CDIFF found. Skip incremental updates for this version and download test.cvd Fri Jun 28 10:46:38 2024 -> Retrieving http://localhost:8001/test.cvd Fri Jun 28 10:46:38 2024 -> downloadFile: Download source: http://localhost:8001/test.cvd Fri Jun 28 10:46:38 2024 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.ce6fc2a1a7/clamav-8fb01468456901591ee818b2aa8dfa5f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59692 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e7c1964b-4a5a-4f8e-b430-aa3c52dd22bb) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:38 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:40 2024 -> The test.cvd database downloaded from http://localhost:8001 is older than the version advertised in the DNS TXT record. Fri Jun 28 10:46:40 2024 -> updatedb: Running g_cb_download_complete callback... Fri Jun 28 10:46:40 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.ce6fc2a1a7/clamav-8fb01468456901591ee818b2aa8dfa5f.tmp-test.cvd Fri Jun 28 10:46:40 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Fri Jun 28 10:46:40 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Fri Jun 28 10:46:40 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.ce6fc2a1a7/clamav-8fb01468456901591ee818b2aa8dfa5f.tmp-test.cvd' ... Fri Jun 28 10:46:40 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.ce6fc2a1a7/clamav-8fb01468456901591ee818b2aa8dfa5f.tmp-test.cvd Fri Jun 28 10:46:41 2024 -> Properly loaded 13 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.ce6fc2a1a7/clamav-8fb01468456901591ee818b2aa8dfa5f.tmp-test.cvd Fri Jun 28 10:46:41 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Fri Jun 28 10:46:36 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:46:40 2024 -> Received an older test CVD than was advertised. Incremental updates either failed or are disabled, so we'll have to settle for a slightly out-of-date database. WARNING: Fri Jun 28 10:46:41 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Fri Jun 28 10:46:41 2024 -> Database test FAILED. ERROR: Fri Jun 28 10:46:41 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Fri Jun 28 10:46:41 2024 -> Database update process failed: Test failed ERROR: Fri Jun 28 10:46:41 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [28/Jun/2024 10:46:36] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [28/Jun/2024 10:46:36] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:38] "GET /test-3.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:38] "GET /test.cvd HTTP/1.1" 200 - _________ ERROR at teardown of TC.test_freshclam_08_cdiff_update_twice _________ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: > self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) testcase.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testcase.py:267: in verify_log log_checker.verify_expected_log(log_file, expected=expected, order=order) testcase.py:868: in verify_expected_log for line_idx, chunk in read_log(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_log(): """Read log file in chunks.""" with open(filename, "r") as file_reader: prev_lines, lines = [], [] > for idx, line in enumerate(file_reader, 1): E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd in position 2391: invalid continuation byte testcase.py:859: UnicodeDecodeError During handling of the above exception, another exception occurred: self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testcase.py:305: in verify_valgrind_log for line in log.readlines(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = input = b'algrind/../../bin/vgdb --pid=10107 ...command...\n==10107== \n==10107== TO DEBUG THIS PROCESS USING GDB: start GDB l...== \n{\n \n Memcheck:Cond\n fun:clone\n fun:clone\n fun:_' final = False > ??? E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd in position 2391: invalid continuation byte :322: UnicodeDecodeError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam can update from an older CVD to a newer with CDIFF patches, and then update from an older CLD to the latest with more CDIFF patches [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-2.cdiff Mock Server: Sending 765 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-3.cdiff Mock Server: Sending 1637 bytes back to client. [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:46:44 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:44 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:46:44 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:46:44 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:46:44 2024 -> Creating new freshclam.dat Fri Jun 28 10:46:44 2024 -> Saved freshclam.dat Fri Jun 28 10:46:44 2024 -> ClamAV update process started at Fri Jun 28 10:46:44 2024 Fri Jun 28 10:46:44 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:44 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Fri Jun 28 10:46:44 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 45240 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 20e036d4-9e55-4c03-baab-e3abbca4fc38) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:44 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:44 2024 -> OK Fri Jun 28 10:46:44 2024 -> test database version obtained using HTTP GET: 3 Fri Jun 28 10:46:44 2024 -> test database available for update (local version: 1, remote version: 3) Fri Jun 28 10:46:44 2024 -> Retrieving http://localhost:8001/test-2.cdiff Fri Jun 28 10:46:44 2024 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Fri Jun 28 10:46:44 2024 -> downloadFile: Download destination: ./clamav-2c7756943399307527bc9b834a9bf4ac.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 45248 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 20e036d4-9e55-4c03-baab-e3abbca4fc38) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:44 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:46 2024 -> Retrieving http://localhost:8001/test-3.cdiff Fri Jun 28 10:46:46 2024 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Fri Jun 28 10:46:46 2024 -> downloadFile: Download destination: ./clamav-82f4f2258b3e9897f97c46c374ce25d2.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 45252 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 20e036d4-9e55-4c03-baab-e3abbca4fc38) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:46 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:48 2024 -> updatedb: Running g_cb_download_complete callback... Fri Jun 28 10:46:48 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.036ffd3c09/clamav-edf6bf3186d7442379b1afcbfde2fc5f.tmp-test.cld Fri Jun 28 10:46:48 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Fri Jun 28 10:46:48 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Fri Jun 28 10:46:48 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.036ffd3c09/clamav-edf6bf3186d7442379b1afcbfde2fc5f.tmp-test.cld' ... Fri Jun 28 10:46:48 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.036ffd3c09/clamav-edf6bf3186d7442379b1afcbfde2fc5f.tmp-test.cld Fri Jun 28 10:46:50 2024 -> Properly loaded 11 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.036ffd3c09/clamav-edf6bf3186d7442379b1afcbfde2fc5f.tmp-test.cld Fri Jun 28 10:46:50 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Fri Jun 28 10:46:44 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:46:50 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Fri Jun 28 10:46:50 2024 -> Database test FAILED. ERROR: Fri Jun 28 10:46:50 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Fri Jun 28 10:46:50 2024 -> Database update process failed: Test failed ERROR: Fri Jun 28 10:46:50 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [28/Jun/2024 10:46:44] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [28/Jun/2024 10:46:44] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:46] "GET /test-3.cdiff HTTP/1.1" 200 - --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4 =================================== FAILURES =================================== _________________________ TC.test_freshclam_00_version _________________________ self = def test_freshclam_00_version(self): self.step_name('freshclam version test') if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} -V'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='ClamAV 1.0.6\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:95: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: freshclam version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf -V [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9984== Memcheck, a memory error detector [INFO]: ==9984== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9984== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9984== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf -V [INFO]: ==9984== Parent PID: 9981 [INFO]: ==9984== [INFO]: --9984-- [INFO]: --9984-- Valgrind options: [INFO]: --9984-- -v [INFO]: --9984-- --trace-children=yes [INFO]: --9984-- --track-fds=yes [INFO]: --9984-- --leak-check=full [INFO]: --9984-- --show-possibly-lost=no [INFO]: --9984-- --show-leak-kinds=definite [INFO]: --9984-- --errors-for-leak-kinds=definite [INFO]: --9984-- --main-stacksize=16777216 [INFO]: --9984-- --gen-suppressions=all [INFO]: --9984-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9984-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: --9984-- --error-exitcode=123 [INFO]: --9984-- Contents of /proc/version: [INFO]: --9984-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9984-- [INFO]: --9984-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9984-- Page sizes: currently 4096, max supported 4096 [INFO]: --9984-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9984-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9984-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9984-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9984-- might be shown as UnknownInlinedFun [INFO]: --9984-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9984-- object doesn't have a dynamic symbol table [INFO]: --9984-- Scheduler: using generic scheduler lock implementation. [INFO]: --9984-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9984-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9984== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9984-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9984== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9984-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9984== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9984-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9984== [INFO]: ==9984== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9984== don't want to do, unless you know exactly what you're doing, [INFO]: ==9984== or are doing some strange experiment): [INFO]: ==9984== /usr/libexec/valgrind/../../bin/vgdb --pid=9984 ...command... [INFO]: ==9984== [INFO]: ==9984== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9984== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9984== and then give GDB the following command [INFO]: ==9984== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9984 [INFO]: ==9984== --pid is optional if only one valgrind process is running [INFO]: ==9984== [INFO]: --9984-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9984-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9984-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9984-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9984-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9984-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9984-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9984-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9984-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9984-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9984-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9984-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9984-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9984-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9984-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9984-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9984-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9984-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9984-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9984-- Reading syms from /usr/lib64/libnghttp2.so.14.26.0 [INFO]: --9984-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9984-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9984-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9984-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9984-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9984-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9984-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9984-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9984-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9984-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9984-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9984-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9984-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9984-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9984-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9984-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9984-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9984-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9984-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9984-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9984-- REDIR: 0x51c5180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9984-- REDIR: 0x51c8590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9984-- REDIR: 0x51cf2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9984-- REDIR: 0x51cf020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9984== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9984== at 0x521E2A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9984== by 0x567B22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9984== by 0x555B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9984-- REDIR: 0x51c0580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9984-- REDIR: 0x523e360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9984-- REDIR: 0x51c0d70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9984-- REDIR: 0x51cf160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9984-- REDIR: 0x51cfaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9984-- REDIR: 0x51ccbf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9984-- REDIR: 0x51cf630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9984-- REDIR: 0x51cf220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: ==9984== [INFO]: ==9984== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9984== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: ==9984== [INFO]: ==9984== [INFO]: ==9984== (No origin, error cannot be suppressed) [INFO]: ==9984== [INFO]: ==9984== HEAP SUMMARY: [INFO]: ==9984== in use at exit: 0 bytes in 0 blocks [INFO]: ==9984== total heap usage: 143 allocs, 143 frees, 15,762 bytes allocated [INFO]: ==9984== [INFO]: ==9984== All heap blocks were freed -- no leaks are possible [INFO]: ==9984== [INFO]: ==9984== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ________________________ TC.test_freshclam_01_file_copy ________________________ self = def test_freshclam_01_file_copy(self): self.step_name('Basic freshclam test using file:// to "download" clamav.hdb') if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) # Select database files for test shutil.copy( str(TC.path_build / 'unit_tests' / 'input' / 'clamav.hdb'), str(TC.path_www), ) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseCustomURL file://{file_db} ExcludeDatabase daily ExcludeDatabase main ExcludeDatabase bytecode DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, file_db=TC.path_www / "clamav.hdb", port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Fri Jun 28 10:45:57 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:45:57 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database\nFri Jun 28 10:45:57 2024 -> It probably doesn't exist yet. That's ok.\nFri Jun 28 10:45:57 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nFri Jun 28 10:45:57 2024 -> Creating new freshclam.dat\nFri Jun 28 10:45:57 2024 -> Saved freshclam.dat\nFri Jun 28 10:45:57 2024 -> ClamAV update process started at Fri Jun 28 10:45:57 2024\nFri Jun 28 10:45:57 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:45:57 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:45:57 2024 -> Downloading clamav.hdb [100%]\nFri Jun 28 10:45:57 2024 -> updatecustomdb: Running g_cb_download_complete callback...\nFri Jun 28 10:45:57 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/cla... 28 10:45:57 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.d155d4eff8/clamav-9bfcf89477cb5b3e95e062b35049c7cc.tmp-clamav.hdb\nFri Jun 28 10:45:58 2024 -> Properly loaded 1 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.d155d4eff8/clamav-9bfcf89477cb5b3e95e062b35049c7cc.tmp-clamav.hdb\nFri Jun 28 10:45:58 2024 -> updatecustomdb: callback failed: Test failed (8)\nFri Jun 28 10:45:58 2024 -> Unexpected error when attempting to update from custom database URL: file:///builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/clamav.hdb\n", err='WARNING: Fri Jun 28 10:45:57 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Fri Jun 28 10:45:58 2024 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Fri Jun 28 10:45:58 2024 -> Database test FAILED.\nWARNING: Fri Jun 28 10:45:58 2024 -> fc_download_url_databases: fc_download_url_database failed: Test failed (8)\nERROR: Fri Jun 28 10:45:58 2024 -> Database update process failed: Test failed\nERROR: Fri Jun 28 10:45:58 2024 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:141: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Basic freshclam test using file:// to "download" clamav.hdb [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:45:57 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:45:57 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:45:57 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:45:57 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:45:57 2024 -> Creating new freshclam.dat Fri Jun 28 10:45:57 2024 -> Saved freshclam.dat Fri Jun 28 10:45:57 2024 -> ClamAV update process started at Fri Jun 28 10:45:57 2024 Fri Jun 28 10:45:57 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:45:57 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:45:57 2024 -> Downloading clamav.hdb [100%] Fri Jun 28 10:45:57 2024 -> updatecustomdb: Running g_cb_download_complete callback... Fri Jun 28 10:45:57 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.d155d4eff8/clamav-9bfcf89477cb5b3e95e062b35049c7cc.tmp-clamav.hdb Fri Jun 28 10:45:57 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Fri Jun 28 10:45:57 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Fri Jun 28 10:45:57 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.d155d4eff8/clamav-9bfcf89477cb5b3e95e062b35049c7cc.tmp-clamav.hdb' ... Fri Jun 28 10:45:57 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.d155d4eff8/clamav-9bfcf89477cb5b3e95e062b35049c7cc.tmp-clamav.hdb Fri Jun 28 10:45:58 2024 -> Properly loaded 1 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.d155d4eff8/clamav-9bfcf89477cb5b3e95e062b35049c7cc.tmp-clamav.hdb Fri Jun 28 10:45:58 2024 -> updatecustomdb: callback failed: Test failed (8) Fri Jun 28 10:45:58 2024 -> Unexpected error when attempting to update from custom database URL: file:///builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/clamav.hdb [DEBUG]: stderr: WARNING: Fri Jun 28 10:45:57 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:45:58 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Fri Jun 28 10:45:58 2024 -> Database test FAILED. WARNING: Fri Jun 28 10:45:58 2024 -> fc_download_url_databases: fc_download_url_database failed: Test failed (8) ERROR: Fri Jun 28 10:45:58 2024 -> Database update process failed: Test failed ERROR: Fri Jun 28 10:45:58 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9986== Memcheck, a memory error detector [INFO]: ==9986== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9986== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9986== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf [INFO]: ==9986== Parent PID: 9981 [INFO]: ==9986== [INFO]: --9986-- [INFO]: --9986-- Valgrind options: [INFO]: --9986-- -v [INFO]: --9986-- --trace-children=yes [INFO]: --9986-- --track-fds=yes [INFO]: --9986-- --leak-check=full [INFO]: --9986-- --show-possibly-lost=no [INFO]: --9986-- --show-leak-kinds=definite [INFO]: --9986-- --errors-for-leak-kinds=definite [INFO]: --9986-- --main-stacksize=16777216 [INFO]: --9986-- --gen-suppressions=all [INFO]: --9986-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9986-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: --9986-- --error-exitcode=123 [INFO]: --9986-- Contents of /proc/version: [INFO]: --9986-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9986-- [INFO]: --9986-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9986-- Page sizes: currently 4096, max supported 4096 [INFO]: --9986-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9986-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9986-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9986-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9986-- might be shown as UnknownInlinedFun [INFO]: --9986-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9986-- object doesn't have a dynamic symbol table [INFO]: --9986-- Scheduler: using generic scheduler lock implementation. [INFO]: --9986-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9986-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9986== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9986-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9986== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9986-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9986== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9986-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9986== [INFO]: ==9986== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9986== don't want to do, unless you know exactly what you're doing, [INFO]: ==9986== or are doing some strange experiment): [INFO]: ==9986== /usr/libexec/valgrind/../../bin/vgdb --pid=9986 ...command... [INFO]: ==9986== [INFO]: ==9986== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9986== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9986== and then give GDB the following command [INFO]: ==9986== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9986 [INFO]: ==9986== --pid is optional if only one valgrind process is running [INFO]: ==9986== [INFO]: --9986-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9986-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9986-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9986-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9986-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9986-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9986-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9986-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9986-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9986-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9986-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9986-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9986-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9986-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9986-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9986-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9986-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9986-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9986-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9986-- Reading syms from /usr/lib64/libnghttp2.so.14.26.0 [INFO]: --9986-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9986-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9986-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9986-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9986-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9986-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9986-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9986-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9986-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9986-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9986-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9986-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9986-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9986-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9986-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9986-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9986-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9986-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9986-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9986-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9986-- REDIR: 0x51c5180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9986-- REDIR: 0x51c8590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9986-- REDIR: 0x51cf2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9986-- REDIR: 0x51cf020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9986== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9986== at 0x521E2A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9986== by 0x567B22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9986== by 0x555B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9986-- REDIR: 0x51c0580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9986-- REDIR: 0x523e360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9986-- REDIR: 0x51c0d70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9986-- REDIR: 0x51cf160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9986-- REDIR: 0x51cfaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9986-- REDIR: 0x51ccbf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9986-- REDIR: 0x51cf630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9986-- REDIR: 0x51c1760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9986-- REDIR: 0x51c1010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9986-- REDIR: 0x51ccd30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9986-- REDIR: 0x51c51f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9986-- REDIR: 0x51ccdb0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9986-- REDIR: 0x51cf220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9986-- REDIR: 0x51ce770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9986-- REDIR: 0x51ce480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9986-- REDIR: 0x51ccb40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9986-- REDIR: 0x51c82d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: ==9989== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9989-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9989== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9989-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9989== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9989-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9989== [INFO]: ==9989== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9989== don't want to do, unless you know exactly what you're doing, [INFO]: ==9989== or are doing some strange experiment): [INFO]: ==9989== /usr/libexec/valgrind/../../bin/vgdb --pid=9989 ...command... [INFO]: ==9989== [INFO]: ==9989== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9989== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9989== and then give GDB the following command [INFO]: ==9989== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9989 [INFO]: ==9989== --pid is optional if only one valgrind process is running [INFO]: ==9989== [INFO]: ==9989== [INFO]: ==9989== FILE DESCRIPTORS: 5 open (3 std) at exit. [INFO]: ==9989== Open file descriptor 5: [INFO]: ==9989== at 0x52236BA: pipe (in /usr/lib64/libc.so.6) [INFO]: ==9989== by 0x10D5B7: download_complete_callback (freshclam.c:279) [INFO]: ==9989== by 0x4870E83: UnknownInlinedFun (libfreshclam_internal.c:2647) [INFO]: ==9989== by 0x4870E83: updatecustomdb (libfreshclam_internal.c:2525) [INFO]: ==9989== by 0x4870FE1: fc_download_url_database (libfreshclam.c:862) [INFO]: ==9989== by 0x48713BB: fc_download_url_databases (libfreshclam.c:983) [INFO]: ==9989== by 0x10E8EF: perform_database_update (freshclam.c:1536) [INFO]: ==9989== by 0x10BC0B: main (freshclam.c:1877) [INFO]: ==9989== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:pipe [INFO]: fun:download_complete_callback [INFO]: fun:UnknownInlinedFun [INFO]: fun:updatecustomdb [INFO]: fun:fc_download_url_database [INFO]: fun:fc_download_url_databases [INFO]: fun:perform_database_update [INFO]: fun:main [INFO]: } [INFO]: ==9989== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: ==9989== [INFO]: ==9989== [INFO]: ==9989== (No origin, error cannot be suppressed) [INFO]: ==9989== [INFO]: ==9989== HEAP SUMMARY: [INFO]: ==9989== in use at exit: 6,025 bytes in 145 blocks [INFO]: ==9989== total heap usage: 6,624 allocs, 6,479 frees, 975,346 bytes allocated [INFO]: ==9989== [INFO]: ==9989== Searching for pointers to 145 not-freed blocks [INFO]: ==9989== Checked 511,704 bytes [INFO]: ==9989== [INFO]: ==9989== LEAK SUMMARY: [INFO]: ==9989== definitely lost: 0 bytes in 0 blocks [INFO]: ==9989== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9989== possibly lost: 0 bytes in 0 blocks [INFO]: ==9989== still reachable: 6,025 bytes in 145 blocks [INFO]: ==9989== suppressed: 0 bytes in 0 blocks [INFO]: ==9989== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9989== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9989== [INFO]: ==9989== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) [INFO]: ==9986== [INFO]: ==9986== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9986== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: ==9986== [INFO]: ==9986== [INFO]: ==9986== (No origin, error cannot be suppressed) [INFO]: ==9986== [INFO]: ==9986== HEAP SUMMARY: [INFO]: ==9986== in use at exit: 0 bytes in 0 blocks [INFO]: ==9986== total heap usage: 6,607 allocs, 6,607 frees, 753,708 bytes allocated [INFO]: ==9986== [INFO]: ==9986== All heap blocks were freed -- no leaks are possible [INFO]: ==9986== [INFO]: ==9986== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ________________________ TC.test_freshclam_02_http_403 _________________________ self = def test_freshclam_02_http_403(self): self.step_name('Verify correct behavior when receiving 403 (forbidden)') # Start our mock database mirror. TC.mock_mirror = Process(target=mock_database_mirror, args=(WebServerHandler_02,)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=daily'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 17 # forbidden E assert 123 == 17 E + where 123 = CmdResult(ec=123, out='Fri Jun 28 10:46:00 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:46:00 2024 -> Can\'t open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database\nFri Jun 28 10:46:00 2024 -> It probably doesn\'t exist yet. That\'s ok.\nFri Jun 28 10:46:00 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nFri Jun 28 10:46:00 2024 -> Creating new freshclam.dat\nFri Jun 28 10:46:00 2024 -> Saved freshclam.dat\nFri Jun 28 10:46:00 2024 -> ClamAV update process started at Fri Jun 28 10:46:00 2024\nFri Jun 28 10:46:00 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:46:00 2024 -> check_for_new_database_version: No local copy of "daily" database.\nFri Jun 28 10:46:00 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 58880 failed: Connection refused\n* Trying 127.0.0.1:8001...\n* Con...ion by visiting https://www.clamav.net/downloads\nFri Jun 28 10:46:00 2024 -> 2. Your network is explicitly denied by the FreshClam CDN.\nFri Jun 28 10:46:00 2024 -> In order to rectify this please check that you are:\nFri Jun 28 10:46:00 2024 -> a. Running an up-to-date version of FreshClam\nFri Jun 28 10:46:00 2024 -> b. Running FreshClam no more than once an hour\nFri Jun 28 10:46:00 2024 -> c. If you have checked (a) and (b), please open a ticket at\nFri Jun 28 10:46:00 2024 -> https://github.com/Cisco-Talos/clamav/issues\nFri Jun 28 10:46:00 2024 -> and we will investigate why your network is blocked.\n', err="WARNING: Fri Jun 28 10:46:00 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Fri Jun 28 10:46:00 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd\nWARNING: Fri Jun 28 10:46:00 2024 -> FreshClam received error code 403 from the ClamAV Content Delivery Network (CDN).\nWARNING: Fri Jun 28 10:46:00 2024 -> You are on cool-down until after: 2024-06-29 10:46:00\nERROR: Fri Jun 28 10:46:00 2024 -> Database update process failed: Forbidden; Blocked by CDN\nERROR: Fri Jun 28 10:46:00 2024 -> Update failed.\n").ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:182: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify correct behavior when receiving 403 (forbidden) [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=daily Web server is running on port 8001 [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:46:00 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:00 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:46:00 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:46:00 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:46:00 2024 -> Creating new freshclam.dat Fri Jun 28 10:46:00 2024 -> Saved freshclam.dat Fri Jun 28 10:46:00 2024 -> ClamAV update process started at Fri Jun 28 10:46:00 2024 Fri Jun 28 10:46:00 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:00 2024 -> check_for_new_database_version: No local copy of "daily" database. Fri Jun 28 10:46:00 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 58880 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 5b48325c-efd2-4504-83ad-5ac39465a35c) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:00 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:00 2024 -> OK Fri Jun 28 10:46:00 2024 -> daily database version obtained using HTTP GET: 25934 Fri Jun 28 10:46:00 2024 -> daily database available for download (remote version: 25934) Fri Jun 28 10:46:00 2024 -> Retrieving http://localhost:8001/daily.cvd Fri Jun 28 10:46:00 2024 -> downloadFile: Download source: http://localhost:8001/daily.cvd Fri Jun 28 10:46:00 2024 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.f5689ed728/clamav-9152ef4b62406a1977c5b47c81cb73b7.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 58886 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 5b48325c-efd2-4504-83ad-5ac39465a35c) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 403 Forbidden < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:00 GMT < Content-type: text/html < * Closing connection Fri Jun 28 10:46:00 2024 -> Saved freshclam.dat Fri Jun 28 10:46:00 2024 -> This could mean several things: Fri Jun 28 10:46:00 2024 -> 1. You are running an out-of-date version of ClamAV / FreshClam. Fri Jun 28 10:46:00 2024 -> Ensure you are the most updated version by visiting https://www.clamav.net/downloads Fri Jun 28 10:46:00 2024 -> 2. Your network is explicitly denied by the FreshClam CDN. Fri Jun 28 10:46:00 2024 -> In order to rectify this please check that you are: Fri Jun 28 10:46:00 2024 -> a. Running an up-to-date version of FreshClam Fri Jun 28 10:46:00 2024 -> b. Running FreshClam no more than once an hour Fri Jun 28 10:46:00 2024 -> c. If you have checked (a) and (b), please open a ticket at Fri Jun 28 10:46:00 2024 -> https://github.com/Cisco-Talos/clamav/issues Fri Jun 28 10:46:00 2024 -> and we will investigate why your network is blocked. [DEBUG]: stderr: WARNING: Fri Jun 28 10:46:00 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:46:00 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd WARNING: Fri Jun 28 10:46:00 2024 -> FreshClam received error code 403 from the ClamAV Content Delivery Network (CDN). WARNING: Fri Jun 28 10:46:00 2024 -> You are on cool-down until after: 2024-06-29 10:46:00 ERROR: Fri Jun 28 10:46:00 2024 -> Database update process failed: Forbidden; Blocked by CDN ERROR: Fri Jun 28 10:46:00 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9992== Memcheck, a memory error detector [INFO]: ==9992== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9992== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9992== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=daily [INFO]: ==9992== Parent PID: 9981 [INFO]: ==9992== [INFO]: --9992-- [INFO]: --9992-- Valgrind options: [INFO]: --9992-- -v [INFO]: --9992-- --trace-children=yes [INFO]: --9992-- --track-fds=yes [INFO]: --9992-- --leak-check=full [INFO]: --9992-- --show-possibly-lost=no [INFO]: --9992-- --show-leak-kinds=definite [INFO]: --9992-- --errors-for-leak-kinds=definite [INFO]: --9992-- --main-stacksize=16777216 [INFO]: --9992-- --gen-suppressions=all [INFO]: --9992-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9992-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: --9992-- --error-exitcode=123 [INFO]: --9992-- Contents of /proc/version: [INFO]: --9992-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9992-- [INFO]: --9992-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9992-- Page sizes: currently 4096, max supported 4096 [INFO]: --9992-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9992-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9992-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9992-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9992-- might be shown as UnknownInlinedFun [INFO]: --9992-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9992-- object doesn't have a dynamic symbol table [INFO]: --9992-- Scheduler: using generic scheduler lock implementation. [INFO]: --9992-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9992-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9992== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9992-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9992== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9992-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9992== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9992-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9992== [INFO]: ==9992== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9992== don't want to do, unless you know exactly what you're doing, [INFO]: ==9992== or are doing some strange experiment): [INFO]: ==9992== /usr/libexec/valgrind/../../bin/vgdb --pid=9992 ...command... [INFO]: ==9992== [INFO]: ==9992== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9992== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9992== and then give GDB the following command [INFO]: ==9992== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9992 [INFO]: ==9992== --pid is optional if only one valgrind process is running [INFO]: ==9992== [INFO]: --9992-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9992-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9992-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9992-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9992-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9992-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9992-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9992-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9992-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9992-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9992-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9992-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9992-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9992-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9992-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9992-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9992-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9992-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9992-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9992-- Reading syms from /usr/lib64/libnghttp2.so.14.26.0 [INFO]: --9992-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9992-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9992-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9992-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9992-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9992-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9992-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9992-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9992-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9992-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9992-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9992-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9992-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9992-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9992-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9992-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9992-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9992-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9992-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9992-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9992-- REDIR: 0x51c5180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9992-- REDIR: 0x51c8590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9992-- REDIR: 0x51cf2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9992-- REDIR: 0x51cf020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9992== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9992== at 0x521E2A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9992== by 0x567B22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9992== by 0x555B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9992-- REDIR: 0x51c0580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9992-- REDIR: 0x523e360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9992-- REDIR: 0x51c0d70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9992-- REDIR: 0x51cf160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9992-- REDIR: 0x51cfaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9992-- REDIR: 0x51ccbf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9992-- REDIR: 0x51cf630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9992-- REDIR: 0x51c1760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9992-- REDIR: 0x51c1010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9992-- REDIR: 0x51ccd30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9992-- REDIR: 0x51c51f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9992-- REDIR: 0x51ccdb0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9992-- REDIR: 0x51cf220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9992-- REDIR: 0x51ce770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9992-- REDIR: 0x51ce480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9992-- REDIR: 0x51ccb40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9992-- REDIR: 0x51c82d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9992-- REDIR: 0x51cf880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9992-- REDIR: 0x523e380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9992== [INFO]: ==9992== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9992== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: ==9992== [INFO]: ==9992== [INFO]: ==9992== (No origin, error cannot be suppressed) [INFO]: ==9992== [INFO]: ==9992== HEAP SUMMARY: [INFO]: ==9992== in use at exit: 0 bytes in 0 blocks [INFO]: ==9992== total heap usage: 6,768 allocs, 6,768 frees, 776,697 bytes allocated [INFO]: ==9992== [INFO]: ==9992== All heap blocks were freed -- no leaks are possible [INFO]: ==9992== [INFO]: ==9992== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [28/Jun/2024 10:46:00] "GET /daily.cvd HTTP/1.1" 206 - 127.0.0.1 - - [28/Jun/2024 10:46:00] "GET /daily.cvd HTTP/1.1" 403 - ___________________ TC.test_freshclam_03_http_403_daemonized ___________________ self = def test_freshclam_03_http_403_daemonized(self): self.step_name('Verify correct behavior when receiving 403 (forbidden) and daemonized') # Start our mock database mirror. TC.mock_mirror = Process(target=mock_database_mirror, args=(WebServerHandler_02,)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=daily --daemon -F'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 17 # forbidden E assert 123 == 17 E + where 123 = CmdResult(ec=123, out='Fri Jun 28 10:46:02 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:46:02 2024 -> Can\'t open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database\nFri Jun 28 10:46:02 2024 -> It probably doesn\'t exist yet. That\'s ok.\nFri Jun 28 10:46:02 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nFri Jun 28 10:46:03 2024 -> Creating new freshclam.dat\nFri Jun 28 10:46:03 2024 -> Saved freshclam.dat\nFri Jun 28 10:46:03 2024 -> ClamAV update process started at Fri Jun 28 10:46:03 2024\nFri Jun 28 10:46:03 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:46:03 2024 -> check_for_new_database_version: No local copy of "daily" database.\nFri Jun 28 10:46:03 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 58896 failed: Connection refused\n* Trying 127.0.0.1:8001...\n* Con...ectify this please check that you are:\nFri Jun 28 10:46:03 2024 -> a. Running an up-to-date version of FreshClam\nFri Jun 28 10:46:03 2024 -> b. Running FreshClam no more than once an hour\nFri Jun 28 10:46:03 2024 -> c. If you have checked (a) and (b), please open a ticket at\nFri Jun 28 10:46:03 2024 -> https://github.com/Cisco-Talos/clamav/issues\nFri Jun 28 10:46:03 2024 -> and we will investigate why your network is blocked.\n', err="WARNING: Fri Jun 28 10:46:03 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Fri Jun 28 10:46:03 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd\nWARNING: Fri Jun 28 10:46:03 2024 -> FreshClam received error code 403 from the ClamAV Content Delivery Network (CDN).\nWARNING: Fri Jun 28 10:46:03 2024 -> You are on cool-down until after: 2024-06-29 10:46:03\nERROR: Fri Jun 28 10:46:03 2024 -> Database update process failed: Forbidden; Blocked by CDN\nERROR: Fri Jun 28 10:46:03 2024 -> Update failed.\nWARNING: Fri Jun 28 10:46:03 2024 -> FreshClam was forbidden from downloading a database.\nWARNING: Fri Jun 28 10:46:03 2024 -> This is fatal. Retrying later won't help. Exiting now.\n").ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:237: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify correct behavior when receiving 403 (forbidden) and daemonized [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=daily --daemon -F Web server is running on port 8001 [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:46:02 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:02 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:46:02 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:46:02 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:46:03 2024 -> Creating new freshclam.dat Fri Jun 28 10:46:03 2024 -> Saved freshclam.dat Fri Jun 28 10:46:03 2024 -> ClamAV update process started at Fri Jun 28 10:46:03 2024 Fri Jun 28 10:46:03 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:03 2024 -> check_for_new_database_version: No local copy of "daily" database. Fri Jun 28 10:46:03 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 58896 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 57624c9a-2e73-44fa-a3c0-b9d707770a44) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:03 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:03 2024 -> OK Fri Jun 28 10:46:03 2024 -> daily database version obtained using HTTP GET: 25934 Fri Jun 28 10:46:03 2024 -> daily database available for download (remote version: 25934) Fri Jun 28 10:46:03 2024 -> Retrieving http://localhost:8001/daily.cvd Fri Jun 28 10:46:03 2024 -> downloadFile: Download source: http://localhost:8001/daily.cvd Fri Jun 28 10:46:03 2024 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.489b0f7559/clamav-d7aaa5842007abdbe96a7ff8cf40742f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 58906 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 57624c9a-2e73-44fa-a3c0-b9d707770a44) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 403 Forbidden < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:03 GMT < Content-type: text/html < * Closing connection Fri Jun 28 10:46:03 2024 -> Saved freshclam.dat Fri Jun 28 10:46:03 2024 -> This could mean several things: Fri Jun 28 10:46:03 2024 -> 1. You are running an out-of-date version of ClamAV / FreshClam. Fri Jun 28 10:46:03 2024 -> Ensure you are the most updated version by visiting https://www.clamav.net/downloads Fri Jun 28 10:46:03 2024 -> 2. Your network is explicitly denied by the FreshClam CDN. Fri Jun 28 10:46:03 2024 -> In order to rectify this please check that you are: Fri Jun 28 10:46:03 2024 -> a. Running an up-to-date version of FreshClam Fri Jun 28 10:46:03 2024 -> b. Running FreshClam no more than once an hour Fri Jun 28 10:46:03 2024 -> c. If you have checked (a) and (b), please open a ticket at Fri Jun 28 10:46:03 2024 -> https://github.com/Cisco-Talos/clamav/issues Fri Jun 28 10:46:03 2024 -> and we will investigate why your network is blocked. [DEBUG]: stderr: WARNING: Fri Jun 28 10:46:03 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:46:03 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd WARNING: Fri Jun 28 10:46:03 2024 -> FreshClam received error code 403 from the ClamAV Content Delivery Network (CDN). WARNING: Fri Jun 28 10:46:03 2024 -> You are on cool-down until after: 2024-06-29 10:46:03 ERROR: Fri Jun 28 10:46:03 2024 -> Database update process failed: Forbidden; Blocked by CDN ERROR: Fri Jun 28 10:46:03 2024 -> Update failed. WARNING: Fri Jun 28 10:46:03 2024 -> FreshClam was forbidden from downloading a database. WARNING: Fri Jun 28 10:46:03 2024 -> This is fatal. Retrying later won't help. Exiting now. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9995== Memcheck, a memory error detector [INFO]: ==9995== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9995== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9995== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=daily --daemon -F [INFO]: ==9995== Parent PID: 9981 [INFO]: ==9995== [INFO]: --9995-- [INFO]: --9995-- Valgrind options: [INFO]: --9995-- -v [INFO]: --9995-- --trace-children=yes [INFO]: --9995-- --track-fds=yes [INFO]: --9995-- --leak-check=full [INFO]: --9995-- --show-possibly-lost=no [INFO]: --9995-- --show-leak-kinds=definite [INFO]: --9995-- --errors-for-leak-kinds=definite [INFO]: --9995-- --main-stacksize=16777216 [INFO]: --9995-- --gen-suppressions=all [INFO]: --9995-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9995-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: --9995-- --error-exitcode=123 [INFO]: --9995-- Contents of /proc/version: [INFO]: --9995-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9995-- [INFO]: --9995-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9995-- Page sizes: currently 4096, max supported 4096 [INFO]: --9995-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9995-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9995-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9995-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9995-- might be shown as UnknownInlinedFun [INFO]: --9995-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9995-- object doesn't have a dynamic symbol table [INFO]: --9995-- Scheduler: using generic scheduler lock implementation. [INFO]: --9995-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9995-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9995== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9995-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9995== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9995-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9995== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9995-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9995== [INFO]: ==9995== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9995== don't want to do, unless you know exactly what you're doing, [INFO]: ==9995== or are doing some strange experiment): [INFO]: ==9995== /usr/libexec/valgrind/../../bin/vgdb --pid=9995 ...command... [INFO]: ==9995== [INFO]: ==9995== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9995== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9995== and then give GDB the following command [INFO]: ==9995== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9995 [INFO]: ==9995== --pid is optional if only one valgrind process is running [INFO]: ==9995== [INFO]: --9995-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9995-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9995-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9995-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9995-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9995-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9995-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9995-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9995-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9995-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9995-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9995-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9995-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9995-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9995-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9995-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9995-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9995-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9995-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9995-- Reading syms from /usr/lib64/libnghttp2.so.14.26.0 [INFO]: --9995-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9995-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9995-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9995-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9995-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9995-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9995-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9995-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9995-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9995-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9995-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9995-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9995-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9995-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9995-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9995-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9995-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9995-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9995-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9995-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9995-- REDIR: 0x51c5180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9995-- REDIR: 0x51c8590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9995-- REDIR: 0x51cf2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9995-- REDIR: 0x51cf020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9995== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9995== at 0x521E2A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9995== by 0x567B22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9995== by 0x555B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9995-- REDIR: 0x51c0580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9995-- REDIR: 0x523e360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9995-- REDIR: 0x51c0d70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9995-- REDIR: 0x51cf160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9995-- REDIR: 0x51cfaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9995-- REDIR: 0x51ccbf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9995-- REDIR: 0x51cf630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9995-- REDIR: 0x51c1760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9995-- REDIR: 0x51c1010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9995-- REDIR: 0x51ccd30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9995-- REDIR: 0x51c51f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9995-- REDIR: 0x51ccdb0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9995-- REDIR: 0x51cf220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9995-- REDIR: 0x51ce770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9995-- REDIR: 0x51ce480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9995-- REDIR: 0x51ccb40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9995-- REDIR: 0x51c82d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9995-- REDIR: 0x51cf880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9995-- REDIR: 0x523e380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9995== [INFO]: ==9995== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9995== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: ==9995== [INFO]: ==9995== [INFO]: ==9995== (No origin, error cannot be suppressed) [INFO]: ==9995== [INFO]: ==9995== HEAP SUMMARY: [INFO]: ==9995== in use at exit: 0 bytes in 0 blocks [INFO]: ==9995== total heap usage: 6,772 allocs, 6,772 frees, 781,295 bytes allocated [INFO]: ==9995== [INFO]: ==9995== All heap blocks were freed -- no leaks are possible [INFO]: ==9995== [INFO]: ==9995== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [28/Jun/2024 10:46:03] "GET /daily.cvd HTTP/1.1" 206 - 127.0.0.1 - - [28/Jun/2024 10:46:03] "GET /daily.cvd HTTP/1.1" 403 - ________________________ TC.test_freshclam_04_http_429 _________________________ self = def test_freshclam_04_http_429(self): self.step_name('Verify correct behavior when receiving 429 (too-many-requests)') # Start our mock database mirror. TC.mock_mirror = Process(target=mock_database_mirror, args=(WebServerHandler_04,TC.mock_mirror_port)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=daily'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success E assert 123 == 0 E + where 123 = CmdResult(ec=123, out='Fri Jun 28 10:46:05 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:46:05 2024 -> Can\'t open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database\nFri Jun 28 10:46:05 2024 -> It probably doesn\'t exist yet. That\'s ok.\nFri Jun 28 10:46:05 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nFri Jun 28 10:46:05 2024 -> Creating new freshclam.dat\nFri Jun 28 10:46:05 2024 -> Saved freshclam.dat\nFri Jun 28 10:46:05 2024 -> ClamAV update process started at Fri Jun 28 10:46:05 2024\nFri Jun 28 10:46:05 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:46:05 2024 -> check_for_new_database_version: No local copy of "daily" database.\nFri Jun 28 10:46:05 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 58922 failed: Connection refused\n* Trying 127.0.0.1:8001...\n* Con...This means that you have been rate limited by the CDN.\nFri Jun 28 10:46:05 2024 -> 1. Run FreshClam no more than once an hour to check for updates.\nFri Jun 28 10:46:05 2024 -> FreshClam should check DNS first to see if an update is needed.\nFri Jun 28 10:46:05 2024 -> 2. If you have more than 10 hosts on your network attempting to download,\nFri Jun 28 10:46:05 2024 -> it is recommended that you set up a private mirror on your network using\nFri Jun 28 10:46:05 2024 -> cvdupdate (https://pypi.org/project/cvdupdate/) to save bandwidth on the\nFri Jun 28 10:46:05 2024 -> CDN and your own network.\nFri Jun 28 10:46:05 2024 -> 3. Please do not open a ticket asking for an exemption from the rate limit,\nFri Jun 28 10:46:05 2024 -> it will not be granted.\n', err="WARNING: Fri Jun 28 10:46:05 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Fri Jun 28 10:46:05 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd\nWARNING: Fri Jun 28 10:46:05 2024 -> FreshClam received error code 429 from the ClamAV Content Delivery Network (CDN).\nWARNING: Fri Jun 28 10:46:05 2024 -> You are on cool-down until after: 2024-06-28 10:47:05\n").ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:277: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify correct behavior when receiving 429 (too-many-requests) [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=daily Web server is running on port 8001 [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:46:05 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:05 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:46:05 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:46:05 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:46:05 2024 -> Creating new freshclam.dat Fri Jun 28 10:46:05 2024 -> Saved freshclam.dat Fri Jun 28 10:46:05 2024 -> ClamAV update process started at Fri Jun 28 10:46:05 2024 Fri Jun 28 10:46:05 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:05 2024 -> check_for_new_database_version: No local copy of "daily" database. Fri Jun 28 10:46:05 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 58922 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: dfcbfb9c-9921-4d84-8084-c88d3b0e3aa3) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:05 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:05 2024 -> OK Fri Jun 28 10:46:05 2024 -> daily database version obtained using HTTP GET: 25934 Fri Jun 28 10:46:05 2024 -> daily database available for download (remote version: 25934) Fri Jun 28 10:46:05 2024 -> Retrieving http://localhost:8001/daily.cvd Fri Jun 28 10:46:05 2024 -> downloadFile: Download source: http://localhost:8001/daily.cvd Fri Jun 28 10:46:05 2024 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.6f323a7d74/clamav-4223757b63f280089a8abbf350ee41de.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 58936 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: dfcbfb9c-9921-4d84-8084-c88d3b0e3aa3) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 429 Too Many Requests < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:05 GMT < Content-type: text/html < Retry-After: 60 < * Closing connection Fri Jun 28 10:46:05 2024 -> Saved freshclam.dat Fri Jun 28 10:46:05 2024 -> This means that you have been rate limited by the CDN. Fri Jun 28 10:46:05 2024 -> 1. Run FreshClam no more than once an hour to check for updates. Fri Jun 28 10:46:05 2024 -> FreshClam should check DNS first to see if an update is needed. Fri Jun 28 10:46:05 2024 -> 2. If you have more than 10 hosts on your network attempting to download, Fri Jun 28 10:46:05 2024 -> it is recommended that you set up a private mirror on your network using Fri Jun 28 10:46:05 2024 -> cvdupdate (https://pypi.org/project/cvdupdate/) to save bandwidth on the Fri Jun 28 10:46:05 2024 -> CDN and your own network. Fri Jun 28 10:46:05 2024 -> 3. Please do not open a ticket asking for an exemption from the rate limit, Fri Jun 28 10:46:05 2024 -> it will not be granted. [DEBUG]: stderr: WARNING: Fri Jun 28 10:46:05 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:46:05 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd WARNING: Fri Jun 28 10:46:05 2024 -> FreshClam received error code 429 from the ClamAV Content Delivery Network (CDN). WARNING: Fri Jun 28 10:46:05 2024 -> You are on cool-down until after: 2024-06-28 10:47:05 [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10000== Memcheck, a memory error detector [INFO]: ==10000== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10000== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10000== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=daily [INFO]: ==10000== Parent PID: 9981 [INFO]: ==10000== [INFO]: --10000-- [INFO]: --10000-- Valgrind options: [INFO]: --10000-- -v [INFO]: --10000-- --trace-children=yes [INFO]: --10000-- --track-fds=yes [INFO]: --10000-- --leak-check=full [INFO]: --10000-- --show-possibly-lost=no [INFO]: --10000-- --show-leak-kinds=definite [INFO]: --10000-- --errors-for-leak-kinds=definite [INFO]: --10000-- --main-stacksize=16777216 [INFO]: --10000-- --gen-suppressions=all [INFO]: --10000-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10000-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: --10000-- --error-exitcode=123 [INFO]: --10000-- Contents of /proc/version: [INFO]: --10000-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --10000-- [INFO]: --10000-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --10000-- Page sizes: currently 4096, max supported 4096 [INFO]: --10000-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10000-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --10000-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --10000-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10000-- might be shown as UnknownInlinedFun [INFO]: --10000-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --10000-- object doesn't have a dynamic symbol table [INFO]: --10000-- Scheduler: using generic scheduler lock implementation. [INFO]: --10000-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10000-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10000== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10000-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10000== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10000-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10000== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10000-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10000== [INFO]: ==10000== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10000== don't want to do, unless you know exactly what you're doing, [INFO]: ==10000== or are doing some strange experiment): [INFO]: ==10000== /usr/libexec/valgrind/../../bin/vgdb --pid=10000 ...command... [INFO]: ==10000== [INFO]: ==10000== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10000== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==10000== and then give GDB the following command [INFO]: ==10000== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10000 [INFO]: ==10000== --pid is optional if only one valgrind process is running [INFO]: ==10000== [INFO]: --10000-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --10000-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --10000-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --10000-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --10000-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --10000-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10000-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10000-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --10000-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --10000-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --10000-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10000-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10000-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10000-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10000-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10000-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --10000-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --10000-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10000-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --10000-- Reading syms from /usr/lib64/libnghttp2.so.14.26.0 [INFO]: --10000-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --10000-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --10000-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --10000-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --10000-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --10000-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --10000-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --10000-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10000-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --10000-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --10000-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --10000-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --10000-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --10000-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --10000-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --10000-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --10000-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --10000-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --10000-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --10000-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --10000-- REDIR: 0x51c5180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10000-- REDIR: 0x51c8590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10000-- REDIR: 0x51cf2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --10000-- REDIR: 0x51cf020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==10000== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==10000== at 0x521E2A0: close (in /usr/lib64/libc.so.6) [INFO]: ==10000== by 0x567B22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==10000== by 0x555B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --10000-- REDIR: 0x51c0580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --10000-- REDIR: 0x523e360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --10000-- REDIR: 0x51c0d70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --10000-- REDIR: 0x51cf160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --10000-- REDIR: 0x51cfaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --10000-- REDIR: 0x51ccbf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --10000-- REDIR: 0x51cf630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --10000-- REDIR: 0x51c1760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --10000-- REDIR: 0x51c1010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --10000-- REDIR: 0x51ccd30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --10000-- REDIR: 0x51c51f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --10000-- REDIR: 0x51ccdb0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --10000-- REDIR: 0x51cf220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --10000-- REDIR: 0x51ce770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --10000-- REDIR: 0x51ce480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --10000-- REDIR: 0x51ccb40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --10000-- REDIR: 0x51c82d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --10000-- REDIR: 0x51cf880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --10000-- REDIR: 0x523e380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==10000== [INFO]: ==10000== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10000== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log [INFO]: ==10000== [INFO]: ==10000== [INFO]: ==10000== (No origin, error cannot be suppressed) [INFO]: ==10000== [INFO]: ==10000== HEAP SUMMARY: [INFO]: ==10000== in use at exit: 0 bytes in 0 blocks [INFO]: ==10000== total heap usage: 6,766 allocs, 6,766 frees, 776,718 bytes allocated [INFO]: ==10000== [INFO]: ==10000== All heap blocks were freed -- no leaks are possible [INFO]: ==10000== [INFO]: ==10000== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [28/Jun/2024 10:46:05] "GET /daily.cvd HTTP/1.1" 206 - 127.0.0.1 - - [28/Jun/2024 10:46:05] "GET /daily.cvd HTTP/1.1" 429 - ______________________ TC.test_freshclam_05_cdiff_update _______________________ self = def test_freshclam_05_cdiff_update(self): self.step_name('Verify that freshclam can update from an older CVD to a newer with CDIFF patches') # start with this CVD shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-1.cvd'), str(TC.path_db / 'test.cvd')) # advertise this CVD (by sending the header response to Range requests) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cvd'), str(TC.path_www / 'test.cvd.advertised')) # using these CDIFFs shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-2.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-3.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-4.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-5.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cdiff'), str(TC.path_www)) handler = partial(WebServerHandler_WWW, TC.path_www) TC.mock_mirror = Process(target=mock_database_mirror, args=(handler, TC.mock_mirror_port)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=test'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Fri Jun 28 10:46:08 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:46:08 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database\nFri Jun 28 10:46:08 2024 -> It probably doesn't exist yet. That's ok.\nFri Jun 28 10:46:08 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nFri Jun 28 10:46:08 2024 -> Creating new freshclam.dat\nFri Jun 28 10:46:08 2024 -> Saved freshclam.dat\nFri Jun 28 10:46:08 2024 -> ClamAV update process started at Fri Jun 28 10:46:08 2024\nFri Jun 28 10:46:08 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:46:08 2024 -> check_for_new_database_version: Local copy of test found: test.cvd.\nFri Jun 28 10:46:08 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 58950 failed: Connection refused\n* Trying 127.0.0.1:8001...\n* Connec...led : 1\nFri Jun 28 10:46:16 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.1cb345bd92/clamav-a5e328561e7334f221615bfe7b021f8f.tmp-test.cld' ...\nFri Jun 28 10:46:16 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.1cb345bd92/clamav-a5e328561e7334f221615bfe7b021f8f.tmp-test.cld\nFri Jun 28 10:46:18 2024 -> Properly loaded 14 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.1cb345bd92/clamav-a5e328561e7334f221615bfe7b021f8f.tmp-test.cld\nFri Jun 28 10:46:18 2024 -> updatedb: callback failed: Test failed (8)\n", err='WARNING: Fri Jun 28 10:46:08 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Fri Jun 28 10:46:18 2024 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Fri Jun 28 10:46:18 2024 -> Database test FAILED.\nERROR: Fri Jun 28 10:46:18 2024 -> Unexpected error when attempting to update test: Test failed\nERROR: Fri Jun 28 10:46:18 2024 -> Database update process failed: Test failed\nERROR: Fri Jun 28 10:46:18 2024 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:330: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam can update from an older CVD to a newer with CDIFF patches [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-2.cdiff Mock Server: Sending 765 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-3.cdiff Mock Server: Sending 1637 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-4.cdiff Mock Server: Sending 945 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-5.cdiff Mock Server: Sending 993 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-6.cdiff Mock Server: Sending 973 bytes back to client. [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:46:08 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:08 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:46:08 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:46:08 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:46:08 2024 -> Creating new freshclam.dat Fri Jun 28 10:46:08 2024 -> Saved freshclam.dat Fri Jun 28 10:46:08 2024 -> ClamAV update process started at Fri Jun 28 10:46:08 2024 Fri Jun 28 10:46:08 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:08 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Fri Jun 28 10:46:08 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 58950 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e26cfe42-0973-4152-a0d3-5c12aa7432f9) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:08 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:08 2024 -> OK Fri Jun 28 10:46:08 2024 -> test database version obtained using HTTP GET: 6 Fri Jun 28 10:46:08 2024 -> test database available for update (local version: 1, remote version: 6) Fri Jun 28 10:46:08 2024 -> Retrieving http://localhost:8001/test-2.cdiff Fri Jun 28 10:46:08 2024 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Fri Jun 28 10:46:08 2024 -> downloadFile: Download destination: ./clamav-94b1c0b871089993fa4d3206814b2844.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37500 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e26cfe42-0973-4152-a0d3-5c12aa7432f9) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:08 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:10 2024 -> Retrieving http://localhost:8001/test-3.cdiff Fri Jun 28 10:46:10 2024 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Fri Jun 28 10:46:10 2024 -> downloadFile: Download destination: ./clamav-55a225c85dd8ad5442f973f8219496b1.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37512 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e26cfe42-0973-4152-a0d3-5c12aa7432f9) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:10 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:12 2024 -> Retrieving http://localhost:8001/test-4.cdiff Fri Jun 28 10:46:12 2024 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Fri Jun 28 10:46:12 2024 -> downloadFile: Download destination: ./clamav-c15c77c997c1475aaa29c57a7157c776.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37520 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e26cfe42-0973-4152-a0d3-5c12aa7432f9) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:12 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:13 2024 -> Retrieving http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:13 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:13 2024 -> downloadFile: Download destination: ./clamav-8cec617fc8036e36390c4a22981e69c4.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37524 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e26cfe42-0973-4152-a0d3-5c12aa7432f9) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:13 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:15 2024 -> Retrieving http://localhost:8001/test-6.cdiff Fri Jun 28 10:46:15 2024 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Fri Jun 28 10:46:15 2024 -> downloadFile: Download destination: ./clamav-fc7170bc86f0a7e05e6837e956399d7f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37528 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e26cfe42-0973-4152-a0d3-5c12aa7432f9) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:15 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:16 2024 -> updatedb: Running g_cb_download_complete callback... Fri Jun 28 10:46:16 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.1cb345bd92/clamav-a5e328561e7334f221615bfe7b021f8f.tmp-test.cld Fri Jun 28 10:46:16 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Fri Jun 28 10:46:16 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Fri Jun 28 10:46:16 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.1cb345bd92/clamav-a5e328561e7334f221615bfe7b021f8f.tmp-test.cld' ... Fri Jun 28 10:46:16 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.1cb345bd92/clamav-a5e328561e7334f221615bfe7b021f8f.tmp-test.cld Fri Jun 28 10:46:18 2024 -> Properly loaded 14 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.1cb345bd92/clamav-a5e328561e7334f221615bfe7b021f8f.tmp-test.cld Fri Jun 28 10:46:18 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Fri Jun 28 10:46:08 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:46:18 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Fri Jun 28 10:46:18 2024 -> Database test FAILED. ERROR: Fri Jun 28 10:46:18 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Fri Jun 28 10:46:18 2024 -> Database update process failed: Test failed ERROR: Fri Jun 28 10:46:18 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [28/Jun/2024 10:46:08] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [28/Jun/2024 10:46:08] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:10] "GET /test-3.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:12] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:13] "GET /test-5.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:15] "GET /test-6.cdiff HTTP/1.1" 200 - __________________ TC.test_freshclam_06_cdiff_partial_minus_1 __________________ self = def test_freshclam_06_cdiff_partial_minus_1(self): self.step_name('Verify that freshclam will accept a partial update with 1 missing cdiff') # start with this CVD shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-3.cvd'), str(TC.path_db / 'test.cvd')) # advertise this CVD (by sending the header response to Range requests) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cvd'), str(TC.path_www / 'test.cvd.advertised')) # using these CDIFFs shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-4.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-5.cdiff'), str(TC.path_www)) #shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cdiff'), str(TC.path_www)) # <-- don't give them the last CDIFF handler = partial(WebServerHandler_WWW, TC.path_www) TC.mock_mirror = Process(target=mock_database_mirror, args=(handler, TC.mock_mirror_port)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=test'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Fri Jun 28 10:46:20 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:46:20 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database\nFri Jun 28 10:46:20 2024 -> It probably doesn't exist yet. That's ok.\nFri Jun 28 10:46:20 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nFri Jun 28 10:46:20 2024 -> Creating new freshclam.dat\nFri Jun 28 10:46:20 2024 -> Saved freshclam.dat\nFri Jun 28 10:46:20 2024 -> ClamAV update process started at Fri Jun 28 10:46:20 2024\nFri Jun 28 10:46:20 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:46:20 2024 -> check_for_new_database_version: Local copy of test found: test.cvd.\nFri Jun 28 10:46:20 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 60806 failed: Connection refused\n* Trying 127.0.0.1:8001...\n* Connec...db: callback failed: Test failed (8)\n", err='WARNING: Fri Jun 28 10:46:20 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Fri Jun 28 10:46:25 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff\nWARNING: Fri Jun 28 10:46:25 2024 -> downloadPatch: Can\'t download test-6.cdiff from http://localhost:8001/test-6.cdiff\nWARNING: Fri Jun 28 10:46:25 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff\nWARNING: Fri Jun 28 10:46:25 2024 -> downloadPatch: Can\'t download test-6.cdiff from http://localhost:8001/test-6.cdiff\nWARNING: Fri Jun 28 10:46:25 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff\nWARNING: Fri Jun 28 10:46:25 2024 -> downloadPatch: Can\'t download test-6.cdiff from http://localhost:8001/test-6.cdiff\nWARNING: Fri Jun 28 10:46:27 2024 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Fri Jun 28 10:46:27 2024 -> Database test FAILED.\nERROR: Fri Jun 28 10:46:27 2024 -> Unexpected error when attempting to update test: Test failed\nERROR: Fri Jun 28 10:46:27 2024 -> Database update process failed: Test failed\nERROR: Fri Jun 28 10:46:27 2024 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:448: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam will accept a partial update with 1 missing cdiff [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-4.cdiff Mock Server: Sending 945 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-5.cdiff Mock Server: Sending 993 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-6.cdiff Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-6.cdiff Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-6.cdiff [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:46:20 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:20 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:46:20 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:46:20 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:46:20 2024 -> Creating new freshclam.dat Fri Jun 28 10:46:20 2024 -> Saved freshclam.dat Fri Jun 28 10:46:20 2024 -> ClamAV update process started at Fri Jun 28 10:46:20 2024 Fri Jun 28 10:46:20 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:20 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Fri Jun 28 10:46:20 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 60806 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 1919d678-63da-410c-97fb-ddb04bf8a6a1) Accept: */* If-Modified-Since: Wed, 23 Jun 2021 00:40:09 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:21 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:21 2024 -> OK Fri Jun 28 10:46:21 2024 -> test database version obtained using HTTP GET: 6 Fri Jun 28 10:46:21 2024 -> test database available for update (local version: 3, remote version: 6) Fri Jun 28 10:46:21 2024 -> Retrieving http://localhost:8001/test-4.cdiff Fri Jun 28 10:46:21 2024 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Fri Jun 28 10:46:21 2024 -> downloadFile: Download destination: ./clamav-485abe47a08909469413fe50c90bfa4c.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 60820 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 1919d678-63da-410c-97fb-ddb04bf8a6a1) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:21 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:23 2024 -> Retrieving http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:23 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:23 2024 -> downloadFile: Download destination: ./clamav-6486f33fa8404f4f2f79520e07ec27db.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 60834 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 1919d678-63da-410c-97fb-ddb04bf8a6a1) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:23 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:25 2024 -> Retrieving http://localhost:8001/test-6.cdiff Fri Jun 28 10:46:25 2024 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Fri Jun 28 10:46:25 2024 -> downloadFile: Download destination: ./clamav-119df1d78c49b1a5eb2a9d5d4c369070.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 60836 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 1919d678-63da-410c-97fb-ddb04bf8a6a1) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:25 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * Closing connection Fri Jun 28 10:46:25 2024 -> Retrieving http://localhost:8001/test-6.cdiff Fri Jun 28 10:46:25 2024 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Fri Jun 28 10:46:25 2024 -> downloadFile: Download destination: ./clamav-9106e2d5bdedba71118f24cbb055b835.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 60852 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 1919d678-63da-410c-97fb-ddb04bf8a6a1) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:25 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * Closing connection Fri Jun 28 10:46:25 2024 -> Retrieving http://localhost:8001/test-6.cdiff Fri Jun 28 10:46:25 2024 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Fri Jun 28 10:46:25 2024 -> downloadFile: Download destination: ./clamav-0b59a5d93bab8ed1fd3c16a7c9d1c012.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 60856 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 1919d678-63da-410c-97fb-ddb04bf8a6a1) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:25 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * Closing connection Fri Jun 28 10:46:25 2024 -> Downloaded 2 patches for test, which is fewer than the 3 expected patches. Fri Jun 28 10:46:25 2024 -> We'll settle for this partial-update, at least for now. Fri Jun 28 10:46:25 2024 -> updatedb: Running g_cb_download_complete callback... Fri Jun 28 10:46:25 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.3779dfdde1/clamav-204696a6e931b84269faa6cee4c83662.tmp-test.cld Fri Jun 28 10:46:25 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Fri Jun 28 10:46:25 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Fri Jun 28 10:46:25 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.3779dfdde1/clamav-204696a6e931b84269faa6cee4c83662.tmp-test.cld' ... Fri Jun 28 10:46:25 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.3779dfdde1/clamav-204696a6e931b84269faa6cee4c83662.tmp-test.cld Fri Jun 28 10:46:26 2024 -> Properly loaded 13 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.3779dfdde1/clamav-204696a6e931b84269faa6cee4c83662.tmp-test.cld Fri Jun 28 10:46:27 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Fri Jun 28 10:46:20 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:46:25 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Fri Jun 28 10:46:25 2024 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Fri Jun 28 10:46:25 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Fri Jun 28 10:46:25 2024 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Fri Jun 28 10:46:25 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Fri Jun 28 10:46:25 2024 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Fri Jun 28 10:46:27 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Fri Jun 28 10:46:27 2024 -> Database test FAILED. ERROR: Fri Jun 28 10:46:27 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Fri Jun 28 10:46:27 2024 -> Database update process failed: Test failed ERROR: Fri Jun 28 10:46:27 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [28/Jun/2024 10:46:21] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [28/Jun/2024 10:46:21] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:23] "GET /test-5.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:25] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [28/Jun/2024 10:46:25] "GET /test-6.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [28/Jun/2024 10:46:25] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [28/Jun/2024 10:46:25] "GET /test-6.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [28/Jun/2024 10:46:25] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [28/Jun/2024 10:46:25] "GET /test-6.cdiff HTTP/1.1" 404 - __________________ TC.test_freshclam_07_cdiff_partial_minus_2 __________________ self = def test_freshclam_07_cdiff_partial_minus_2(self): self.step_name('Verify that freshclam behavior with 2 missing cdiffs') # start with this CVD shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-3.cvd'), str(TC.path_db / 'test.cvd')) # advertise this CVD (by sending the header response to Range requests) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cvd'), str(TC.path_www / 'test.cvd.advertised')) # serve this CVD when requested instead of the advertised one shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cvd'), str(TC.path_www / 'test.cvd.served')) # using these CDIFFs shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-4.cdiff'), str(TC.path_www)) # shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-5.cdiff'), str(TC.path_www)) <--- dont' give them the second to last, either! # shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cdiff'), str(TC.path_www)) <--- don't give them the last CDIFF handler = partial(WebServerHandler_WWW, TC.path_www) TC.mock_mirror = Process(target=mock_database_mirror, args=(handler, TC.mock_mirror_port)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=test'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Fri Jun 28 10:46:29 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:46:29 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database\nFri Jun 28 10:46:29 2024 -> It probably doesn't exist yet. That's ok.\nFri Jun 28 10:46:29 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nFri Jun 28 10:46:29 2024 -> Creating new freshclam.dat\nFri Jun 28 10:46:29 2024 -> Saved freshclam.dat\nFri Jun 28 10:46:29 2024 -> ClamAV update process started at Fri Jun 28 10:46:29 2024\nFri Jun 28 10:46:29 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:46:29 2024 -> check_for_new_database_version: Local copy of test found: test.cvd.\nFri Jun 28 10:46:29 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 59614 failed: Connection refused\n* Trying 127.0.0.1:8001...\n* Connec...db: callback failed: Test failed (8)\n", err='WARNING: Fri Jun 28 10:46:29 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Fri Jun 28 10:46:32 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff\nWARNING: Fri Jun 28 10:46:32 2024 -> downloadPatch: Can\'t download test-5.cdiff from http://localhost:8001/test-5.cdiff\nWARNING: Fri Jun 28 10:46:32 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff\nWARNING: Fri Jun 28 10:46:32 2024 -> downloadPatch: Can\'t download test-5.cdiff from http://localhost:8001/test-5.cdiff\nWARNING: Fri Jun 28 10:46:32 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff\nWARNING: Fri Jun 28 10:46:32 2024 -> downloadPatch: Can\'t download test-5.cdiff from http://localhost:8001/test-5.cdiff\nWARNING: Fri Jun 28 10:46:33 2024 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Fri Jun 28 10:46:33 2024 -> Database test FAILED.\nERROR: Fri Jun 28 10:46:33 2024 -> Unexpected error when attempting to update test: Test failed\nERROR: Fri Jun 28 10:46:33 2024 -> Database update process failed: Test failed\nERROR: Fri Jun 28 10:46:33 2024 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:534: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam behavior with 2 missing cdiffs [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-4.cdiff Mock Server: Sending 945 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-5.cdiff Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-5.cdiff Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-5.cdiff [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:46:29 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:29 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:46:29 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:46:29 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:46:29 2024 -> Creating new freshclam.dat Fri Jun 28 10:46:29 2024 -> Saved freshclam.dat Fri Jun 28 10:46:29 2024 -> ClamAV update process started at Fri Jun 28 10:46:29 2024 Fri Jun 28 10:46:29 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:29 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Fri Jun 28 10:46:29 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59614 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 8d890b77-8341-4ca3-bbbe-e0800f423a50) Accept: */* If-Modified-Since: Wed, 23 Jun 2021 00:40:09 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:29 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:29 2024 -> OK Fri Jun 28 10:46:29 2024 -> test database version obtained using HTTP GET: 6 Fri Jun 28 10:46:29 2024 -> test database available for update (local version: 3, remote version: 6) Fri Jun 28 10:46:30 2024 -> Retrieving http://localhost:8001/test-4.cdiff Fri Jun 28 10:46:30 2024 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Fri Jun 28 10:46:30 2024 -> downloadFile: Download destination: ./clamav-ae3bbc0b5cb54c283d086755456371f0.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59624 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 8d890b77-8341-4ca3-bbbe-e0800f423a50) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:30 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:32 2024 -> Retrieving http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:32 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:32 2024 -> downloadFile: Download destination: ./clamav-3a6c7f2aa0ac346ad6d52f215cf2c89b.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59638 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 8d890b77-8341-4ca3-bbbe-e0800f423a50) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:32 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * Closing connection Fri Jun 28 10:46:32 2024 -> Retrieving http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:32 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:32 2024 -> downloadFile: Download destination: ./clamav-8f4a18ad2baf928b5f71008a386f4966.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59652 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 8d890b77-8341-4ca3-bbbe-e0800f423a50) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:32 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * Closing connection Fri Jun 28 10:46:32 2024 -> Retrieving http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:32 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Fri Jun 28 10:46:32 2024 -> downloadFile: Download destination: ./clamav-8eb3f4489e875904cbda6c968a63a199.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59666 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 8d890b77-8341-4ca3-bbbe-e0800f423a50) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:32 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * Closing connection Fri Jun 28 10:46:32 2024 -> Downloaded 1 patches for test, which is fewer than the 3 expected patches. Fri Jun 28 10:46:32 2024 -> We'll settle for this partial-update, at least for now. Fri Jun 28 10:46:32 2024 -> updatedb: Running g_cb_download_complete callback... Fri Jun 28 10:46:32 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.fcc5e877b7/clamav-ef27cb7a9add0682e87fad9266ee7947.tmp-test.cld Fri Jun 28 10:46:32 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Fri Jun 28 10:46:32 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Fri Jun 28 10:46:32 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.fcc5e877b7/clamav-ef27cb7a9add0682e87fad9266ee7947.tmp-test.cld' ... Fri Jun 28 10:46:32 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.fcc5e877b7/clamav-ef27cb7a9add0682e87fad9266ee7947.tmp-test.cld Fri Jun 28 10:46:33 2024 -> Properly loaded 12 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.fcc5e877b7/clamav-ef27cb7a9add0682e87fad9266ee7947.tmp-test.cld Fri Jun 28 10:46:33 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Fri Jun 28 10:46:29 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:46:32 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Fri Jun 28 10:46:32 2024 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Fri Jun 28 10:46:32 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Fri Jun 28 10:46:32 2024 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Fri Jun 28 10:46:32 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Fri Jun 28 10:46:32 2024 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Fri Jun 28 10:46:33 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Fri Jun 28 10:46:33 2024 -> Database test FAILED. ERROR: Fri Jun 28 10:46:33 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Fri Jun 28 10:46:33 2024 -> Database update process failed: Test failed ERROR: Fri Jun 28 10:46:33 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [28/Jun/2024 10:46:29] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [28/Jun/2024 10:46:30] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:32] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [28/Jun/2024 10:46:32] "GET /test-5.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [28/Jun/2024 10:46:32] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [28/Jun/2024 10:46:32] "GET /test-5.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [28/Jun/2024 10:46:32] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [28/Jun/2024 10:46:32] "GET /test-5.cdiff HTTP/1.1" 404 - ________________ TC.test_freshclam_07_no_cdiff_out_of_date_cvd _________________ self = def test_freshclam_07_no_cdiff_out_of_date_cvd(self): self.step_name('Verify that freshclam will properly handle an out-of-date CVD update after a zero-byte CDIFF') # start with CVD 1 shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-1.cvd'), str(TC.path_db / 'test.cvd')) # advertise CVD 6 (by sending the header response to Range requests) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cvd'), str(TC.path_www / 'test.cvd.advertised')) # Serve the patches 2. shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-2.cdiff'), str(TC.path_www)) # Serve a zero-byte file instead of test-3.cdiff. This should trigger a whole CVD download. with (TC.path_www / 'test-3.cdiff').open('w') as fp: pass # Serve CVD 5 when test.cvd is requested instead of 6 (the advertised one). This should trigger an incremental update, starting a test-4.cvd + patches 5-6. shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-5.cvd'), str(TC.path_www / 'test.cvd.served')) # Serve the patches 5 - 6. Patch 4 should never be requested. shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-5.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cdiff'), str(TC.path_www)) handler = partial(WebServerHandler_WWW, TC.path_www) TC.mock_mirror = Process(target=mock_database_mirror, args=(handler, TC.mock_mirror_port)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) # # 1st attempt # command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=test'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Fri Jun 28 10:46:35 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:46:35 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database\nFri Jun 28 10:46:35 2024 -> It probably doesn't exist yet. That's ok.\nFri Jun 28 10:46:35 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nFri Jun 28 10:46:36 2024 -> Creating new freshclam.dat\nFri Jun 28 10:46:36 2024 -> Saved freshclam.dat\nFri Jun 28 10:46:36 2024 -> ClamAV update process started at Fri Jun 28 10:46:36 2024\nFri Jun 28 10:46:36 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:46:36 2024 -> check_for_new_database_version: Local copy of test found: test.cvd.\nFri Jun 28 10:46:36 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 59670 failed: Connection refused\n* Trying 127.0.0.1:8001...\n* Connec...p-test.cvd' ...\nFri Jun 28 10:46:40 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.ce6fc2a1a7/clamav-8fb01468456901591ee818b2aa8dfa5f.tmp-test.cvd\nFri Jun 28 10:46:41 2024 -> Properly loaded 13 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.ce6fc2a1a7/clamav-8fb01468456901591ee818b2aa8dfa5f.tmp-test.cvd\nFri Jun 28 10:46:41 2024 -> updatedb: callback failed: Test failed (8)\n", err='WARNING: Fri Jun 28 10:46:36 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Fri Jun 28 10:46:40 2024 -> Received an older test CVD than was advertised. Incremental updates either failed or are disabled, so we\'ll have to settle for a slightly out-of-date database.\nWARNING: Fri Jun 28 10:46:41 2024 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Fri Jun 28 10:46:41 2024 -> Database test FAILED.\nERROR: Fri Jun 28 10:46:41 2024 -> Unexpected error when attempting to update test: Test failed\nERROR: Fri Jun 28 10:46:41 2024 -> Database update process failed: Test failed\nERROR: Fri Jun 28 10:46:41 2024 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:625: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam will properly handle an out-of-date CVD update after a zero-byte CDIFF [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-2.cdiff Mock Server: Sending 765 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-3.cdiff Mock Server: Sending 0 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test.cvd Mock Server: Sending 9818 bytes back to client. [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:46:35 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:35 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:46:35 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:46:35 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:46:36 2024 -> Creating new freshclam.dat Fri Jun 28 10:46:36 2024 -> Saved freshclam.dat Fri Jun 28 10:46:36 2024 -> ClamAV update process started at Fri Jun 28 10:46:36 2024 Fri Jun 28 10:46:36 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:36 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Fri Jun 28 10:46:36 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59670 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e7c1964b-4a5a-4f8e-b430-aa3c52dd22bb) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:36 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:36 2024 -> OK Fri Jun 28 10:46:36 2024 -> test database version obtained using HTTP GET: 6 Fri Jun 28 10:46:36 2024 -> test database available for update (local version: 1, remote version: 6) Fri Jun 28 10:46:36 2024 -> Retrieving http://localhost:8001/test-2.cdiff Fri Jun 28 10:46:36 2024 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Fri Jun 28 10:46:36 2024 -> downloadFile: Download destination: ./clamav-c0d45fa28ab73b5add4a9c56e8ffec50.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59676 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e7c1964b-4a5a-4f8e-b430-aa3c52dd22bb) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:36 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:38 2024 -> Retrieving http://localhost:8001/test-3.cdiff Fri Jun 28 10:46:38 2024 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Fri Jun 28 10:46:38 2024 -> downloadFile: Download destination: ./clamav-9cd043d199180432ebeecd6c8383a0d6.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59684 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e7c1964b-4a5a-4f8e-b430-aa3c52dd22bb) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:38 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:38 2024 -> Empty script test-3.cdiff, need to download entire database Fri Jun 28 10:46:38 2024 -> Empty CDIFF found. Skip incremental updates for this version and download test.cvd Fri Jun 28 10:46:38 2024 -> Retrieving http://localhost:8001/test.cvd Fri Jun 28 10:46:38 2024 -> downloadFile: Download source: http://localhost:8001/test.cvd Fri Jun 28 10:46:38 2024 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.ce6fc2a1a7/clamav-8fb01468456901591ee818b2aa8dfa5f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59692 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: e7c1964b-4a5a-4f8e-b430-aa3c52dd22bb) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:38 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:40 2024 -> The test.cvd database downloaded from http://localhost:8001 is older than the version advertised in the DNS TXT record. Fri Jun 28 10:46:40 2024 -> updatedb: Running g_cb_download_complete callback... Fri Jun 28 10:46:40 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.ce6fc2a1a7/clamav-8fb01468456901591ee818b2aa8dfa5f.tmp-test.cvd Fri Jun 28 10:46:40 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Fri Jun 28 10:46:40 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Fri Jun 28 10:46:40 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.ce6fc2a1a7/clamav-8fb01468456901591ee818b2aa8dfa5f.tmp-test.cvd' ... Fri Jun 28 10:46:40 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.ce6fc2a1a7/clamav-8fb01468456901591ee818b2aa8dfa5f.tmp-test.cvd Fri Jun 28 10:46:41 2024 -> Properly loaded 13 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.ce6fc2a1a7/clamav-8fb01468456901591ee818b2aa8dfa5f.tmp-test.cvd Fri Jun 28 10:46:41 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Fri Jun 28 10:46:36 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:46:40 2024 -> Received an older test CVD than was advertised. Incremental updates either failed or are disabled, so we'll have to settle for a slightly out-of-date database. WARNING: Fri Jun 28 10:46:41 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Fri Jun 28 10:46:41 2024 -> Database test FAILED. ERROR: Fri Jun 28 10:46:41 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Fri Jun 28 10:46:41 2024 -> Database update process failed: Test failed ERROR: Fri Jun 28 10:46:41 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [28/Jun/2024 10:46:36] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [28/Jun/2024 10:46:36] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:38] "GET /test-3.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:38] "GET /test.cvd HTTP/1.1" 200 - ___________________ TC.test_freshclam_08_cdiff_update_twice ____________________ self = def test_freshclam_08_cdiff_update_twice(self): self.step_name('Verify that freshclam can update from an older CVD to a newer with CDIFF patches, and then update from an older CLD to the latest with more CDIFF patches') # start with this CVD shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-1.cvd'), str(TC.path_db / 'test.cvd')) # advertise this CVD FIRST (by sending the header response to Range requests) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-3.cvd'), str(TC.path_www / 'test.cvd.advertised')) # using these CDIFFs shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-2.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-3.cdiff'), str(TC.path_www)) handler = partial(WebServerHandler_WWW, TC.path_www) TC.mock_mirror = Process(target=mock_database_mirror, args=(handler, TC.mock_mirror_port)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) # # Now run the update for the first set up updates. # command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=test'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Fri Jun 28 10:46:44 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:46:44 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database\nFri Jun 28 10:46:44 2024 -> It probably doesn't exist yet. That's ok.\nFri Jun 28 10:46:44 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nFri Jun 28 10:46:44 2024 -> Creating new freshclam.dat\nFri Jun 28 10:46:44 2024 -> Saved freshclam.dat\nFri Jun 28 10:46:44 2024 -> ClamAV update process started at Fri Jun 28 10:46:44 2024\nFri Jun 28 10:46:44 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/\nFri Jun 28 10:46:44 2024 -> check_for_new_database_version: Local copy of test found: test.cvd.\nFri Jun 28 10:46:44 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 45240 failed: Connection refused\n* Trying 127.0.0.1:8001...\n* Connec...led : 1\nFri Jun 28 10:46:48 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.036ffd3c09/clamav-edf6bf3186d7442379b1afcbfde2fc5f.tmp-test.cld' ...\nFri Jun 28 10:46:48 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.036ffd3c09/clamav-edf6bf3186d7442379b1afcbfde2fc5f.tmp-test.cld\nFri Jun 28 10:46:50 2024 -> Properly loaded 11 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.036ffd3c09/clamav-edf6bf3186d7442379b1afcbfde2fc5f.tmp-test.cld\nFri Jun 28 10:46:50 2024 -> updatedb: callback failed: Test failed (8)\n", err='WARNING: Fri Jun 28 10:46:44 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Fri Jun 28 10:46:50 2024 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Fri Jun 28 10:46:50 2024 -> Database test FAILED.\nERROR: Fri Jun 28 10:46:50 2024 -> Unexpected error when attempting to update test: Test failed\nERROR: Fri Jun 28 10:46:50 2024 -> Database update process failed: Test failed\nERROR: Fri Jun 28 10:46:50 2024 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:732: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam can update from an older CVD to a newer with CDIFF patches, and then update from an older CLD to the latest with more CDIFF patches [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-2.cdiff Mock Server: Sending 765 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/www/test-3.cdiff Mock Server: Sending 1637 bytes back to client. [DEBUG]: Exit code: 123 [DEBUG]: stdout: Fri Jun 28 10:46:44 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:44 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database Fri Jun 28 10:46:44 2024 -> It probably doesn't exist yet. That's ok. Fri Jun 28 10:46:44 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Fri Jun 28 10:46:44 2024 -> Creating new freshclam.dat Fri Jun 28 10:46:44 2024 -> Saved freshclam.dat Fri Jun 28 10:46:44 2024 -> ClamAV update process started at Fri Jun 28 10:46:44 2024 Fri Jun 28 10:46:44 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/ Fri Jun 28 10:46:44 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Fri Jun 28 10:46:44 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 45240 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 20e036d4-9e55-4c03-baab-e3abbca4fc38) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:44 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:44 2024 -> OK Fri Jun 28 10:46:44 2024 -> test database version obtained using HTTP GET: 3 Fri Jun 28 10:46:44 2024 -> test database available for update (local version: 1, remote version: 3) Fri Jun 28 10:46:44 2024 -> Retrieving http://localhost:8001/test-2.cdiff Fri Jun 28 10:46:44 2024 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Fri Jun 28 10:46:44 2024 -> downloadFile: Download destination: ./clamav-2c7756943399307527bc9b834a9bf4ac.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 45248 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 20e036d4-9e55-4c03-baab-e3abbca4fc38) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:44 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:46 2024 -> Retrieving http://localhost:8001/test-3.cdiff Fri Jun 28 10:46:46 2024 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Fri Jun 28 10:46:46 2024 -> downloadFile: Download destination: ./clamav-82f4f2258b3e9897f97c46c374ce25d2.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 45252 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: s390x, CPU: s390x, UUID: 20e036d4-9e55-4c03-baab-e3abbca4fc38) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Fri, 28 Jun 2024 10:46:46 GMT < Content-type: application/octet-stream < * Closing connection Fri Jun 28 10:46:48 2024 -> updatedb: Running g_cb_download_complete callback... Fri Jun 28 10:46:48 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.036ffd3c09/clamav-edf6bf3186d7442379b1afcbfde2fc5f.tmp-test.cld Fri Jun 28 10:46:48 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Fri Jun 28 10:46:48 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Fri Jun 28 10:46:48 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.036ffd3c09/clamav-edf6bf3186d7442379b1afcbfde2fc5f.tmp-test.cld' ... Fri Jun 28 10:46:48 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.036ffd3c09/clamav-edf6bf3186d7442379b1afcbfde2fc5f.tmp-test.cld Fri Jun 28 10:46:50 2024 -> Properly loaded 11 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/database/tmp.036ffd3c09/clamav-edf6bf3186d7442379b1afcbfde2fc5f.tmp-test.cld Fri Jun 28 10:46:50 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Fri Jun 28 10:46:44 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Fri Jun 28 10:46:50 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Fri Jun 28 10:46:50 2024 -> Database test FAILED. ERROR: Fri Jun 28 10:46:50 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Fri Jun 28 10:46:50 2024 -> Database update process failed: Test failed ERROR: Fri Jun 28 10:46:50 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-2gbw7ho4/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [28/Jun/2024 10:46:44] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [28/Jun/2024 10:46:44] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [28/Jun/2024 10:46:46] "GET /test-3.cdiff HTTP/1.1" 200 - =============================== warnings summary =============================== freshclam_test.py:20 /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:20: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 import cgi -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED freshclam_test.py::TC::test_freshclam_00_version - AssertionError: ass... FAILED freshclam_test.py::TC::test_freshclam_01_file_copy - assert 123 == 0 FAILED freshclam_test.py::TC::test_freshclam_02_http_403 - assert 123 == 17 FAILED freshclam_test.py::TC::test_freshclam_03_http_403_daemonized - assert ... FAILED freshclam_test.py::TC::test_freshclam_04_http_429 - assert 123 == 0 FAILED freshclam_test.py::TC::test_freshclam_05_cdiff_update - assert 123 == 0 FAILED freshclam_test.py::TC::test_freshclam_06_cdiff_partial_minus_1 - asser... FAILED freshclam_test.py::TC::test_freshclam_07_cdiff_partial_minus_2 - asser... FAILED freshclam_test.py::TC::test_freshclam_07_no_cdiff_out_of_date_cvd - as... FAILED freshclam_test.py::TC::test_freshclam_08_cdiff_update_twice - assert 1... ERROR freshclam_test.py::TC::test_freshclam_00_version - AssertionError: Valg... ERROR freshclam_test.py::TC::test_freshclam_01_file_copy - AssertionError: Va... ERROR freshclam_test.py::TC::test_freshclam_02_http_403 - AssertionError: Val... ERROR freshclam_test.py::TC::test_freshclam_03_http_403_daemonized - Assertio... ERROR freshclam_test.py::TC::test_freshclam_04_http_429 - AssertionError: Val... ERROR freshclam_test.py::TC::test_freshclam_05_cdiff_update - UnicodeDecodeEr... ERROR freshclam_test.py::TC::test_freshclam_06_cdiff_partial_minus_1 - Unicod... ERROR freshclam_test.py::TC::test_freshclam_07_cdiff_partial_minus_2 - Unicod... ERROR freshclam_test.py::TC::test_freshclam_07_no_cdiff_out_of_date_cvd - Uni... ERROR freshclam_test.py::TC::test_freshclam_08_cdiff_update_twice - UnicodeDe... ============= 10 failed, 1 skipped, 1 warning, 10 errors in 56.44s ============= Start 11: sigtool_valgrind 4/5 Test #7: clamd_valgrind ...................***Failed 90.08 sec ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/clamav-1.0.6/unit_tests collecting ... collected 11 items clamd_test.py::TC::test_clamd_00_version FAILED [ 9%] clamd_test.py::TC::test_clamd_00_version ERROR [ 9%] clamd_test.py::TC::test_clamd_01_ping_pong FAILED [ 18%] clamd_test.py::TC::test_clamd_02_clamdscan_version FAILED [ 27%] clamd_test.py::TC::test_clamd_03_reload FAILED [ 36%] clamd_test.py::TC::test_clamd_04_all_testfiles FAILED [ 45%] clamd_test.py::TC::test_clamd_05_check_clamd FAILED [ 54%] clamd_test.py::TC::test_clamd_06_HeuristicScanPrecedence_off FAILED [ 63%] clamd_test.py::TC::test_clamd_07_HeuristicScanPrecedence_on FAILED [ 72%] clamd_test.py::TC::test_clamd_08_VirusEvent FAILED [ 81%] clamd_test.py::TC::test_clamd_09_clamdscan_ExcludePath FAILED [ 90%] clamd_test.py::TC::test_clamd_09_clamdscan_ExcludePath ERROR [ 90%] clamd_test.py::TC::test_clamd_10_allmatch_not_sticky FAILED [100%] ==================================== ERRORS ==================================== ________________ ERROR at teardown of TC.test_clamd_00_version _________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: clamd version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf -V [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9925== Memcheck, a memory error detector [INFO]: ==9925== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9925== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9925== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf -V [INFO]: ==9925== Parent PID: 9922 [INFO]: ==9925== [INFO]: --9925-- [INFO]: --9925-- Valgrind options: [INFO]: --9925-- -v [INFO]: --9925-- --trace-children=yes [INFO]: --9925-- --track-fds=yes [INFO]: --9925-- --leak-check=full [INFO]: --9925-- --show-possibly-lost=no [INFO]: --9925-- --show-leak-kinds=definite [INFO]: --9925-- --errors-for-leak-kinds=definite [INFO]: --9925-- --main-stacksize=16777216 [INFO]: --9925-- --gen-suppressions=all [INFO]: --9925-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9925-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: --9925-- --error-exitcode=123 [INFO]: --9925-- Contents of /proc/version: [INFO]: --9925-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9925-- [INFO]: --9925-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9925-- Page sizes: currently 4096, max supported 4096 [INFO]: --9925-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: --9925-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9925-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9925-- might be shown as UnknownInlinedFun [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9925-- object doesn't have a dynamic symbol table [INFO]: --9925-- Scheduler: using generic scheduler lock implementation. [INFO]: --9925-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9925-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9925== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9925-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9925== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9925-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9925== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9925-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9925== [INFO]: ==9925== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9925== don't want to do, unless you know exactly what you're doing, [INFO]: ==9925== or are doing some strange experiment): [INFO]: ==9925== /usr/libexec/valgrind/../../bin/vgdb --pid=9925 ...command... [INFO]: ==9925== [INFO]: ==9925== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9925== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: ==9925== and then give GDB the following command [INFO]: ==9925== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9925 [INFO]: ==9925== --pid is optional if only one valgrind process is running [INFO]: ==9925== [INFO]: --9925-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9925-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9925-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9925-- Reading syms from /usr/lib64/libsystemd.so.0.38.0 [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9925-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9925-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9925-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9925-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9925-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9925-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9925-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9925-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9925-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9925-- Reading syms from /usr/lib64/libcap.so.2.69 [INFO]: --9925-- Reading syms from /usr/lib64/liblz4.so.1.9.4 [INFO]: --9925-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9925-- Reading syms from /usr/lib64/libzstd.so.1.5.6 [INFO]: --9925-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5190160 (libc.so.6:memmem) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9925-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9925== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9925== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9925== by 0x559F22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9925== by 0x547F035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9925-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9925-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9925-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9925-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9925-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9925-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9925-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9925-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9925-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9925-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9925-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9925-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9925-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9925-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9925-- REDIR: 0x518cf50 (libc.so.6:malloc_usable_size) redirected to 0x4845800 (malloc_usable_size) [INFO]: --9925-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9925-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9925-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: ==9925== [INFO]: ==9925== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9925== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== (No origin, error cannot be suppressed) [INFO]: ==9925== [INFO]: ==9925== HEAP SUMMARY: [INFO]: ==9925== in use at exit: 0 bytes in 0 blocks [INFO]: ==9925== total heap usage: 484 allocs, 484 frees, 58,347 bytes allocated [INFO]: ==9925== [INFO]: ==9925== All heap blocks were freed -- no leaks are possible [INFO]: ==9925== [INFO]: ==9925== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________ ERROR at teardown of TC.test_clamd_09_clamdscan_ExcludePath __________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ ExcludePath [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:46:42 2024 -> Limits: Global time limit set to 120000 milliseconds. Fri Jun 28 10:46:42 2024 -> Limits: Global size limit set to 419430400 bytes. Fri Jun 28 10:46:42 2024 -> Limits: File size limit set to 104857600 bytes. Fri Jun 28 10:46:42 2024 -> Limits: Recursion level limit set to 17. Fri Jun 28 10:46:42 2024 -> Limits: Files limit set to 10000. Fri Jun 28 10:46:42 2024 -> Limits: Core-dump limit is 0. Fri Jun 28 10:46:42 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Fri Jun 28 10:46:42 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Fri Jun 28 10:46:42 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Fri Jun 28 10:46:42 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Fri Jun 28 10:46:42 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Fri Jun 28 10:46:42 2024 -> Limits: MaxPartitions limit set to 50. Fri Jun 28 10:46:42 2024 -> Limits: MaxIconsPE limit set to 100. Fri Jun 28 10:46:42 2024 -> Limits: MaxRecHWP3 limit set to 16. Fri Jun 28 10:46:42 2024 -> Limits: PCREMatchLimit limit set to 100000. Fri Jun 28 10:46:42 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Fri Jun 28 10:46:42 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Fri Jun 28 10:46:42 2024 -> Archive support enabled. Fri Jun 28 10:46:42 2024 -> AlertExceedsMax heuristic detection disabled. Fri Jun 28 10:46:42 2024 -> Heuristic alerts enabled. Fri Jun 28 10:46:42 2024 -> Portable Executable support enabled. Fri Jun 28 10:46:42 2024 -> ELF support enabled. Fri Jun 28 10:46:42 2024 -> Mail files support enabled. Fri Jun 28 10:46:42 2024 -> OLE2 support enabled. Fri Jun 28 10:46:42 2024 -> PDF support enabled. Fri Jun 28 10:46:42 2024 -> SWF support enabled. Fri Jun 28 10:46:42 2024 -> HTML support enabled. Fri Jun 28 10:46:42 2024 -> XMLDOCS support enabled. Fri Jun 28 10:46:42 2024 -> HWP3 support enabled. Fri Jun 28 10:46:42 2024 -> Heuristic: precedence enabled Fri Jun 28 10:46:42 2024 -> Self checking every 600 seconds. Fri Jun 28 10:46:42 2024 -> Listening daemon: PID: 10084 Fri Jun 28 10:46:42 2024 -> MaxQueue set to: 800 [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:46:43 2024 -> Not supported file type: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.socket Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf: OK Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log: OK Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/test-clamd.log: OK Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.pid: OK Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/database/clamav.hdb: OK Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/database/daily.pdb: OK Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/database/reload-test.ndb: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/alpha/a_found: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/charlie/c_found: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/database/reload-test.ndb: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/alpha/a_found: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/charlie/c_found: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 4 Time: 0.066 sec (0 m 0 s) Start Date: 2024:06:28 10:46:43 End Date: 2024:06:28 10:46:43 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10087== Memcheck, a memory error detector [INFO]: ==10087== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10087== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10087== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [INFO]: ==10087== Parent PID: 9922 [INFO]: ==10087== [INFO]: --10087-- [INFO]: --10087-- Valgrind options: [INFO]: --10087-- -v [INFO]: --10087-- --trace-children=yes [INFO]: --10087-- --track-fds=yes [INFO]: --10087-- --leak-check=full [INFO]: --10087-- --show-possibly-lost=no [INFO]: --10087-- --show-leak-kinds=definite [INFO]: --10087-- --errors-for-leak-kinds=definite [INFO]: --10087-- --main-stacksize=16777216 [INFO]: --10087-- --gen-suppressions=all [INFO]: --10087-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10087-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: --10087-- --error-exitcode=123 [INFO]: --10087-- Contents of /proc/version: [INFO]: --10087-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --10087-- [INFO]: --10087-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --10087-- Page sizes: currently 4096, max supported 4096 [INFO]: --10087-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan [INFO]: --10087-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --10087-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10087-- might be shown as UnknownInlinedFun [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --10087-- object doesn't have a dynamic symbol table [INFO]: --10087-- Scheduler: using generic scheduler lock implementation. [INFO]: --10087-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10087-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10087== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10087-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10087== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10087-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10087== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10087-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10087== [INFO]: ==10087== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10087== don't want to do, unless you know exactly what you're doing, [INFO]: ==10087== or are doing some strange experiment): [INFO]: ==10087== /usr/libexec/valgrind/../../bin/vgdb --pid=10087 ...command... [INFO]: ==10087== [INFO]: ==10087== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10087== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan [INFO]: ==10087== and then give GDB the following command [INFO]: ==10087== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10087 [INFO]: ==10087== --pid is optional if only one valgrind process is running [INFO]: ==10087== [INFO]: --10087-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --10087-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10087-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10087-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10087-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --10087-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10087-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10087-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --10087-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --10087-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10087-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10087-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --10087-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10087-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --10087-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==10087== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==10087== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==10087== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==10087== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --10087-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --10087-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --10087-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --10087-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --10087-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --10087-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --10087-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --10087-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --10087-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --10087-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --10087-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --10087-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --10087-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --10087-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: ==10087== [INFO]: ==10087== FILE DESCRIPTORS: 5 open (3 std) at exit. [INFO]: ==10087== Open AF_UNIX socket 4: [INFO]: ==10087== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10087== by 0x1156FF: dconnect (clamdcom.c:279) [INFO]: ==10087== by 0x119301: ping_clamd (client.c:223) [INFO]: ==10087== by 0x113655: UnknownInlinedFun (client.c:398) [INFO]: ==10087== by 0x113655: main (clamdscan.c:169) [INFO]: ==10087== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:socket [INFO]: fun:dconnect [INFO]: fun:ping_clamd [INFO]: fun:UnknownInlinedFun [INFO]: fun:main [INFO]: } [INFO]: ==10087== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10087== [INFO]: ==10087== [INFO]: ==10087== (No origin, error cannot be suppressed) [INFO]: ==10087== [INFO]: ==10087== HEAP SUMMARY: [INFO]: ==10087== in use at exit: 0 bytes in 0 blocks [INFO]: ==10087== total heap usage: 851 allocs, 851 frees, 67,771 bytes allocated [INFO]: ==10087== [INFO]: ==10087== All heap blocks were freed -- no leaks are possible [INFO]: ==10087== [INFO]: ==10087== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Fri Jun 28 10:46:43 2024 -> Waiting for all threads to finish Fri Jun 28 10:46:43 2024 -> Shutting down the main sockets. Fri Jun 28 10:46:43 2024 -> Pid file removed. Fri Jun 28 10:46:43 2024 -> --- Stopped at Fri Jun 28 10:46:43 2024 Fri Jun 28 10:46:43 2024 -> Closing the main sockets. Fri Jun 28 10:46:43 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10087== Memcheck, a memory error detector [INFO]: ==10087== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10087== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10087== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [INFO]: ==10087== Parent PID: 9922 [INFO]: ==10087== [INFO]: --10087-- [INFO]: --10087-- Valgrind options: [INFO]: --10087-- -v [INFO]: --10087-- --trace-children=yes [INFO]: --10087-- --track-fds=yes [INFO]: --10087-- --leak-check=full [INFO]: --10087-- --show-possibly-lost=no [INFO]: --10087-- --show-leak-kinds=definite [INFO]: --10087-- --errors-for-leak-kinds=definite [INFO]: --10087-- --main-stacksize=16777216 [INFO]: --10087-- --gen-suppressions=all [INFO]: --10087-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10087-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: --10087-- --error-exitcode=123 [INFO]: --10087-- Contents of /proc/version: [INFO]: --10087-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --10087-- [INFO]: --10087-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --10087-- Page sizes: currently 4096, max supported 4096 [INFO]: --10087-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan [INFO]: --10087-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --10087-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10087-- might be shown as UnknownInlinedFun [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --10087-- object doesn't have a dynamic symbol table [INFO]: --10087-- Scheduler: using generic scheduler lock implementation. [INFO]: --10087-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10087-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10087== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10087-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10087== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10087-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10087== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10087-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10087== [INFO]: ==10087== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10087== don't want to do, unless you know exactly what you're doing, [INFO]: ==10087== or are doing some strange experiment): [INFO]: ==10087== /usr/libexec/valgrind/../../bin/vgdb --pid=10087 ...command... [INFO]: ==10087== [INFO]: ==10087== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10087== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan [INFO]: ==10087== and then give GDB the following command [INFO]: ==10087== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10087 [INFO]: ==10087== --pid is optional if only one valgrind process is running [INFO]: ==10087== [INFO]: --10087-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --10087-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10087-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10087-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10087-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --10087-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10087-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10087-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --10087-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --10087-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10087-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10087-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --10087-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10087-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --10087-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==10087== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==10087== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==10087== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==10087== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --10087-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --10087-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --10087-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --10087-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --10087-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --10087-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --10087-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --10087-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --10087-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --10087-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --10087-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --10087-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --10087-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --10087-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: ==10087== [INFO]: ==10087== FILE DESCRIPTORS: 5 open (3 std) at exit. [INFO]: ==10087== Open AF_UNIX socket 4: [INFO]: ==10087== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10087== by 0x1156FF: dconnect (clamdcom.c:279) [INFO]: ==10087== by 0x119301: ping_clamd (client.c:223) [INFO]: ==10087== by 0x113655: UnknownInlinedFun (client.c:398) [INFO]: ==10087== by 0x113655: main (clamdscan.c:169) [INFO]: ==10087== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:socket [INFO]: fun:dconnect [INFO]: fun:ping_clamd [INFO]: fun:UnknownInlinedFun [INFO]: fun:main [INFO]: } [INFO]: ==10087== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10087== [INFO]: ==10087== [INFO]: ==10087== (No origin, error cannot be suppressed) [INFO]: ==10087== [INFO]: ==10087== HEAP SUMMARY: [INFO]: ==10087== in use at exit: 0 bytes in 0 blocks [INFO]: ==10087== total heap usage: 851 allocs, 851 frees, 67,771 bytes allocated [INFO]: ==10087== [INFO]: ==10087== All heap blocks were freed -- no leaks are possible [INFO]: ==10087== [INFO]: ==10087== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) =================================== FAILURES =================================== ___________________________ TC.test_clamd_00_version ___________________________ self = def test_clamd_00_version(self): ''' verify that clamd -v returns the version ''' self.step_name('clamd version test') command = '{valgrind} {valgrind_args} {clamd} --config-file={clamd_config} -V'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamd=TC.clamd, clamd_config=TC.clamd_config) output = self.execute_command(command) > assert output.ec == 0 # success E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='ClamAV 1.0.6\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:263: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: clamd version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf -V [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9925== Memcheck, a memory error detector [INFO]: ==9925== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9925== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9925== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf -V [INFO]: ==9925== Parent PID: 9922 [INFO]: ==9925== [INFO]: --9925-- [INFO]: --9925-- Valgrind options: [INFO]: --9925-- -v [INFO]: --9925-- --trace-children=yes [INFO]: --9925-- --track-fds=yes [INFO]: --9925-- --leak-check=full [INFO]: --9925-- --show-possibly-lost=no [INFO]: --9925-- --show-leak-kinds=definite [INFO]: --9925-- --errors-for-leak-kinds=definite [INFO]: --9925-- --main-stacksize=16777216 [INFO]: --9925-- --gen-suppressions=all [INFO]: --9925-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9925-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: --9925-- --error-exitcode=123 [INFO]: --9925-- Contents of /proc/version: [INFO]: --9925-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9925-- [INFO]: --9925-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9925-- Page sizes: currently 4096, max supported 4096 [INFO]: --9925-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: --9925-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9925-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9925-- might be shown as UnknownInlinedFun [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9925-- object doesn't have a dynamic symbol table [INFO]: --9925-- Scheduler: using generic scheduler lock implementation. [INFO]: --9925-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9925-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9925== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9925-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9925== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9925-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9925== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9925-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9925== [INFO]: ==9925== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9925== don't want to do, unless you know exactly what you're doing, [INFO]: ==9925== or are doing some strange experiment): [INFO]: ==9925== /usr/libexec/valgrind/../../bin/vgdb --pid=9925 ...command... [INFO]: ==9925== [INFO]: ==9925== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9925== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: ==9925== and then give GDB the following command [INFO]: ==9925== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9925 [INFO]: ==9925== --pid is optional if only one valgrind process is running [INFO]: ==9925== [INFO]: --9925-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9925-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9925-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9925-- Reading syms from /usr/lib64/libsystemd.so.0.38.0 [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9925-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9925-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9925-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9925-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9925-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9925-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9925-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9925-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9925-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9925-- Reading syms from /usr/lib64/libcap.so.2.69 [INFO]: --9925-- Reading syms from /usr/lib64/liblz4.so.1.9.4 [INFO]: --9925-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9925-- Reading syms from /usr/lib64/libzstd.so.1.5.6 [INFO]: --9925-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5190160 (libc.so.6:memmem) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9925-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9925== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9925== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9925== by 0x559F22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9925== by 0x547F035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9925-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9925-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9925-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9925-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9925-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9925-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9925-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9925-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9925-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9925-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9925-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9925-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9925-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9925-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9925-- REDIR: 0x518cf50 (libc.so.6:malloc_usable_size) redirected to 0x4845800 (malloc_usable_size) [INFO]: --9925-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9925-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9925-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: ==9925== [INFO]: ==9925== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9925== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== (No origin, error cannot be suppressed) [INFO]: ==9925== [INFO]: ==9925== HEAP SUMMARY: [INFO]: ==9925== in use at exit: 0 bytes in 0 blocks [INFO]: ==9925== total heap usage: 484 allocs, 484 frees, 58,347 bytes allocated [INFO]: ==9925== [INFO]: ==9925== All heap blocks were freed -- no leaks are possible [INFO]: ==9925== [INFO]: ==9925== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________________ TC.test_clamd_01_ping_pong __________________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan PING PONG feature [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan -p 5 -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:45:31 2024 -> Limits: Global time limit set to 120000 milliseconds. Fri Jun 28 10:45:31 2024 -> Limits: Global size limit set to 419430400 bytes. Fri Jun 28 10:45:31 2024 -> Limits: File size limit set to 104857600 bytes. Fri Jun 28 10:45:31 2024 -> Limits: Recursion level limit set to 17. Fri Jun 28 10:45:31 2024 -> Limits: Files limit set to 10000. Fri Jun 28 10:45:31 2024 -> Limits: Core-dump limit is 0. Fri Jun 28 10:45:31 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Fri Jun 28 10:45:31 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Fri Jun 28 10:45:31 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Fri Jun 28 10:45:31 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Fri Jun 28 10:45:31 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Fri Jun 28 10:45:31 2024 -> Limits: MaxPartitions limit set to 50. Fri Jun 28 10:45:31 2024 -> Limits: MaxIconsPE limit set to 100. Fri Jun 28 10:45:31 2024 -> Limits: MaxRecHWP3 limit set to 16. Fri Jun 28 10:45:31 2024 -> Limits: PCREMatchLimit limit set to 100000. Fri Jun 28 10:45:31 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Fri Jun 28 10:45:31 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Fri Jun 28 10:45:31 2024 -> Archive support enabled. Fri Jun 28 10:45:31 2024 -> AlertExceedsMax heuristic detection disabled. Fri Jun 28 10:45:31 2024 -> Heuristic alerts enabled. Fri Jun 28 10:45:31 2024 -> Portable Executable support enabled. Fri Jun 28 10:45:31 2024 -> ELF support enabled. Fri Jun 28 10:45:31 2024 -> Mail files support enabled. Fri Jun 28 10:45:31 2024 -> OLE2 support enabled. Fri Jun 28 10:45:31 2024 -> PDF support enabled. Fri Jun 28 10:45:31 2024 -> SWF support enabled. Fri Jun 28 10:45:31 2024 -> HTML support enabled. Fri Jun 28 10:45:31 2024 -> XMLDOCS support enabled. Fri Jun 28 10:45:31 2024 -> HWP3 support enabled. Fri Jun 28 10:45:31 2024 -> Self checking every 600 seconds. Fri Jun 28 10:45:31 2024 -> Listening daemon: PID: 9926 Fri Jun 28 10:45:31 2024 -> MaxQueue set to: 800 [DEBUG]: Exit code: 0 [DEBUG]: stdout: Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second PONG Fri Jun 28 10:45:31 2024 -> Waiting for all threads to finish ERROR: Fri Jun 28 10:45:31 2024 -> write syncpipe failed Fri Jun 28 10:45:31 2024 -> Shutting down the main sockets. Fri Jun 28 10:45:31 2024 -> Pid file removed. Fri Jun 28 10:45:31 2024 -> --- Stopped at Fri Jun 28 10:45:31 2024 Fri Jun 28 10:45:31 2024 -> Closing the main sockets. Fri Jun 28 10:45:31 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9926== Memcheck, a memory error detector [INFO]: ==9926== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9926== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9926== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [INFO]: ==9926== Parent PID: 9922 [INFO]: ==9926== [INFO]: --9926-- [INFO]: --9926-- Valgrind options: [INFO]: --9926-- -v [INFO]: --9926-- --trace-children=yes [INFO]: --9926-- --track-fds=yes [INFO]: --9926-- --leak-check=full [INFO]: --9926-- --show-possibly-lost=no [INFO]: --9926-- --show-leak-kinds=definite [INFO]: --9926-- --errors-for-leak-kinds=definite [INFO]: --9926-- --main-stacksize=16777216 [INFO]: --9926-- --gen-suppressions=all [INFO]: --9926-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9926-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: --9926-- --error-exitcode=123 [INFO]: --9926-- Contents of /proc/version: [INFO]: --9926-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9926-- [INFO]: --9926-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9926-- Page sizes: currently 4096, max supported 4096 [INFO]: --9926-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9926-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: --9926-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9926-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9926-- might be shown as UnknownInlinedFun [INFO]: --9926-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9926-- object doesn't have a dynamic symbol table [INFO]: --9926-- Scheduler: using generic scheduler lock implementation. [INFO]: --9926-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9926-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9926== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9926-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9926== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9926-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9926== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9926-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9926== [INFO]: ==9926== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9926== don't want to do, unless you know exactly what you're doing, [INFO]: ==9926== or are doing some strange experiment): [INFO]: ==9926== /usr/libexec/valgrind/../../bin/vgdb --pid=9926 ...command... [INFO]: ==9926== [INFO]: ==9926== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9926== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: ==9926== and then give GDB the following command [INFO]: ==9926== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9926 [INFO]: ==9926== --pid is optional if only one valgrind process is running [INFO]: ==9926== [INFO]: --9926-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9926-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9926-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9926-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9926-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9926-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9926-- Reading syms from /usr/lib64/libsystemd.so.0.38.0 [INFO]: --9926-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9926-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9926-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9926-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9926-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9926-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9926-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9926-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9926-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9926-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9926-- Reading syms from /usr/lib64/libcap.so.2.69 [INFO]: --9926-- Reading syms from /usr/lib64/liblz4.so.1.9.4 [INFO]: --9926-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9926-- Reading syms from /usr/lib64/libzstd.so.1.5.6 [INFO]: --9926-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9926-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9926-- REDIR: 0x5190160 (libc.so.6:memmem) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9926-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9926-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9926== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9926== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x559F22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9926== by 0x547F035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9926-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9926-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9926-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9926-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9926-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9926-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9926-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9926-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9926-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9926-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9926-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9926-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9926-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9926-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9926-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9926-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9926-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9926-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9926-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9926-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9926-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9926== File descriptor 4: AF_INET6 socket 4: [::1]:3319 <-> is already closed [INFO]: ==9926== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x11608F: main (clamd.c:844) [INFO]: ==9926== Previously closed [INFO]: ==9926== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9926== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9926== Originally opened [INFO]: ==9926== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==9926== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9926== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9926== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x11608F: main (clamd.c:844) [INFO]: ==9926== Previously closed [INFO]: ==9926== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9926== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9926== Originally opened [INFO]: ==9926== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==9926== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9926== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9926== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x11608F: main (clamd.c:844) [INFO]: ==9926== Previously closed [INFO]: ==9926== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9926== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9926== Originally opened [INFO]: ==9926== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x11B383: localserver (localserver.c:149) [INFO]: ==9926== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --9926-- REDIR: 0x518cf50 (libc.so.6:malloc_usable_size) redirected to 0x4845800 (malloc_usable_size) [INFO]: --9926-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9926-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: ==9926== [INFO]: ==9926== FILE DESCRIPTORS: 5 open (3 std) at exit. [INFO]: ==9926== Open AF_UNIX socket 7: clamd-test.socket [INFO]: ==9926== at 0x51FC036: accept (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x12080F: acceptloop_th (server-th.c:591) [INFO]: ==9926== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9926== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:accept [INFO]: fun:acceptloop_th [INFO]: fun:start_thread [INFO]: obj:/usr/lib64/libc.so.6 [INFO]: obj:* [INFO]: } [INFO]: ==9926== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==9926== [INFO]: ==9926== [INFO]: ==9926== (No origin, error cannot be suppressed) [INFO]: ==9926== [INFO]: ==9926== HEAP SUMMARY: [INFO]: ==9926== in use at exit: 0 bytes in 0 blocks [INFO]: ==9926== total heap usage: 5,108 allocs, 5,108 frees, 976,246 bytes allocated [INFO]: ==9926== [INFO]: ==9926== All heap blocks were freed -- no leaks are possible [INFO]: ==9926== [INFO]: ==9926== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0) [INFO]: ==9926== [INFO]: ==9926== 1 errors in context 1 of 5: [INFO]: ==9926== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9926== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x11608F: main (clamd.c:844) [INFO]: ==9926== Previously closed [INFO]: ==9926== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9926== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9926== Originally opened [INFO]: ==9926== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x11B383: localserver (localserver.c:149) [INFO]: ==9926== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9926== [INFO]: ==9926== 1 errors in context 2 of 5: [INFO]: ==9926== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9926== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x11608F: main (clamd.c:844) [INFO]: ==9926== Previously closed [INFO]: ==9926== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9926== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9926== Originally opened [INFO]: ==9926== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==9926== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9926== [INFO]: ==9926== 1 errors in context 3 of 5: [INFO]: ==9926== File descriptor 4: /proc/self/status is already closed [INFO]: ==9926== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x11608F: main (clamd.c:844) [INFO]: ==9926== Previously closed [INFO]: ==9926== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9926== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9926== Originally opened [INFO]: ==9926== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9926== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==9926== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9926== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0) ______________________ TC.test_clamd_02_clamdscan_version ______________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan version feature [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:45:34 2024 -> Limits: Global time limit set to 120000 milliseconds. Fri Jun 28 10:45:34 2024 -> Limits: Global size limit set to 419430400 bytes. Fri Jun 28 10:45:34 2024 -> Limits: File size limit set to 104857600 bytes. Fri Jun 28 10:45:34 2024 -> Limits: Recursion level limit set to 17. Fri Jun 28 10:45:34 2024 -> Limits: Files limit set to 10000. Fri Jun 28 10:45:34 2024 -> Limits: Core-dump limit is 0. Fri Jun 28 10:45:34 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Fri Jun 28 10:45:34 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Fri Jun 28 10:45:34 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Fri Jun 28 10:45:34 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Fri Jun 28 10:45:34 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Fri Jun 28 10:45:34 2024 -> Limits: MaxPartitions limit set to 50. Fri Jun 28 10:45:34 2024 -> Limits: MaxIconsPE limit set to 100. Fri Jun 28 10:45:34 2024 -> Limits: MaxRecHWP3 limit set to 16. Fri Jun 28 10:45:34 2024 -> Limits: PCREMatchLimit limit set to 100000. Fri Jun 28 10:45:34 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Fri Jun 28 10:45:34 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Fri Jun 28 10:45:34 2024 -> Archive support enabled. Fri Jun 28 10:45:34 2024 -> AlertExceedsMax heuristic detection disabled. Fri Jun 28 10:45:34 2024 -> Heuristic alerts enabled. Fri Jun 28 10:45:34 2024 -> Portable Executable support enabled. Fri Jun 28 10:45:34 2024 -> ELF support enabled. Fri Jun 28 10:45:34 2024 -> Mail files support enabled. Fri Jun 28 10:45:34 2024 -> OLE2 support enabled. Fri Jun 28 10:45:34 2024 -> PDF support enabled. Fri Jun 28 10:45:34 2024 -> SWF support enabled. Fri Jun 28 10:45:34 2024 -> HTML support enabled. Fri Jun 28 10:45:34 2024 -> XMLDOCS support enabled. Fri Jun 28 10:45:34 2024 -> HWP3 support enabled. Fri Jun 28 10:45:34 2024 -> Self checking every 600 seconds. Fri Jun 28 10:45:34 2024 -> Listening daemon: PID: 9930 Fri Jun 28 10:45:34 2024 -> MaxQueue set to: 800 [DEBUG]: Exit code: 0 [DEBUG]: stdout: Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second PONG [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --version -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:45:35 2024 -> Client disconnected (FD 11) [DEBUG]: Exit code: 0 [DEBUG]: stdout: ClamAV 1.0.6 Fri Jun 28 10:45:35 2024 -> Waiting for all threads to finish Fri Jun 28 10:45:35 2024 -> Shutting down the main sockets. Fri Jun 28 10:45:35 2024 -> Pid file removed. Fri Jun 28 10:45:35 2024 -> --- Stopped at Fri Jun 28 10:45:35 2024 Fri Jun 28 10:45:35 2024 -> Closing the main sockets. Fri Jun 28 10:45:35 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9930== Memcheck, a memory error detector [INFO]: ==9930== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9930== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9930== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [INFO]: ==9930== Parent PID: 9922 [INFO]: ==9930== [INFO]: --9930-- [INFO]: --9930-- Valgrind options: [INFO]: --9930-- -v [INFO]: --9930-- --trace-children=yes [INFO]: --9930-- --track-fds=yes [INFO]: --9930-- --leak-check=full [INFO]: --9930-- --show-possibly-lost=no [INFO]: --9930-- --show-leak-kinds=definite [INFO]: --9930-- --errors-for-leak-kinds=definite [INFO]: --9930-- --main-stacksize=16777216 [INFO]: --9930-- --gen-suppressions=all [INFO]: --9930-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9930-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: --9930-- --error-exitcode=123 [INFO]: --9930-- Contents of /proc/version: [INFO]: --9930-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9930-- [INFO]: --9930-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9930-- Page sizes: currently 4096, max supported 4096 [INFO]: --9930-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9930-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: --9930-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9930-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9930-- might be shown as UnknownInlinedFun [INFO]: --9930-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9930-- object doesn't have a dynamic symbol table [INFO]: --9930-- Scheduler: using generic scheduler lock implementation. [INFO]: --9930-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9930-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9930== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9930-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9930== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9930-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9930== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9930-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9930== [INFO]: ==9930== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9930== don't want to do, unless you know exactly what you're doing, [INFO]: ==9930== or are doing some strange experiment): [INFO]: ==9930== /usr/libexec/valgrind/../../bin/vgdb --pid=9930 ...command... [INFO]: ==9930== [INFO]: ==9930== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9930== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: ==9930== and then give GDB the following command [INFO]: ==9930== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9930 [INFO]: ==9930== --pid is optional if only one valgrind process is running [INFO]: ==9930== [INFO]: --9930-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9930-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9930-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9930-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9930-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9930-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9930-- Reading syms from /usr/lib64/libsystemd.so.0.38.0 [INFO]: --9930-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9930-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9930-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9930-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9930-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9930-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9930-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9930-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9930-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9930-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9930-- Reading syms from /usr/lib64/libcap.so.2.69 [INFO]: --9930-- Reading syms from /usr/lib64/liblz4.so.1.9.4 [INFO]: --9930-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9930-- Reading syms from /usr/lib64/libzstd.so.1.5.6 [INFO]: --9930-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9930-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9930-- REDIR: 0x5190160 (libc.so.6:memmem) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9930-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9930-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9930== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9930== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x559F22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9930== by 0x547F035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9930-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9930-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9930-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9930-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9930-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9930-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9930-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9930-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9930-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9930-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9930-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9930-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9930-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9930-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9930-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9930-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9930-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9930-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9930-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9930-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9930-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9930== File descriptor 4: AF_INET6 socket 4: [::1]:3319 <-> is already closed [INFO]: ==9930== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x11608F: main (clamd.c:844) [INFO]: ==9930== Previously closed [INFO]: ==9930== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9930== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9930== Originally opened [INFO]: ==9930== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==9930== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9930== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9930== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x11608F: main (clamd.c:844) [INFO]: ==9930== Previously closed [INFO]: ==9930== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9930== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9930== Originally opened [INFO]: ==9930== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==9930== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9930== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9930== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x11608F: main (clamd.c:844) [INFO]: ==9930== Previously closed [INFO]: ==9930== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9930== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9930== Originally opened [INFO]: ==9930== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x11B383: localserver (localserver.c:149) [INFO]: ==9930== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --9930-- REDIR: 0x518cf50 (libc.so.6:malloc_usable_size) redirected to 0x4845800 (malloc_usable_size) [INFO]: --9930-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9930-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: ==9930== [INFO]: ==9930== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9930== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==9930== [INFO]: ==9930== [INFO]: ==9930== (No origin, error cannot be suppressed) [INFO]: ==9930== [INFO]: ==9930== HEAP SUMMARY: [INFO]: ==9930== in use at exit: 0 bytes in 0 blocks [INFO]: ==9930== total heap usage: 5,114 allocs, 5,114 frees, 980,903 bytes allocated [INFO]: ==9930== [INFO]: ==9930== All heap blocks were freed -- no leaks are possible [INFO]: ==9930== [INFO]: ==9930== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) [INFO]: ==9930== [INFO]: ==9930== 1 errors in context 1 of 4: [INFO]: ==9930== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9930== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x11608F: main (clamd.c:844) [INFO]: ==9930== Previously closed [INFO]: ==9930== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9930== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9930== Originally opened [INFO]: ==9930== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x11B383: localserver (localserver.c:149) [INFO]: ==9930== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9930== [INFO]: ==9930== 1 errors in context 2 of 4: [INFO]: ==9930== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9930== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x11608F: main (clamd.c:844) [INFO]: ==9930== Previously closed [INFO]: ==9930== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9930== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9930== Originally opened [INFO]: ==9930== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==9930== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9930== [INFO]: ==9930== 1 errors in context 3 of 4: [INFO]: ==9930== File descriptor 4: /proc/self/status is already closed [INFO]: ==9930== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x11608F: main (clamd.c:844) [INFO]: ==9930== Previously closed [INFO]: ==9930== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9930== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9930== Originally opened [INFO]: ==9930== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9930== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==9930== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9930== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) ___________________________ TC.test_clamd_03_reload ____________________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test scan before & after reload [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:45:37 2024 -> Limits: Global time limit set to 120000 milliseconds. Fri Jun 28 10:45:37 2024 -> Limits: Global size limit set to 419430400 bytes. Fri Jun 28 10:45:37 2024 -> Limits: File size limit set to 104857600 bytes. Fri Jun 28 10:45:37 2024 -> Limits: Recursion level limit set to 17. Fri Jun 28 10:45:37 2024 -> Limits: Files limit set to 10000. Fri Jun 28 10:45:37 2024 -> Limits: Core-dump limit is 0. Fri Jun 28 10:45:37 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Fri Jun 28 10:45:37 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Fri Jun 28 10:45:37 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Fri Jun 28 10:45:37 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Fri Jun 28 10:45:37 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Fri Jun 28 10:45:37 2024 -> Limits: MaxPartitions limit set to 50. Fri Jun 28 10:45:37 2024 -> Limits: MaxIconsPE limit set to 100. Fri Jun 28 10:45:37 2024 -> Limits: MaxRecHWP3 limit set to 16. Fri Jun 28 10:45:37 2024 -> Limits: PCREMatchLimit limit set to 100000. Fri Jun 28 10:45:37 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Fri Jun 28 10:45:37 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Fri Jun 28 10:45:37 2024 -> Archive support enabled. Fri Jun 28 10:45:37 2024 -> AlertExceedsMax heuristic detection disabled. Fri Jun 28 10:45:37 2024 -> Heuristic alerts enabled. Fri Jun 28 10:45:37 2024 -> Portable Executable support enabled. Fri Jun 28 10:45:37 2024 -> ELF support enabled. Fri Jun 28 10:45:37 2024 -> Mail files support enabled. Fri Jun 28 10:45:37 2024 -> OLE2 support enabled. Fri Jun 28 10:45:37 2024 -> PDF support enabled. Fri Jun 28 10:45:37 2024 -> SWF support enabled. Fri Jun 28 10:45:37 2024 -> HTML support enabled. Fri Jun 28 10:45:37 2024 -> XMLDOCS support enabled. Fri Jun 28 10:45:37 2024 -> HWP3 support enabled. Fri Jun 28 10:45:37 2024 -> Self checking every 600 seconds. Fri Jun 28 10:45:37 2024 -> Listening daemon: PID: 9936 Fri Jun 28 10:45:37 2024 -> MaxQueue set to: 800 Fri Jun 28 10:45:37 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: OK [DEBUG]: Exit code: 0 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: OK ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 2.425 sec (0 m 2 s) Start Date: 2024:06:28 10:45:35 End Date: 2024:06:28 10:45:37 [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:45:37 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: OK [DEBUG]: Exit code: 0 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: OK ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 0.012 sec (0 m 0 s) Start Date: 2024:06:28 10:45:37 End Date: 2024:06:28 10:45:37 [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:45:37 2024 -> instream(local): OK [DEBUG]: Exit code: 0 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: OK ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 0.018 sec (0 m 0 s) Start Date: 2024:06:28 10:45:37 End Date: 2024:06:28 10:45:37 [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [DEBUG]: Exit code: 0 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: OK ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 0.013 sec (0 m 0 s) Start Date: 2024:06:28 10:45:38 End Date: 2024:06:28 10:45:38 Fri Jun 28 10:45:38 2024 -> instream(local): OK [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:45:38 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: OK [DEBUG]: Exit code: 0 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: OK ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 0.009 sec (0 m 0 s) Start Date: 2024:06:28 10:45:38 End Date: 2024:06:28 10:45:38 [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:45:38 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: OK [DEBUG]: Exit code: 0 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: OK ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 0.007 sec (0 m 0 s) Start Date: 2024:06:28 10:45:38 End Date: 2024:06:28 10:45:38 [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --reload -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [DEBUG]: Exit code: 0 [DEBUG]: stdout: Fri Jun 28 10:45:38 2024 -> Reading databases from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/database Fri Jun 28 10:45:38 2024 -> Database correctly reloaded (203 signatures) Fri Jun 28 10:45:38 2024 -> Activating the newly loaded database... [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:45:40 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.029 sec (0 m 0 s) Start Date: 2024:06:28 10:45:40 End Date: 2024:06:28 10:45:40 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:45:40 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.006 sec (0 m 0 s) Start Date: 2024:06:28 10:45:40 End Date: 2024:06:28 10:45:40 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:45:40 2024 -> instream(local): ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.010 sec (0 m 0 s) Start Date: 2024:06:28 10:45:40 End Date: 2024:06:28 10:45:40 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.009 sec (0 m 0 s) Start Date: 2024:06:28 10:45:40 End Date: 2024:06:28 10:45:40 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:45:40 2024 -> instream(local): ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND Fri Jun 28 10:45:40 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.007 sec (0 m 0 s) Start Date: 2024:06:28 10:45:40 End Date: 2024:06:28 10:45:40 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.006 sec (0 m 0 s) Start Date: 2024:06:28 10:45:40 End Date: 2024:06:28 10:45:40 [DEBUG]: stderr: Fri Jun 28 10:45:40 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND Fri Jun 28 10:45:40 2024 -> Waiting for all threads to finish Fri Jun 28 10:45:40 2024 -> Shutting down the main sockets. Fri Jun 28 10:45:40 2024 -> Pid file removed. Fri Jun 28 10:45:40 2024 -> --- Stopped at Fri Jun 28 10:45:40 2024 Fri Jun 28 10:45:40 2024 -> Closing the main sockets. Fri Jun 28 10:45:40 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9936== Memcheck, a memory error detector [INFO]: ==9936== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9936== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9936== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [INFO]: ==9936== Parent PID: 9922 [INFO]: ==9936== [INFO]: --9936-- [INFO]: --9936-- Valgrind options: [INFO]: --9936-- -v [INFO]: --9936-- --trace-children=yes [INFO]: --9936-- --track-fds=yes [INFO]: --9936-- --leak-check=full [INFO]: --9936-- --show-possibly-lost=no [INFO]: --9936-- --show-leak-kinds=definite [INFO]: --9936-- --errors-for-leak-kinds=definite [INFO]: --9936-- --main-stacksize=16777216 [INFO]: --9936-- --gen-suppressions=all [INFO]: --9936-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9936-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: --9936-- --error-exitcode=123 [INFO]: --9936-- Contents of /proc/version: [INFO]: --9936-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9936-- [INFO]: --9936-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9936-- Page sizes: currently 4096, max supported 4096 [INFO]: --9936-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9936-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: --9936-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9936-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9936-- might be shown as UnknownInlinedFun [INFO]: --9936-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9936-- object doesn't have a dynamic symbol table [INFO]: --9936-- Scheduler: using generic scheduler lock implementation. [INFO]: --9936-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9936-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9936== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9936-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9936== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9936-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9936== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9936-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9936== [INFO]: ==9936== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9936== don't want to do, unless you know exactly what you're doing, [INFO]: ==9936== or are doing some strange experiment): [INFO]: ==9936== /usr/libexec/valgrind/../../bin/vgdb --pid=9936 ...command... [INFO]: ==9936== [INFO]: ==9936== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9936== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: ==9936== and then give GDB the following command [INFO]: ==9936== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9936 [INFO]: ==9936== --pid is optional if only one valgrind process is running [INFO]: ==9936== [INFO]: --9936-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9936-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9936-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9936-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9936-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9936-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9936-- Reading syms from /usr/lib64/libsystemd.so.0.38.0 [INFO]: --9936-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9936-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9936-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9936-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9936-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9936-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9936-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9936-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9936-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9936-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9936-- Reading syms from /usr/lib64/libcap.so.2.69 [INFO]: --9936-- Reading syms from /usr/lib64/liblz4.so.1.9.4 [INFO]: --9936-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9936-- Reading syms from /usr/lib64/libzstd.so.1.5.6 [INFO]: --9936-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9936-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9936-- REDIR: 0x5190160 (libc.so.6:memmem) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9936-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9936-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9936== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9936== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x559F22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9936== by 0x547F035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9936-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9936-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9936-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9936-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9936-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9936-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9936-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9936-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9936-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9936-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9936-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9936-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9936-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9936-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9936-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9936-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9936-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9936-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9936-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9936-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9936-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==9936== File descriptor 4: AF_INET6 socket 4: [::1]:3319 <-> is already closed [INFO]: ==9936== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x11608F: main (clamd.c:844) [INFO]: ==9936== Previously closed [INFO]: ==9936== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9936== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9936== Originally opened [INFO]: ==9936== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==9936== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9936== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9936== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x11608F: main (clamd.c:844) [INFO]: ==9936== Previously closed [INFO]: ==9936== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9936== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9936== Originally opened [INFO]: ==9936== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==9936== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9936== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9936== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x11608F: main (clamd.c:844) [INFO]: ==9936== Previously closed [INFO]: ==9936== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9936== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9936== Originally opened [INFO]: ==9936== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x11B383: localserver (localserver.c:149) [INFO]: ==9936== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --9936-- REDIR: 0x518cf50 (libc.so.6:malloc_usable_size) redirected to 0x4845800 (malloc_usable_size) [INFO]: --9936-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9936-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: ==9936== [INFO]: ==9936== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9936== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==9936== [INFO]: ==9936== [INFO]: ==9936== (No origin, error cannot be suppressed) [INFO]: ==9936== [INFO]: ==9936== HEAP SUMMARY: [INFO]: ==9936== in use at exit: 0 bytes in 0 blocks [INFO]: ==9936== total heap usage: 14,557 allocs, 14,557 frees, 2,717,580 bytes allocated [INFO]: ==9936== [INFO]: ==9936== All heap blocks were freed -- no leaks are possible [INFO]: ==9936== [INFO]: ==9936== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) [INFO]: ==9936== [INFO]: ==9936== 1 errors in context 1 of 4: [INFO]: ==9936== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9936== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x11608F: main (clamd.c:844) [INFO]: ==9936== Previously closed [INFO]: ==9936== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9936== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9936== Originally opened [INFO]: ==9936== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x11B383: localserver (localserver.c:149) [INFO]: ==9936== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9936== [INFO]: ==9936== 1 errors in context 2 of 4: [INFO]: ==9936== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9936== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x11608F: main (clamd.c:844) [INFO]: ==9936== Previously closed [INFO]: ==9936== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9936== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9936== Originally opened [INFO]: ==9936== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==9936== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9936== [INFO]: ==9936== 1 errors in context 3 of 4: [INFO]: ==9936== File descriptor 4: /proc/self/status is already closed [INFO]: ==9936== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x11608F: main (clamd.c:844) [INFO]: ==9936== Previously closed [INFO]: ==9936== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9936== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9936== Originally opened [INFO]: ==9936== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9936== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==9936== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9936== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) ________________________ TC.test_clamd_04_all_testfiles ________________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan scan of all `test` files [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:45:42 2024 -> Limits: Global time limit set to 120000 milliseconds. Fri Jun 28 10:45:42 2024 -> Limits: Global size limit set to 419430400 bytes. Fri Jun 28 10:45:42 2024 -> Limits: File size limit set to 104857600 bytes. Fri Jun 28 10:45:42 2024 -> Limits: Recursion level limit set to 17. Fri Jun 28 10:45:42 2024 -> Limits: Files limit set to 10000. Fri Jun 28 10:45:42 2024 -> Limits: Core-dump limit is 0. Fri Jun 28 10:45:42 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Fri Jun 28 10:45:42 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Fri Jun 28 10:45:42 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Fri Jun 28 10:45:42 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Fri Jun 28 10:45:42 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Fri Jun 28 10:45:42 2024 -> Limits: MaxPartitions limit set to 50. Fri Jun 28 10:45:42 2024 -> Limits: MaxIconsPE limit set to 100. Fri Jun 28 10:45:42 2024 -> Limits: MaxRecHWP3 limit set to 16. Fri Jun 28 10:45:42 2024 -> Limits: PCREMatchLimit limit set to 100000. Fri Jun 28 10:45:42 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Fri Jun 28 10:45:42 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Fri Jun 28 10:45:42 2024 -> Archive support enabled. Fri Jun 28 10:45:42 2024 -> AlertExceedsMax heuristic detection disabled. Fri Jun 28 10:45:42 2024 -> Heuristic alerts enabled. Fri Jun 28 10:45:42 2024 -> Portable Executable support enabled. Fri Jun 28 10:45:42 2024 -> ELF support enabled. Fri Jun 28 10:45:42 2024 -> Mail files support enabled. Fri Jun 28 10:45:42 2024 -> OLE2 support enabled. Fri Jun 28 10:45:42 2024 -> PDF support enabled. Fri Jun 28 10:45:42 2024 -> SWF support enabled. Fri Jun 28 10:45:42 2024 -> HTML support enabled. Fri Jun 28 10:45:42 2024 -> XMLDOCS support enabled. Fri Jun 28 10:45:42 2024 -> HWP3 support enabled. Fri Jun 28 10:45:42 2024 -> Self checking every 600 seconds. Fri Jun 28 10:45:42 2024 -> Listening daemon: PID: 9966 Fri Jun 28 10:45:42 2024 -> MaxQueue set to: 800 Fri Jun 28 10:45:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:44 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:44 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:44 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:44 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:44 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:44 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:44 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:44 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:44 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:44 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:44 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:45 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:45 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:45 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:45 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:45 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:45 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:45 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:45 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:45 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:45 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:45 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:45 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:48 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:48 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:50 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:51 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:51 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:51 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:51 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:51 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:51 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:51 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Fri Jun 28 10:45:51 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 47 Time: 11.373 sec (0 m 11 s) Start Date: 2024:06:28 10:45:40 End Date: 2024:06:28 10:45:51 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:45:51 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:51 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:51 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:51 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:51 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:53 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:53 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:53 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:53 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:53 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:53 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:53 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:53 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:53 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:53 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:53 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:53 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:53 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:54 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:55 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:56 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:56 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:56 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:56 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:56 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:56 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:56 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:56 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Fri Jun 28 10:45:56 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 47 Time: 4.977 sec (0 m 4 s) Start Date: 2024:06:28 10:45:51 End Date: 2024:06:28 10:45:56 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:45:56 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:56 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:56 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:56 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:57 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:58 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:58 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:58 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:58 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:58 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:58 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:58 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:58 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:58 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:58 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:58 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:58 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:58 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:45:59 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:00 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:01 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:01 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:01 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:01 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:01 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:01 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:01 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:01 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Fri Jun 28 10:46:01 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 47 Time: 5.095 sec (0 m 5 s) Start Date: 2024:06:28 10:45:56 End Date: 2024:06:28 10:46:01 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:05 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 47 Time: 4.990 sec (0 m 4 s) Start Date: 2024:06:28 10:46:02 End Date: 2024:06:28 10:46:07 [DEBUG]: stderr: Fri Jun 28 10:46:07 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:09 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:09 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:11 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:11 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:11 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:11 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:11 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:11 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:11 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Fri Jun 28 10:46:11 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 47 Time: 4.733 sec (0 m 4 s) Start Date: 2024:06:28 10:46:07 End Date: 2024:06:28 10:46:11 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:46:11 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:11 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:11 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:11 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:11 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:11 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:11 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:12 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:15 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:16 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:16 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:16 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:16 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:16 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:16 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:16 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Fri Jun 28 10:46:16 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 47 Time: 4.907 sec (0 m 4 s) Start Date: 2024:06:28 10:46:11 End Date: 2024:06:28 10:46:16 [DEBUG]: stderr: Fri Jun 28 10:46:16 2024 -> Waiting for all threads to finish Fri Jun 28 10:46:16 2024 -> Shutting down the main sockets. Fri Jun 28 10:46:16 2024 -> Pid file removed. Fri Jun 28 10:46:16 2024 -> --- Stopped at Fri Jun 28 10:46:16 2024 Fri Jun 28 10:46:16 2024 -> Closing the main sockets. Fri Jun 28 10:46:16 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9966== Memcheck, a memory error detector [INFO]: ==9966== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9966== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9966== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [INFO]: ==9966== Parent PID: 9922 [INFO]: ==9966== [INFO]: --9966-- [INFO]: --9966-- Valgrind options: [INFO]: --9966-- -v [INFO]: --9966-- --trace-children=yes [INFO]: --9966-- --track-fds=yes [INFO]: --9966-- --leak-check=full [INFO]: --9966-- --show-possibly-lost=no [INFO]: --9966-- --show-leak-kinds=definite [INFO]: --9966-- --errors-for-leak-kinds=definite [INFO]: --9966-- --main-stacksize=16777216 [INFO]: --9966-- --gen-suppressions=all [INFO]: --9966-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9966-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: --9966-- --error-exitcode=123 [INFO]: --9966-- Contents of /proc/version: [INFO]: --9966-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --9966-- [INFO]: --9966-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --9966-- Page sizes: currently 4096, max supported 4096 [INFO]: --9966-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9966-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: --9966-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --9966-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9966-- might be shown as UnknownInlinedFun [INFO]: --9966-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --9966-- object doesn't have a dynamic symbol table [INFO]: --9966-- Scheduler: using generic scheduler lock implementation. [INFO]: --9966-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9966-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9966== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9966-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9966== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9966-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9966== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9966-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==9966== [INFO]: ==9966== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9966== don't want to do, unless you know exactly what you're doing, [INFO]: ==9966== or are doing some strange experiment): [INFO]: ==9966== /usr/libexec/valgrind/../../bin/vgdb --pid=9966 ...command... [INFO]: ==9966== [INFO]: ==9966== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9966== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: ==9966== and then give GDB the following command [INFO]: ==9966== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9966 [INFO]: ==9966== --pid is optional if only one valgrind process is running [INFO]: ==9966== [INFO]: --9966-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --9966-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --9966-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --9966-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --9966-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9966-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9966-- Reading syms from /usr/lib64/libsystemd.so.0.38.0 [INFO]: --9966-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9966-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9966-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --9966-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9966-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9966-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --9966-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --9966-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9966-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9966-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --9966-- Reading syms from /usr/lib64/libcap.so.2.69 [INFO]: --9966-- Reading syms from /usr/lib64/liblz4.so.1.9.4 [INFO]: --9966-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9966-- Reading syms from /usr/lib64/libzstd.so.1.5.6 [INFO]: --9966-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9966-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9966-- REDIR: 0x5190160 (libc.so.6:memmem) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --9966-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --9966-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==9966== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==9966== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x559F22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==9966== by 0x547F035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --9966-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --9966-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --9966-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --9966-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --9966-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --9966-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --9966-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --9966-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --9966-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --9966-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --9966-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --9966-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --9966-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --9966-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --9966-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --9966-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --9966-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --9966-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --9966-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --9966-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --9966-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: --9966-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --9966-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --9966-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: --9966-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9966-- REDIR: 0x5209c40 (libc.so.6:__strcpy_chk) redirected to 0x484e740 (__strcpy_chk) [INFO]: ==9966== Thread 4: [INFO]: ==9966== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9966== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9966== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9966== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9966== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9966== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9966== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9966== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9966== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9966== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9966== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9966== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9966== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9966== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9966== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9966== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9966== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9966== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9966== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9966== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9966== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9966== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9966== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9966== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9966== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9966== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9966== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9966== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9966== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9966== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9966== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9966== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9966== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9966== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9966== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9966== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9966== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9966== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9966== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9966== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9966== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9966== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9966== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9966== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9966== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9966== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9966== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9966== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9966== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9966== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9966== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9966== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9966== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9966== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9966== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9966== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9966== Thread 1: [INFO]: ==9966== File descriptor 4: AF_INET6 socket 4: [::1]:3319 <-> is already closed [INFO]: ==9966== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x11608F: main (clamd.c:844) [INFO]: ==9966== Previously closed [INFO]: ==9966== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9966== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9966== Originally opened [INFO]: ==9966== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==9966== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9966== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9966== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x11608F: main (clamd.c:844) [INFO]: ==9966== Previously closed [INFO]: ==9966== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9966== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9966== Originally opened [INFO]: ==9966== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==9966== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9966== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9966== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x11608F: main (clamd.c:844) [INFO]: ==9966== Previously closed [INFO]: ==9966== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9966== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9966== Originally opened [INFO]: ==9966== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x11B383: localserver (localserver.c:149) [INFO]: ==9966== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --9966-- REDIR: 0x518cf50 (libc.so.6:malloc_usable_size) redirected to 0x4845800 (malloc_usable_size) [INFO]: --9966-- Discarding syms at 0x6914160-0x6915940 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9966== [INFO]: ==9966== FILE DESCRIPTORS: 10 open (3 std) at exit. [INFO]: ==9966== Open file descriptor 18: /tmp/20240628_104612-scantemp.245d4b3751/ole2-tmp.7cf037417c/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9966== at 0x51EE3A4: open (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9966== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9966== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9966== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9966== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9966== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9966== by 0x49827F9: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9966== by 0x11DBC5: scanfd.constprop.0 (scanner.c:430) [INFO]: ==9966== by 0x11E40B: UnknownInlinedFun (session.c:301) [INFO]: ==9966== by 0x11E40B: scanner_thread (server-th.c:126) [INFO]: ==9966== by 0x11C233: thrmgr_worker (thrmgr.c:703) [INFO]: ==9966== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9966== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:scanfd.constprop.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:scanner_thread [INFO]: fun:thrmgr_worker [INFO]: fun:start_thread [INFO]: obj:/usr/lib64/libc.so.6 [INFO]: obj:* [INFO]: } [INFO]: ==9966== Open file descriptor 16: /tmp/20240628_104607-scantemp.5593b9721c/ole2-tmp.d7383d1b7a/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9966== at 0x51EE3A4: open (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9966== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9966== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9966== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9966== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9966== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9966== by 0x49827F9: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9966== by 0x11DBC5: scanfd.constprop.0 (scanner.c:430) [INFO]: ==9966== by 0x11E40B: UnknownInlinedFun (session.c:301) [INFO]: ==9966== by 0x11E40B: scanner_thread (server-th.c:126) [INFO]: ==9966== by 0x11C233: thrmgr_worker (thrmgr.c:703) [INFO]: ==9966== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9966== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:scanfd.constprop.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:scanner_thread [INFO]: fun:thrmgr_worker [INFO]: fun:start_thread [INFO]: obj:/usr/lib64/libc.so.6 [INFO]: obj:* [INFO]: } [INFO]: ==9966== Open file descriptor 15: /tmp/20240628_104557-scantemp.ec82823a03/ole2-tmp.717f8e5ae6/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9966== at 0x51EE3A4: open (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9966== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9966== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9966== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9966== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9966== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9966== by 0x49827F9: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9966== by 0x11DBC5: scanfd.constprop.0 (scanner.c:430) [INFO]: ==9966== by 0x11E323: UnknownInlinedFun (session.c:332) [INFO]: ==9966== by 0x11E323: scanner_thread (server-th.c:126) [INFO]: ==9966== by 0x11C233: thrmgr_worker (thrmgr.c:703) [INFO]: ==9966== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9966== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:scanfd.constprop.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:scanner_thread [INFO]: fun:thrmgr_worker [INFO]: fun:start_thread [INFO]: obj:/usr/lib64/libc.so.6 [INFO]: obj:* [INFO]: } [INFO]: ==9966== Open file descriptor 14: /tmp/20240628_104552-scantemp.056e19fb83/ole2-tmp.e3e81d051c/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9966== at 0x51EE3A4: open (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9966== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9966== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9966== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9966== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9966== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9966== by 0x49827F9: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9966== by 0x4982971: cl_scanfile_callback (scanners.c:5797) [INFO]: ==9966== by 0x11C8C1: scan_callback (scanner.c:270) [INFO]: ==9966== by 0x493B9C3: UnknownInlinedFun (others_common.c:676) [INFO]: ==9966== by 0x493B9C3: cli_ftw (others_common.c:760) [INFO]: ==9966== by 0x11E22F: UnknownInlinedFun (session.c:380) [INFO]: ==9966== by 0x11E22F: scanner_thread (server-th.c:126) [INFO]: ==9966== by 0x11C233: thrmgr_worker (thrmgr.c:703) [INFO]: ==9966== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9966== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:cl_scanfile_callback [INFO]: fun:scan_callback [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ftw [INFO]: fun:UnknownInlinedFun [INFO]: fun:scanner_thread [INFO]: fun:thrmgr_worker [INFO]: fun:start_thread [INFO]: obj:/usr/lib64/libc.so.6 [INFO]: } [INFO]: ==9966== Open file descriptor 13: /tmp/20240628_104544-scantemp.2e79859cc1/ole2-tmp.53aba60d39/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9966== at 0x51EE3A4: open (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9966== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9966== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9966== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9966== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9966== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9966== by 0x49827F9: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9966== by 0x4982971: cl_scanfile_callback (scanners.c:5797) [INFO]: ==9966== by 0x11C8C1: scan_callback (scanner.c:270) [INFO]: ==9966== by 0x493B9C3: UnknownInlinedFun (others_common.c:676) [INFO]: ==9966== by 0x493B9C3: cli_ftw (others_common.c:760) [INFO]: ==9966== by 0x11E22F: UnknownInlinedFun (session.c:380) [INFO]: ==9966== by 0x11E22F: scanner_thread (server-th.c:126) [INFO]: ==9966== by 0x11C233: thrmgr_worker (thrmgr.c:703) [INFO]: ==9966== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9966== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:cl_scanfile_callback [INFO]: fun:scan_callback [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ftw [INFO]: fun:UnknownInlinedFun [INFO]: fun:scanner_thread [INFO]: fun:thrmgr_worker [INFO]: fun:start_thread [INFO]: obj:/usr/lib64/libc.so.6 [INFO]: } [INFO]: ==9966== Open file descriptor 11: /tmp/20240628_104602-scantemp.1dc100afc6/ole2-tmp.52d7f7d147/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9966== at 0x51EE3A4: open (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x4973F93: UnknownInlinedFun (fcntl2.h:53) [INFO]: ==9966== by 0x4973F93: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9966== by 0x4973F93: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9966== by 0x4980D4D: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9966== by 0x4980D4D: cli_magic_scan (scanners.c:4700) [INFO]: ==9966== by 0x4981E1D: scan_common (scanners.c:5474) [INFO]: ==9966== by 0x49827F9: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9966== by 0x11DBC5: scanfd.constprop.0 (scanner.c:430) [INFO]: ==9966== by 0x11E323: UnknownInlinedFun (session.c:332) [INFO]: ==9966== by 0x11E323: scanner_thread (server-th.c:126) [INFO]: ==9966== by 0x11C233: thrmgr_worker (thrmgr.c:703) [INFO]: ==9966== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9966== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:scanfd.constprop.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:scanner_thread [INFO]: fun:thrmgr_worker [INFO]: fun:start_thread [INFO]: obj:/usr/lib64/libc.so.6 [INFO]: obj:* [INFO]: } [INFO]: ==9966== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==9966== [INFO]: ==9966== [INFO]: ==9966== (No origin, error cannot be suppressed) [INFO]: ==9966== [INFO]: ==9966== HEAP SUMMARY: [INFO]: ==9966== in use at exit: 24,347 bytes in 98 blocks [INFO]: ==9966== total heap usage: 58,892 allocs, 58,794 frees, 234,223,635 bytes allocated [INFO]: ==9966== [INFO]: ==9966== Searching for pointers to 98 not-freed blocks [INFO]: ==9966== Checked 4,485,616 bytes [INFO]: ==9966== [INFO]: ==9966== LEAK SUMMARY: [INFO]: ==9966== definitely lost: 0 bytes in 0 blocks [INFO]: ==9966== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9966== possibly lost: 640 bytes in 2 blocks [INFO]: ==9966== still reachable: 23,707 bytes in 96 blocks [INFO]: ==9966== suppressed: 0 bytes in 0 blocks [INFO]: ==9966== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9966== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9966== [INFO]: ==9966== Use --track-origins=yes to see where uninitialised values come from [INFO]: ==9966== ERROR SUMMARY: 19 errors from 11 contexts (suppressed: 0 from 0) [INFO]: ==9966== [INFO]: ==9966== 1 errors in context 1 of 11: [INFO]: ==9966== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9966== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x11608F: main (clamd.c:844) [INFO]: ==9966== Previously closed [INFO]: ==9966== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9966== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9966== Originally opened [INFO]: ==9966== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x11B383: localserver (localserver.c:149) [INFO]: ==9966== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9966== [INFO]: ==9966== 1 errors in context 2 of 11: [INFO]: ==9966== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9966== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x11608F: main (clamd.c:844) [INFO]: ==9966== Previously closed [INFO]: ==9966== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9966== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9966== Originally opened [INFO]: ==9966== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==9966== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9966== [INFO]: ==9966== 1 errors in context 3 of 11: [INFO]: ==9966== File descriptor 4: /proc/self/status is already closed [INFO]: ==9966== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x11608F: main (clamd.c:844) [INFO]: ==9966== Previously closed [INFO]: ==9966== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==9966== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==9966== Originally opened [INFO]: ==9966== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==9966== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==9966== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9966== [INFO]: ==9966== 9 errors in context 4 of 11: [INFO]: ==9966== Thread 4: [INFO]: ==9966== Conditional jump or move depends on uninitialised value(s) [INFO]: ==9966== at 0x4EDA3DC: ::next (path.rs:0) [INFO]: ==9966== by 0x4ED970B: std::path::iter_after (path.rs:291) [INFO]: ==9966== by 0x4EBA3F3: _starts_with (path.rs:2410) [INFO]: ==9966== by 0x4EBA3F3: starts_with<&str> (path.rs:2406) [INFO]: ==9966== by 0x4EBA3F3: quota_v2 (thread.rs:577) [INFO]: ==9966== by 0x4EBA3F3: quota (thread.rs:548) [INFO]: ==9966== by 0x4EBA3F3: available_parallelism (thread.rs:340) [INFO]: ==9966== by 0x4EBA3F3: std::thread::available_parallelism (mod.rs:1849) [INFO]: ==9966== by 0x4E71DD7: {closure#0} (lib.rs:473) [INFO]: ==9966== by 0x4E71DD7: get_num_threads (lib.rs:493) [INFO]: ==9966== by 0x4E71DD7: rayon_core::registry::Registry::new (registry.rs:237) [INFO]: ==9966== by 0x492F0DD: default_global_registry (registry.rs:201) [INFO]: ==9966== by 0x492F0DD: call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> (function.rs:250) [INFO]: ==9966== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:193) [INFO]: ==9966== by 0x492F0DD: {closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9966== by 0x492F0DD: std::sys::sync::once::futex::Once::call (futex.rs:124) [INFO]: ==9966== by 0x4E759FF: call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> (once.rs:149) [INFO]: ==9966== by 0x4E759FF: set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> (registry.rs:192) [INFO]: ==9966== by 0x4E759FF: global_registry (registry.rs:166) [INFO]: ==9966== by 0x4E759FF: current_num_threads (registry.rs:334) [INFO]: ==9966== by 0x4E759FF: rayon_core::current_num_threads (lib.rs:144) [INFO]: ==9966== by 0x4E64E11: new (mod.rs:266) [INFO]: ==9966== by 0x4E64E11: new (mod.rs:314) [INFO]: ==9966== by 0x4E64E11: bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:395) [INFO]: ==9966== by 0x4E64E11: callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> (mod.rs:372) [INFO]: ==9966== by 0x4E64E11: callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> (enumerate.rs:78) [INFO]: ==9966== by 0x4E64E11: callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> (len.rs:217) [INFO]: ==9966== by 0x4E64E11: with_producer>>>> (chunks.rs:236) [INFO]: ==9966== by 0x4E64E11: with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> (len.rs:194) [INFO]: ==9966== by 0x4E64E11: with_producer>, rayon::iter::plumbing::bridge::Callback>> (enumerate.rs:62) [INFO]: ==9966== by 0x4E64E11: bridge>>, rayon::iter::for_each::ForEachConsumer> (mod.rs:356) [INFO]: ==9966== by 0x4E64E11: drive_unindexed>, rayon::iter::for_each::ForEachConsumer> (enumerate.rs:38) [INFO]: ==9966== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> (for_each.rs:12) [INFO]: ==9966== by 0x4E64E11: for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> (mod.rs:386) [INFO]: ==9966== by 0x4E64E11: compute_image_parallel (rayon.rs:204) [INFO]: ==9966== by 0x4E64E11: compute_image_parallel (mod.rs:107) [INFO]: ==9966== by 0x4E64E11: jpeg_decoder::decoder::compute_image (decoder.rs:1334) [INFO]: ==9966== by 0x4CBD09B: decode_planes> (decoder.rs:689) [INFO]: ==9966== by 0x4CBD09B: {closure#7}> (decoder.rs:613) [INFO]: ==9966== by 0x4CBD09B: jpeg_decoder::worker::WorkerScope::get_or_init_worker (mod.rs:84) [INFO]: ==9966== by 0x4CD2E43: jpeg_decoder::decoder::Decoder::decode_internal (decoder.rs:612) [INFO]: ==9966== by 0x4D7AA45: {closure#0}> (decoder.rs:294) [INFO]: ==9966== by 0x4D7AA45: with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> (mod.rs:61) [INFO]: ==9966== by 0x4D7AA45: decode> (decoder.rs:294) [INFO]: ==9966== by 0x4D7AA45: as image::image::ImageDecoder>::read_image (decoder.rs:112) [INFO]: ==9966== by 0x4D4F0DD: decoder_to_vec>> (image.rs:720) [INFO]: ==9966== by 0x4D4F0DD: decoder_to_image>> (dynimage.rs:1049) [INFO]: ==9966== by 0x4D4F0DD: from_decoder>> (dynimage.rs:193) [INFO]: ==9966== by 0x4D4F0DD: visit_decoder>> (free_functions.rs:109) [INFO]: ==9966== by 0x4D4F0DD: image::io::free_functions::load_decoder (free_functions.rs:61) [INFO]: ==9966== by 0x4E14CAD: load_inner> (free_functions.rs:113) [INFO]: ==9966== by 0x4E14CAD: load> (free_functions.rs:37) [INFO]: ==9966== by 0x4E14CAD: load_from_memory_with_format (dynimage.rs:1234) [INFO]: ==9966== by 0x4E14CAD: image::dynimage::load_from_memory (dynimage.rs:1219) [INFO]: ==9966== [INFO]: { [INFO]: [INFO]: Memcheck:Cond [INFO]: fun:_ZN80_$LT$std..path..Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2750b5e6f3f41cc3E [INFO]: fun:_ZN3std4path10iter_after17haf8377662f59c123E [INFO]: fun:_starts_with [INFO]: fun:starts_with<&str> [INFO]: fun:quota_v2 [INFO]: fun:quota [INFO]: fun:available_parallelism [INFO]: fun:_ZN3std6thread21available_parallelism17h2d378259ea5a59abE [INFO]: fun:{closure#0} [INFO]: fun:get_num_threads [INFO]: fun:_ZN10rayon_core8registry8Registry3new17h756061d92ec8daf2E [INFO]: fun:default_global_registry [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>, ()> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:{closure#0} core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:_ZN3std3sys4sync4once5futex4Once4call17hb29e7c2bf29c82b6E [INFO]: fun:call_once core::result::Result, rayon_core::ThreadPoolBuildError>>> [INFO]: fun:set_global_registry core::result::Result, rayon_core::ThreadPoolBuildError>> [INFO]: fun:global_registry [INFO]: fun:current_num_threads [INFO]: fun:_ZN10rayon_core19current_num_threads17hc878f6f182129c39E [INFO]: fun:new [INFO]: fun:new [INFO]: fun:bridge_producer_consumer>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:callback, (usize, &mut [u8]), rayon::iter::enumerate::EnumerateProducer>>> [INFO]: fun:callback<&mut [u8], rayon::iter::plumbing::bridge::Callback>, rayon::iter::len::MaxLenProducer>> [INFO]: fun:callback<&mut [u8], rayon::iter::enumerate::{impl#2}::with_producer::Callback>>, rayon::slice::chunks::ChunksMutProducer> [INFO]: fun:with_producer>>>> [INFO]: fun:with_producer, rayon::iter::enumerate::{impl#2}::with_producer::Callback>>> [INFO]: fun:with_producer>, rayon::iter::plumbing::bridge::Callback>> [INFO]: fun:bridge>>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:drive_unindexed>, rayon::iter::for_each::ForEachConsumer> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}, (usize, &mut [u8])> [INFO]: fun:for_each>>, jpeg_decoder::worker::rayon::compute_image_parallel::{closure_env#0}> [INFO]: fun:compute_image_parallel [INFO]: fun:compute_image_parallel [INFO]: fun:_ZN12jpeg_decoder7decoder13compute_image17h04ad26f9535bb398E [INFO]: fun:decode_planes> [INFO]: fun:{closure#7}> [INFO]: fun:_ZN12jpeg_decoder6worker11WorkerScope18get_or_init_worker17ha3ac19937491491bE [INFO]: fun:_ZN12jpeg_decoder7decoder16Decoder$LT$R$GT$15decode_internal17h273d071555087f2dE [INFO]: fun:{closure#0}> [INFO]: fun:with, jpeg_decoder::error::Error>, jpeg_decoder::decoder::{impl#1}::decode::{closure_env#0}>> [INFO]: fun:decode> [INFO]: fun:_ZN97_$LT$image..codecs..jpeg..decoder..JpegDecoder$LT$R$GT$$u20$as$u20$image..image..ImageDecoder$GT$10read_image17h5533b64cbfdcae44E [INFO]: fun:decoder_to_vec>> [INFO]: fun:decoder_to_image>> [INFO]: fun:from_decoder>> [INFO]: fun:visit_decoder>> [INFO]: fun:_ZN5image2io14free_functions12load_decoder17h85a57658dcf08bb3E [INFO]: fun:load_inner> [INFO]: fun:load> [INFO]: fun:load_from_memory_with_format [INFO]: fun:_ZN5image8dynimage16load_from_memory17he17a7c91af4f8fc4E [INFO]: } [INFO]: ==9966== ERROR SUMMARY: 19 errors from 11 contexts (suppressed: 0 from 0) _________________________ TC.test_clamd_05_check_clamd _________________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + check_clamd [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan -p 5 -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:46:18 2024 -> Limits: Global time limit set to 120000 milliseconds. Fri Jun 28 10:46:18 2024 -> Limits: Global size limit set to 419430400 bytes. Fri Jun 28 10:46:18 2024 -> Limits: File size limit set to 104857600 bytes. Fri Jun 28 10:46:18 2024 -> Limits: Recursion level limit set to 17. Fri Jun 28 10:46:18 2024 -> Limits: Files limit set to 10000. Fri Jun 28 10:46:18 2024 -> Limits: Core-dump limit is 0. Fri Jun 28 10:46:18 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Fri Jun 28 10:46:18 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Fri Jun 28 10:46:18 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Fri Jun 28 10:46:18 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Fri Jun 28 10:46:18 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Fri Jun 28 10:46:18 2024 -> Limits: MaxPartitions limit set to 50. Fri Jun 28 10:46:18 2024 -> Limits: MaxIconsPE limit set to 100. Fri Jun 28 10:46:18 2024 -> Limits: MaxRecHWP3 limit set to 16. Fri Jun 28 10:46:18 2024 -> Limits: PCREMatchLimit limit set to 100000. Fri Jun 28 10:46:18 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Fri Jun 28 10:46:18 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Fri Jun 28 10:46:18 2024 -> Archive support enabled. Fri Jun 28 10:46:18 2024 -> AlertExceedsMax heuristic detection disabled. Fri Jun 28 10:46:18 2024 -> Heuristic alerts enabled. Fri Jun 28 10:46:18 2024 -> Portable Executable support enabled. Fri Jun 28 10:46:18 2024 -> ELF support enabled. Fri Jun 28 10:46:18 2024 -> Mail files support enabled. Fri Jun 28 10:46:18 2024 -> OLE2 support enabled. Fri Jun 28 10:46:18 2024 -> PDF support enabled. Fri Jun 28 10:46:18 2024 -> SWF support enabled. Fri Jun 28 10:46:18 2024 -> HTML support enabled. Fri Jun 28 10:46:18 2024 -> XMLDOCS support enabled. Fri Jun 28 10:46:18 2024 -> HWP3 support enabled. Fri Jun 28 10:46:18 2024 -> Self checking every 600 seconds. Fri Jun 28 10:46:18 2024 -> Listening daemon: PID: 10009 Fri Jun 28 10:46:18 2024 -> MaxQueue set to: 800 [DEBUG]: Exit code: 0 [DEBUG]: stdout: Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second PONG [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamd Fri Jun 28 10:46:19 2024 -> Client disconnected (FD 11) Fri Jun 28 10:46:19 2024 -> Reading databases from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/database Fri Jun 28 10:46:19 2024 -> Database correctly reloaded (203 signatures) Fri Jun 28 10:46:19 2024 -> Activating the newly loaded database... Fri Jun 28 10:46:19 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:19 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:19 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:19 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:19 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:19 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:19 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:19 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:19 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:19 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:19 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:19 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK WARNING: Fri Jun 28 10:46:19 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:19 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:19 2024 -> File path check failure on: /nonexistentfilename WARNING: Fri Jun 28 10:46:19 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:19 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:19 2024 -> File path check failure on: /nonexistentfilename WARNING: Fri Jun 28 10:46:19 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:19 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:19 2024 -> File path check failure on: /nonexistentfilename WARNING: Fri Jun 28 10:46:19 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:19 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:19 2024 -> File path check failure on: /nonexistentfilename WARNING: Fri Jun 28 10:46:19 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:19 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:19 2024 -> File path check failure on: /nonexistentfilename WARNING: Fri Jun 28 10:46:19 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:19 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:19 2024 -> File path check failure on: /nonexistentfilename WARNING: Fri Jun 28 10:46:19 2024 -> INSTREAM: Size limit reached, (requested: 4294967295, max: 104857600) WARNING: Fri Jun 28 10:46:19 2024 -> INSTREAM: Size limit reached, (requested: 4294967295, max: 104857600) Fri Jun 28 10:46:19 2024 -> Reading databases from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/database Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> Database correctly reloaded (203 signatures) Fri Jun 28 10:46:20 2024 -> Activating the newly loaded database... Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:20 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure on: /nonexistentfilename WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:20 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure on: /nonexistentfilename WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:20 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure on: /nonexistentfilename WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:20 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure on: /nonexistentfilename WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:20 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure on: /nonexistentfilename WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:20 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure on: /nonexistentfilename WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:20 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure on: /nonexistentfilename WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:20 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure on: /nonexistentfilename WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:20 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure on: /nonexistentfilename Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:20 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure on: /nonexistentfilename Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:20 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure on: /nonexistentfilename Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure for: /nonexistentfilename Fri Jun 28 10:46:20 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Fri Jun 28 10:46:20 2024 -> File path check failure on: /nonexistentfilename Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Fri Jun 28 10:46:20 2024 -> instream(local): OK Fri Jun 28 10:46:20 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:20 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:21 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:22 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:23 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:23 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:23 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:23 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:23 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:23 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:23 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:23 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:23 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:23 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 12) Fri Jun 28 10:46:23 2024 -> Reading databases from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/database [DEBUG]: Exit code: 0 [DEBUG]: stdout: Running suite(s): clamd 100%: Checks: 71, Failures: 0, Errors: 0 [INFO]: check_clamd stdout: Running suite(s): clamd 100%: Checks: 71, Failures: 0, Errors: 0 [INFO]: check_clamd stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan -p 5 -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [DEBUG]: Exit code: 0 [DEBUG]: stdout: PONG Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 11) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 12) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 13) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 14) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 15) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 16) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 17) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 18) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 19) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 20) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 21) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 22) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 23) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 24) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 25) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 26) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 27) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 28) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 29) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 30) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 31) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 32) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 33) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 34) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 35) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 36) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 37) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 38) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 39) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 40) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 41) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 42) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 43) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 44) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 45) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 46) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 47) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 48) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 49) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 50) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 51) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 52) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 53) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 54) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 55) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 56) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 57) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 58) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 59) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 60) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 61) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 62) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 63) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 64) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 65) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 66) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 67) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 68) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 69) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 70) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 71) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 72) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 73) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 74) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 75) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 76) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 77) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 78) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 79) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 80) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 81) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 82) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 83) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 84) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 85) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 86) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 87) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 88) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 89) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 90) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 91) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 92) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 93) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 94) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 95) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 96) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 97) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 98) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 99) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 100) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 101) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 102) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 103) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 104) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 105) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 106) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 107) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 108) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 109) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 110) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 111) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 112) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 113) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 114) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 115) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 116) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 117) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 118) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 119) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 120) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 121) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 122) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 123) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 124) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 125) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 126) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 127) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 128) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 129) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 130) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 131) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 132) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 133) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 134) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 135) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 136) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 137) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 138) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 139) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 140) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 141) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 142) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 143) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 144) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 145) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 146) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 147) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 148) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 149) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 150) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 151) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 152) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 153) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 154) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 155) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 156) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 157) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 158) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 159) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 160) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 161) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 162) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 163) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 164) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 165) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 166) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 167) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 168) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 169) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 170) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 171) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 172) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 173) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 174) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 175) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 176) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 177) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 178) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 179) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 180) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 181) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 182) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 183) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 184) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 185) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 186) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 187) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 188) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 189) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 190) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 191) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 192) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 193) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 194) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 195) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 196) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 197) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 198) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 199) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 200) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 201) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 202) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 203) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 204) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 205) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 206) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 207) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 208) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 209) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 210) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 211) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 212) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 213) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 214) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 215) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 216) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 217) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 218) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 219) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 220) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 221) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 222) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 223) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 224) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 225) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 226) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 227) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 228) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 229) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 230) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 231) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 232) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 233) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 234) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 235) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 236) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 237) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 238) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 239) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 240) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 241) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 242) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 243) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 244) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 245) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 246) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 247) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 248) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 249) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 250) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 251) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 252) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 253) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 254) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 255) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 256) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 257) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 258) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 259) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 260) Fri Jun 28 10:46:23 2024 -> Client disconnected (FD 11) Fri Jun 28 10:46:23 2024 -> Database correctly reloaded (203 signatures) Fri Jun 28 10:46:23 2024 -> Activating the newly loaded database... Fri Jun 28 10:46:28 2024 -> Waiting for all threads to finish Fri Jun 28 10:46:28 2024 -> Shutting down the main sockets. Fri Jun 28 10:46:28 2024 -> Pid file removed. Fri Jun 28 10:46:28 2024 -> --- Stopped at Fri Jun 28 10:46:28 2024 Fri Jun 28 10:46:28 2024 -> Closing the main sockets. Fri Jun 28 10:46:28 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10009== Memcheck, a memory error detector [INFO]: ==10009== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10009== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10009== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [INFO]: ==10009== Parent PID: 9922 [INFO]: ==10009== [INFO]: --10009-- [INFO]: --10009-- Valgrind options: [INFO]: --10009-- -v [INFO]: --10009-- --trace-children=yes [INFO]: --10009-- --track-fds=yes [INFO]: --10009-- --leak-check=full [INFO]: --10009-- --show-possibly-lost=no [INFO]: --10009-- --show-leak-kinds=definite [INFO]: --10009-- --errors-for-leak-kinds=definite [INFO]: --10009-- --main-stacksize=16777216 [INFO]: --10009-- --gen-suppressions=all [INFO]: --10009-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10009-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: --10009-- --error-exitcode=123 [INFO]: --10009-- Contents of /proc/version: [INFO]: --10009-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --10009-- [INFO]: --10009-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --10009-- Page sizes: currently 4096, max supported 4096 [INFO]: --10009-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10009-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: --10009-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --10009-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10009-- might be shown as UnknownInlinedFun [INFO]: --10009-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --10009-- object doesn't have a dynamic symbol table [INFO]: --10009-- Scheduler: using generic scheduler lock implementation. [INFO]: --10009-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10009-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10009== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10009-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10009== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10009-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10009== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10009-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10009== [INFO]: ==10009== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10009== don't want to do, unless you know exactly what you're doing, [INFO]: ==10009== or are doing some strange experiment): [INFO]: ==10009== /usr/libexec/valgrind/../../bin/vgdb --pid=10009 ...command... [INFO]: ==10009== [INFO]: ==10009== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10009== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: ==10009== and then give GDB the following command [INFO]: ==10009== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10009 [INFO]: ==10009== --pid is optional if only one valgrind process is running [INFO]: ==10009== [INFO]: --10009-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --10009-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --10009-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --10009-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --10009-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10009-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10009-- Reading syms from /usr/lib64/libsystemd.so.0.38.0 [INFO]: --10009-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10009-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10009-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --10009-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10009-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10009-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --10009-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --10009-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10009-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10009-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --10009-- Reading syms from /usr/lib64/libcap.so.2.69 [INFO]: --10009-- Reading syms from /usr/lib64/liblz4.so.1.9.4 [INFO]: --10009-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10009-- Reading syms from /usr/lib64/libzstd.so.1.5.6 [INFO]: --10009-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10009-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10009-- REDIR: 0x5190160 (libc.so.6:memmem) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10009-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --10009-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==10009== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==10009== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x559F22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==10009== by 0x547F035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --10009-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --10009-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --10009-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --10009-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --10009-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --10009-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --10009-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --10009-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --10009-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --10009-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --10009-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --10009-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --10009-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --10009-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --10009-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --10009-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --10009-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --10009-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --10009-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --10009-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --10009-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: ==10009== File descriptor 4: AF_INET6 socket 4: [::1]:3319 <-> is already closed [INFO]: ==10009== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x11608F: main (clamd.c:844) [INFO]: ==10009== Previously closed [INFO]: ==10009== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10009== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10009== Originally opened [INFO]: ==10009== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10009== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10009== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==10009== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x11608F: main (clamd.c:844) [INFO]: ==10009== Previously closed [INFO]: ==10009== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10009== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10009== Originally opened [INFO]: ==10009== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10009== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10009== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==10009== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x11608F: main (clamd.c:844) [INFO]: ==10009== Previously closed [INFO]: ==10009== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10009== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10009== Originally opened [INFO]: ==10009== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x11B383: localserver (localserver.c:149) [INFO]: ==10009== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --10009-- REDIR: 0x518cf50 (libc.so.6:malloc_usable_size) redirected to 0x4845800 (malloc_usable_size) [INFO]: --10009-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --10009-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: ==10009== [INFO]: ==10009== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10009== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10009== [INFO]: ==10009== [INFO]: ==10009== (No origin, error cannot be suppressed) [INFO]: ==10009== [INFO]: ==10009== HEAP SUMMARY: [INFO]: ==10009== in use at exit: 0 bytes in 0 blocks [INFO]: ==10009== total heap usage: 36,872 allocs, 36,872 frees, 19,827,262 bytes allocated [INFO]: ==10009== [INFO]: ==10009== All heap blocks were freed -- no leaks are possible [INFO]: ==10009== [INFO]: ==10009== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) [INFO]: ==10009== [INFO]: ==10009== 1 errors in context 1 of 4: [INFO]: ==10009== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==10009== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x11608F: main (clamd.c:844) [INFO]: ==10009== Previously closed [INFO]: ==10009== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10009== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10009== Originally opened [INFO]: ==10009== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x11B383: localserver (localserver.c:149) [INFO]: ==10009== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10009== [INFO]: ==10009== 1 errors in context 2 of 4: [INFO]: ==10009== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==10009== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x11608F: main (clamd.c:844) [INFO]: ==10009== Previously closed [INFO]: ==10009== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10009== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10009== Originally opened [INFO]: ==10009== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10009== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10009== [INFO]: ==10009== 1 errors in context 3 of 4: [INFO]: ==10009== File descriptor 4: file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log is already closed [INFO]: ==10009== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x11608F: main (clamd.c:844) [INFO]: ==10009== Previously closed [INFO]: ==10009== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10009== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10009== Originally opened [INFO]: ==10009== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10009== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10009== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10009== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) _________________ TC.test_clamd_06_HeuristicScanPrecedence_off _________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ HeuristicScanPrecedence no (default) [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:46:30 2024 -> Limits: Global time limit set to 120000 milliseconds. Fri Jun 28 10:46:30 2024 -> Limits: Global size limit set to 419430400 bytes. Fri Jun 28 10:46:30 2024 -> Limits: File size limit set to 104857600 bytes. Fri Jun 28 10:46:30 2024 -> Limits: Recursion level limit set to 17. Fri Jun 28 10:46:30 2024 -> Limits: Files limit set to 10000. Fri Jun 28 10:46:30 2024 -> Limits: Core-dump limit is 0. Fri Jun 28 10:46:30 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Fri Jun 28 10:46:30 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Fri Jun 28 10:46:30 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Fri Jun 28 10:46:30 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Fri Jun 28 10:46:30 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Fri Jun 28 10:46:30 2024 -> Limits: MaxPartitions limit set to 50. Fri Jun 28 10:46:30 2024 -> Limits: MaxIconsPE limit set to 100. Fri Jun 28 10:46:30 2024 -> Limits: MaxRecHWP3 limit set to 16. Fri Jun 28 10:46:30 2024 -> Limits: PCREMatchLimit limit set to 100000. Fri Jun 28 10:46:30 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Fri Jun 28 10:46:30 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Fri Jun 28 10:46:30 2024 -> Archive support enabled. Fri Jun 28 10:46:30 2024 -> AlertExceedsMax heuristic detection disabled. Fri Jun 28 10:46:30 2024 -> Heuristic alerts enabled. Fri Jun 28 10:46:30 2024 -> Portable Executable support enabled. Fri Jun 28 10:46:30 2024 -> ELF support enabled. Fri Jun 28 10:46:30 2024 -> Mail files support enabled. Fri Jun 28 10:46:30 2024 -> OLE2 support enabled. Fri Jun 28 10:46:30 2024 -> PDF support enabled. Fri Jun 28 10:46:30 2024 -> SWF support enabled. Fri Jun 28 10:46:30 2024 -> HTML support enabled. Fri Jun 28 10:46:30 2024 -> XMLDOCS support enabled. Fri Jun 28 10:46:30 2024 -> HWP3 support enabled. Fri Jun 28 10:46:30 2024 -> Self checking every 600 seconds. Fri Jun 28 10:46:30 2024 -> Listening daemon: PID: 10038 Fri Jun 28 10:46:30 2024 -> MaxQueue set to: 800 LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Fri Jun 28 10:46:31 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 2.747 sec (0 m 2 s) Start Date: 2024:06:28 10:46:28 End Date: 2024:06:28 10:46:31 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Fri Jun 28 10:46:31 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.056 sec (0 m 0 s) Start Date: 2024:06:28 10:46:31 End Date: 2024:06:28 10:46:31 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Fri Jun 28 10:46:31 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.064 sec (0 m 0 s) Start Date: 2024:06:28 10:46:31 End Date: 2024:06:28 10:46:31 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.057 sec (0 m 0 s) Start Date: 2024:06:28 10:46:31 End Date: 2024:06:28 10:46:31 [DEBUG]: stderr: Fri Jun 28 10:46:31 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Fri Jun 28 10:46:31 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.055 sec (0 m 0 s) Start Date: 2024:06:28 10:46:31 End Date: 2024:06:28 10:46:31 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.051 sec (0 m 0 s) Start Date: 2024:06:28 10:46:31 End Date: 2024:06:28 10:46:31 [DEBUG]: stderr: Fri Jun 28 10:46:31 2024 -> Waiting for all threads to finish Fri Jun 28 10:46:31 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:32 2024 -> Shutting down the main sockets. Fri Jun 28 10:46:32 2024 -> Pid file removed. Fri Jun 28 10:46:32 2024 -> --- Stopped at Fri Jun 28 10:46:32 2024 Fri Jun 28 10:46:32 2024 -> Closing the main sockets. Fri Jun 28 10:46:32 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10038== Memcheck, a memory error detector [INFO]: ==10038== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10038== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10038== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [INFO]: ==10038== Parent PID: 9922 [INFO]: ==10038== [INFO]: --10038-- [INFO]: --10038-- Valgrind options: [INFO]: --10038-- -v [INFO]: --10038-- --trace-children=yes [INFO]: --10038-- --track-fds=yes [INFO]: --10038-- --leak-check=full [INFO]: --10038-- --show-possibly-lost=no [INFO]: --10038-- --show-leak-kinds=definite [INFO]: --10038-- --errors-for-leak-kinds=definite [INFO]: --10038-- --main-stacksize=16777216 [INFO]: --10038-- --gen-suppressions=all [INFO]: --10038-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10038-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: --10038-- --error-exitcode=123 [INFO]: --10038-- Contents of /proc/version: [INFO]: --10038-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --10038-- [INFO]: --10038-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --10038-- Page sizes: currently 4096, max supported 4096 [INFO]: --10038-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10038-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: --10038-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --10038-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10038-- might be shown as UnknownInlinedFun [INFO]: --10038-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --10038-- object doesn't have a dynamic symbol table [INFO]: --10038-- Scheduler: using generic scheduler lock implementation. [INFO]: --10038-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10038-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10038== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10038-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10038== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10038-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10038== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10038-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10038== [INFO]: ==10038== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10038== don't want to do, unless you know exactly what you're doing, [INFO]: ==10038== or are doing some strange experiment): [INFO]: ==10038== /usr/libexec/valgrind/../../bin/vgdb --pid=10038 ...command... [INFO]: ==10038== [INFO]: ==10038== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10038== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: ==10038== and then give GDB the following command [INFO]: ==10038== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10038 [INFO]: ==10038== --pid is optional if only one valgrind process is running [INFO]: ==10038== [INFO]: --10038-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --10038-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --10038-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --10038-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --10038-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10038-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10038-- Reading syms from /usr/lib64/libsystemd.so.0.38.0 [INFO]: --10038-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10038-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10038-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --10038-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10038-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10038-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --10038-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --10038-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10038-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10038-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --10038-- Reading syms from /usr/lib64/libcap.so.2.69 [INFO]: --10038-- Reading syms from /usr/lib64/liblz4.so.1.9.4 [INFO]: --10038-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10038-- Reading syms from /usr/lib64/libzstd.so.1.5.6 [INFO]: --10038-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5190160 (libc.so.6:memmem) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --10038-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==10038== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==10038== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x559F22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==10038== by 0x547F035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --10038-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --10038-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --10038-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --10038-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --10038-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --10038-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --10038-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --10038-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --10038-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --10038-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --10038-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --10038-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --10038-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --10038-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --10038-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --10038-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --10038-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --10038-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --10038-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --10038-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --10038-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: --10038-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --10038-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: ==10038== File descriptor 4: AF_INET6 socket 4: [::1]:3319 <-> is already closed [INFO]: ==10038== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x11608F: main (clamd.c:844) [INFO]: ==10038== Previously closed [INFO]: ==10038== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10038== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10038== Originally opened [INFO]: ==10038== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10038== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10038== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==10038== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x11608F: main (clamd.c:844) [INFO]: ==10038== Previously closed [INFO]: ==10038== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10038== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10038== Originally opened [INFO]: ==10038== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10038== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10038== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==10038== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x11608F: main (clamd.c:844) [INFO]: ==10038== Previously closed [INFO]: ==10038== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10038== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10038== Originally opened [INFO]: ==10038== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x11B383: localserver (localserver.c:149) [INFO]: ==10038== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --10038-- REDIR: 0x518cf50 (libc.so.6:malloc_usable_size) redirected to 0x4845800 (malloc_usable_size) [INFO]: --10038-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: ==10038== [INFO]: ==10038== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10038== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10038== [INFO]: ==10038== [INFO]: ==10038== (No origin, error cannot be suppressed) [INFO]: ==10038== [INFO]: ==10038== HEAP SUMMARY: [INFO]: ==10038== in use at exit: 1,059 bytes in 61 blocks [INFO]: ==10038== total heap usage: 10,891 allocs, 10,830 frees, 2,893,577 bytes allocated [INFO]: ==10038== [INFO]: ==10038== Searching for pointers to 61 not-freed blocks [INFO]: ==10038== Checked 304,144 bytes [INFO]: ==10038== [INFO]: ==10038== LEAK SUMMARY: [INFO]: ==10038== definitely lost: 0 bytes in 0 blocks [INFO]: ==10038== indirectly lost: 0 bytes in 0 blocks [INFO]: ==10038== possibly lost: 0 bytes in 0 blocks [INFO]: ==10038== still reachable: 1,059 bytes in 61 blocks [INFO]: ==10038== suppressed: 0 bytes in 0 blocks [INFO]: ==10038== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10038== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10038== [INFO]: ==10038== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) [INFO]: ==10038== [INFO]: ==10038== 1 errors in context 1 of 4: [INFO]: ==10038== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==10038== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x11608F: main (clamd.c:844) [INFO]: ==10038== Previously closed [INFO]: ==10038== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10038== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10038== Originally opened [INFO]: ==10038== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x11B383: localserver (localserver.c:149) [INFO]: ==10038== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10038== [INFO]: ==10038== 1 errors in context 2 of 4: [INFO]: ==10038== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==10038== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x11608F: main (clamd.c:844) [INFO]: ==10038== Previously closed [INFO]: ==10038== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10038== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10038== Originally opened [INFO]: ==10038== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10038== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10038== [INFO]: ==10038== 1 errors in context 3 of 4: [INFO]: ==10038== File descriptor 4: /proc/self/status is already closed [INFO]: ==10038== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x11608F: main (clamd.c:844) [INFO]: ==10038== Previously closed [INFO]: ==10038== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10038== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10038== Originally opened [INFO]: ==10038== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10038== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10038== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10038== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) _________________ TC.test_clamd_07_HeuristicScanPrecedence_on __________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ HeuristicScanPrecedence yes [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:46:34 2024 -> Limits: Global time limit set to 120000 milliseconds. Fri Jun 28 10:46:34 2024 -> Limits: Global size limit set to 419430400 bytes. Fri Jun 28 10:46:34 2024 -> Limits: File size limit set to 104857600 bytes. Fri Jun 28 10:46:34 2024 -> Limits: Recursion level limit set to 17. Fri Jun 28 10:46:34 2024 -> Limits: Files limit set to 10000. Fri Jun 28 10:46:34 2024 -> Limits: Core-dump limit is 0. Fri Jun 28 10:46:34 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Fri Jun 28 10:46:34 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Fri Jun 28 10:46:34 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Fri Jun 28 10:46:34 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Fri Jun 28 10:46:34 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Fri Jun 28 10:46:34 2024 -> Limits: MaxPartitions limit set to 50. Fri Jun 28 10:46:34 2024 -> Limits: MaxIconsPE limit set to 100. Fri Jun 28 10:46:34 2024 -> Limits: MaxRecHWP3 limit set to 16. Fri Jun 28 10:46:34 2024 -> Limits: PCREMatchLimit limit set to 100000. Fri Jun 28 10:46:34 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Fri Jun 28 10:46:34 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Fri Jun 28 10:46:34 2024 -> Archive support enabled. Fri Jun 28 10:46:34 2024 -> AlertExceedsMax heuristic detection disabled. Fri Jun 28 10:46:34 2024 -> Heuristic alerts enabled. Fri Jun 28 10:46:34 2024 -> Portable Executable support enabled. Fri Jun 28 10:46:34 2024 -> ELF support enabled. Fri Jun 28 10:46:34 2024 -> Mail files support enabled. Fri Jun 28 10:46:34 2024 -> OLE2 support enabled. Fri Jun 28 10:46:34 2024 -> PDF support enabled. Fri Jun 28 10:46:34 2024 -> SWF support enabled. Fri Jun 28 10:46:34 2024 -> HTML support enabled. Fri Jun 28 10:46:34 2024 -> XMLDOCS support enabled. Fri Jun 28 10:46:34 2024 -> HWP3 support enabled. Fri Jun 28 10:46:34 2024 -> Heuristic: precedence enabled Fri Jun 28 10:46:34 2024 -> Self checking every 600 seconds. Fri Jun 28 10:46:34 2024 -> Listening daemon: PID: 10054 Fri Jun 28 10:46:34 2024 -> MaxQueue set to: 800 LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Fri Jun 28 10:46:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 2.638 sec (0 m 2 s) Start Date: 2024:06:28 10:46:32 End Date: 2024:06:28 10:46:34 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Fri Jun 28 10:46:35 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.035 sec (0 m 0 s) Start Date: 2024:06:28 10:46:34 End Date: 2024:06:28 10:46:35 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Fri Jun 28 10:46:35 2024 -> instream(local): Heuristics.Phishing.Email.SpoofedDomain FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.044 sec (0 m 0 s) Start Date: 2024:06:28 10:46:35 End Date: 2024:06:28 10:46:35 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.039 sec (0 m 0 s) Start Date: 2024:06:28 10:46:35 End Date: 2024:06:28 10:46:35 [DEBUG]: stderr: Fri Jun 28 10:46:35 2024 -> instream(local): Heuristics.Phishing.Email.SpoofedDomain FOUND [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Fri Jun 28 10:46:35 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.038 sec (0 m 0 s) Start Date: 2024:06:28 10:46:35 End Date: 2024:06:28 10:46:35 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.035 sec (0 m 0 s) Start Date: 2024:06:28 10:46:35 End Date: 2024:06:28 10:46:35 [DEBUG]: stderr: Fri Jun 28 10:46:35 2024 -> Waiting for all threads to finish Fri Jun 28 10:46:35 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND Fri Jun 28 10:46:35 2024 -> Shutting down the main sockets. Fri Jun 28 10:46:35 2024 -> Pid file removed. Fri Jun 28 10:46:35 2024 -> --- Stopped at Fri Jun 28 10:46:35 2024 Fri Jun 28 10:46:35 2024 -> Closing the main sockets. Fri Jun 28 10:46:35 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10054== Memcheck, a memory error detector [INFO]: ==10054== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10054== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10054== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [INFO]: ==10054== Parent PID: 9922 [INFO]: ==10054== [INFO]: --10054-- [INFO]: --10054-- Valgrind options: [INFO]: --10054-- -v [INFO]: --10054-- --trace-children=yes [INFO]: --10054-- --track-fds=yes [INFO]: --10054-- --leak-check=full [INFO]: --10054-- --show-possibly-lost=no [INFO]: --10054-- --show-leak-kinds=definite [INFO]: --10054-- --errors-for-leak-kinds=definite [INFO]: --10054-- --main-stacksize=16777216 [INFO]: --10054-- --gen-suppressions=all [INFO]: --10054-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10054-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: --10054-- --error-exitcode=123 [INFO]: --10054-- Contents of /proc/version: [INFO]: --10054-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --10054-- [INFO]: --10054-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --10054-- Page sizes: currently 4096, max supported 4096 [INFO]: --10054-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10054-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: --10054-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --10054-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10054-- might be shown as UnknownInlinedFun [INFO]: --10054-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --10054-- object doesn't have a dynamic symbol table [INFO]: --10054-- Scheduler: using generic scheduler lock implementation. [INFO]: --10054-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10054-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10054== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10054-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10054== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10054-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10054== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10054-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10054== [INFO]: ==10054== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10054== don't want to do, unless you know exactly what you're doing, [INFO]: ==10054== or are doing some strange experiment): [INFO]: ==10054== /usr/libexec/valgrind/../../bin/vgdb --pid=10054 ...command... [INFO]: ==10054== [INFO]: ==10054== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10054== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: ==10054== and then give GDB the following command [INFO]: ==10054== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10054 [INFO]: ==10054== --pid is optional if only one valgrind process is running [INFO]: ==10054== [INFO]: --10054-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --10054-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --10054-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --10054-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --10054-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10054-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10054-- Reading syms from /usr/lib64/libsystemd.so.0.38.0 [INFO]: --10054-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10054-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10054-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --10054-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10054-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10054-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --10054-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --10054-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10054-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10054-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --10054-- Reading syms from /usr/lib64/libcap.so.2.69 [INFO]: --10054-- Reading syms from /usr/lib64/liblz4.so.1.9.4 [INFO]: --10054-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10054-- Reading syms from /usr/lib64/libzstd.so.1.5.6 [INFO]: --10054-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10054-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10054-- REDIR: 0x5190160 (libc.so.6:memmem) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10054-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --10054-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==10054== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==10054== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x559F22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==10054== by 0x547F035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --10054-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --10054-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --10054-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --10054-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --10054-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --10054-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --10054-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --10054-- REDIR: 0x5190280 (libc.so.6:strcasecmp_l) redirected to 0x4847c60 (strcasecmp_l) [INFO]: --10054-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --10054-- REDIR: 0x5199480 (libc.so.6:strnlen) redirected to 0x4846710 (strnlen) [INFO]: --10054-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --10054-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --10054-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --10054-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --10054-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --10054-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --10054-- REDIR: 0x5193130 (libc.so.6:strlcat) redirected to 0x48464a0 (strlcat) [INFO]: --10054-- REDIR: 0x5199b60 (libc.so.6:strcat) redirected to 0x4846110 (strcat) [INFO]: --10054-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --10054-- REDIR: 0x51932d0 (libc.so.6:strncasecmp) redirected to 0x4847aa0 (strncasecmp) [INFO]: --10054-- REDIR: 0x5209380 (libc.so.6:__memmove_chk) redirected to 0x484e560 (__memmove_chk) [INFO]: --10054-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: --10054-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: ==10054== File descriptor 4: AF_INET6 socket 4: [::1]:3319 <-> is already closed [INFO]: ==10054== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x11608F: main (clamd.c:844) [INFO]: ==10054== Previously closed [INFO]: ==10054== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10054== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10054== Originally opened [INFO]: ==10054== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10054== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10054== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==10054== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x11608F: main (clamd.c:844) [INFO]: ==10054== Previously closed [INFO]: ==10054== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10054== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10054== Originally opened [INFO]: ==10054== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10054== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10054== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==10054== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x11608F: main (clamd.c:844) [INFO]: ==10054== Previously closed [INFO]: ==10054== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10054== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10054== Originally opened [INFO]: ==10054== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x11B383: localserver (localserver.c:149) [INFO]: ==10054== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --10054-- REDIR: 0x518cf50 (libc.so.6:malloc_usable_size) redirected to 0x4845800 (malloc_usable_size) [INFO]: --10054-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: ==10054== [INFO]: ==10054== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10054== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10054== [INFO]: ==10054== [INFO]: ==10054== (No origin, error cannot be suppressed) [INFO]: ==10054== [INFO]: ==10054== HEAP SUMMARY: [INFO]: ==10054== in use at exit: 1,059 bytes in 61 blocks [INFO]: ==10054== total heap usage: 10,264 allocs, 10,203 frees, 2,225,780 bytes allocated [INFO]: ==10054== [INFO]: ==10054== Searching for pointers to 61 not-freed blocks [INFO]: ==10054== Checked 304,144 bytes [INFO]: ==10054== [INFO]: ==10054== LEAK SUMMARY: [INFO]: ==10054== definitely lost: 0 bytes in 0 blocks [INFO]: ==10054== indirectly lost: 0 bytes in 0 blocks [INFO]: ==10054== possibly lost: 0 bytes in 0 blocks [INFO]: ==10054== still reachable: 1,059 bytes in 61 blocks [INFO]: ==10054== suppressed: 0 bytes in 0 blocks [INFO]: ==10054== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10054== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10054== [INFO]: ==10054== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) [INFO]: ==10054== [INFO]: ==10054== 1 errors in context 1 of 4: [INFO]: ==10054== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==10054== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x11608F: main (clamd.c:844) [INFO]: ==10054== Previously closed [INFO]: ==10054== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10054== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10054== Originally opened [INFO]: ==10054== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x11B383: localserver (localserver.c:149) [INFO]: ==10054== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10054== [INFO]: ==10054== 1 errors in context 2 of 4: [INFO]: ==10054== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==10054== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x11608F: main (clamd.c:844) [INFO]: ==10054== Previously closed [INFO]: ==10054== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10054== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10054== Originally opened [INFO]: ==10054== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10054== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10054== [INFO]: ==10054== 1 errors in context 3 of 4: [INFO]: ==10054== File descriptor 4: /proc/self/status is already closed [INFO]: ==10054== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x11608F: main (clamd.c:844) [INFO]: ==10054== Previously closed [INFO]: ==10054== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10054== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10054== Originally opened [INFO]: ==10054== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10054== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10054== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10054== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) _________________________ TC.test_clamd_08_VirusEvent __________________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ VirusEvent [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe Fri Jun 28 10:46:37 2024 -> Limits: Global time limit set to 120000 milliseconds. Fri Jun 28 10:46:37 2024 -> Limits: Global size limit set to 419430400 bytes. Fri Jun 28 10:46:37 2024 -> Limits: File size limit set to 104857600 bytes. Fri Jun 28 10:46:37 2024 -> Limits: Recursion level limit set to 17. Fri Jun 28 10:46:37 2024 -> Limits: Files limit set to 10000. Fri Jun 28 10:46:37 2024 -> Limits: Core-dump limit is 0. Fri Jun 28 10:46:37 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Fri Jun 28 10:46:37 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Fri Jun 28 10:46:37 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Fri Jun 28 10:46:37 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Fri Jun 28 10:46:37 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Fri Jun 28 10:46:37 2024 -> Limits: MaxPartitions limit set to 50. Fri Jun 28 10:46:37 2024 -> Limits: MaxIconsPE limit set to 100. Fri Jun 28 10:46:37 2024 -> Limits: MaxRecHWP3 limit set to 16. Fri Jun 28 10:46:37 2024 -> Limits: PCREMatchLimit limit set to 100000. Fri Jun 28 10:46:37 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Fri Jun 28 10:46:37 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Fri Jun 28 10:46:37 2024 -> Archive support enabled. Fri Jun 28 10:46:37 2024 -> AlertExceedsMax heuristic detection disabled. Fri Jun 28 10:46:37 2024 -> Heuristic alerts enabled. Fri Jun 28 10:46:37 2024 -> Portable Executable support enabled. Fri Jun 28 10:46:37 2024 -> ELF support enabled. Fri Jun 28 10:46:37 2024 -> Mail files support enabled. Fri Jun 28 10:46:37 2024 -> OLE2 support enabled. Fri Jun 28 10:46:37 2024 -> PDF support enabled. Fri Jun 28 10:46:37 2024 -> SWF support enabled. Fri Jun 28 10:46:37 2024 -> HTML support enabled. Fri Jun 28 10:46:37 2024 -> XMLDOCS support enabled. Fri Jun 28 10:46:37 2024 -> HWP3 support enabled. Fri Jun 28 10:46:37 2024 -> Heuristic: precedence enabled Fri Jun 28 10:46:37 2024 -> Self checking every 600 seconds. Fri Jun 28 10:46:37 2024 -> Listening daemon: PID: 10072 Fri Jun 28 10:46:37 2024 -> MaxQueue set to: 800 Fri Jun 28 10:46:38 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 4.393 sec (0 m 4 s) Start Date: 2024:06:28 10:46:35 End Date: 2024:06:28 10:46:39 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf -m /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe Fri Jun 28 10:46:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 1.955 sec (0 m 1 s) Start Date: 2024:06:28 10:46:39 End Date: 2024:06:28 10:46:41 [DEBUG]: stderr: [INFO]: verifying log output from virusaction-test.sh: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/test-clamd.log Fri Jun 28 10:46:41 2024 -> Waiting for all threads to finish Fri Jun 28 10:46:41 2024 -> Shutting down the main sockets. Fri Jun 28 10:46:41 2024 -> Pid file removed. Fri Jun 28 10:46:41 2024 -> --- Stopped at Fri Jun 28 10:46:41 2024 Fri Jun 28 10:46:41 2024 -> Closing the main sockets. Fri Jun 28 10:46:41 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10083== Memcheck, a memory error detector [INFO]: ==10083== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10083== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10083== Command: /usr/bin/basename /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [INFO]: ==10083== Parent PID: 10081 [INFO]: ==10083== [INFO]: --10083-- [INFO]: --10083-- Valgrind options: [INFO]: --10083-- -v [INFO]: --10083-- --trace-children=yes [INFO]: --10083-- --track-fds=yes [INFO]: --10083-- --leak-check=full [INFO]: --10083-- --show-possibly-lost=no [INFO]: --10083-- --show-leak-kinds=definite [INFO]: --10083-- --errors-for-leak-kinds=definite [INFO]: --10083-- --main-stacksize=16777216 [INFO]: --10083-- --gen-suppressions=all [INFO]: --10083-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10083-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: --10083-- --error-exitcode=123 [INFO]: --10083-- Contents of /proc/version: [INFO]: --10083-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --10083-- [INFO]: --10083-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --10083-- Page sizes: currently 4096, max supported 4096 [INFO]: --10083-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10083-- Reading syms from /usr/bin/basename [INFO]: --10083-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --10083-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10083-- might be shown as UnknownInlinedFun [INFO]: --10083-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --10083-- object doesn't have a dynamic symbol table [INFO]: --10083-- Scheduler: using generic scheduler lock implementation. [INFO]: --10083-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10083-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10083== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10083-by-???-on-??? [INFO]: ==10083== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10083-by-???-on-??? [INFO]: ==10083== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10083-by-???-on-??? [INFO]: ==10083== [INFO]: ==10083== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10083== don't want to do, unless you know exactly what you're doing, [INFO]: ==10083== or are doing some strange experiment): [INFO]: ==10083== /usr/libexec/valgrind/../../bin/vgdb --pid=10083 ...command... [INFO]: ==10083== [INFO]: ==10083== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10083== /path/to/gdb /usr/bin/basename [INFO]: ==10083== and then give GDB the following command [INFO]: ==10083== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10083 [INFO]: ==10083== --pid is optional if only one valgrind process is running [INFO]: ==10083== [INFO]: --10083-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --10083-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --10083-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --10083-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --10083-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10083-- REDIR: 0x49292c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --10083-- REDIR: 0x4929020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: --10083-- REDIR: 0x4929160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --10083-- REDIR: 0x491ad70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --10083-- REDIR: 0x491a580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --10083-- REDIR: 0x4998360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: ==10083== [INFO]: ==10083== FILE DESCRIPTORS: 13 open (1 std) at exit. [INFO]: ==10083== Open file descriptor 14: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10083== [INFO]: ==10083== [INFO]: ==10083== (No origin, error cannot be suppressed) [INFO]: ==10083== Open file descriptor 13: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10083== [INFO]: ==10083== [INFO]: ==10083== (No origin, error cannot be suppressed) [INFO]: ==10083== Open file descriptor 12: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10083== [INFO]: ==10083== [INFO]: ==10083== (No origin, error cannot be suppressed) [INFO]: ==10083== Open AF_UNIX socket 11: clamd-test.socket [INFO]: ==10083== [INFO]: ==10083== [INFO]: ==10083== (No origin, error cannot be suppressed) [INFO]: ==10083== Open file descriptor 10: [INFO]: ==10083== [INFO]: ==10083== [INFO]: ==10083== (No origin, error cannot be suppressed) [INFO]: ==10083== Open file descriptor 9: [INFO]: ==10083== [INFO]: ==10083== [INFO]: ==10083== (No origin, error cannot be suppressed) [INFO]: ==10083== Open file descriptor 8: [INFO]: ==10083== [INFO]: ==10083== [INFO]: ==10083== (No origin, error cannot be suppressed) [INFO]: ==10083== Open file descriptor 7: [INFO]: ==10083== [INFO]: ==10083== [INFO]: ==10083== (No origin, error cannot be suppressed) [INFO]: ==10083== Open AF_UNIX socket 6: clamd-test.socket [INFO]: ==10083== [INFO]: ==10083== [INFO]: ==10083== (No origin, error cannot be suppressed) [INFO]: ==10083== Open AF_INET socket 5: 127.0.0.1:3319 <-> [INFO]: ==10083== [INFO]: ==10083== [INFO]: ==10083== (No origin, error cannot be suppressed) [INFO]: ==10083== Open AF_INET6 socket 4: [::1]:3319 <-> [INFO]: ==10083== [INFO]: ==10083== [INFO]: ==10083== (No origin, error cannot be suppre==10081== [INFO]: ==10081== FILE DESCRIPTORS: 15 open (3 std) at exit. [INFO]: ==10081== Open file descriptor 255: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/virusaction-test.sh [INFO]: ==10081== at 0x49B15F6: dup2 (in /usr/lib64/libc.so.6) [INFO]: ==10081== by 0x1490FD: move_to_high_fd (in /usr/bin/bash) [INFO]: ==10081== by 0x13AAB9: main (in /usr/bin/bash) [INFO]: ==10081== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:dup2 [INFO]: fun:move_to_high_fd [INFO]: fun:main [INFO]: } [INFO]: ==10081== Open file descriptor 13: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10081== [INFO]: ==10081== [INFO]: ==10081== (No origin, error cannot be suppressed) [INFO]: ==10081== Open file descriptor 12: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10081== [INFO]: ==10081== [INFO]: ==10081== (No origin, error cannot be suppressed) [INFO]: ==10081== Open AF_UNIX socket 11: clamd-test.socket [INFO]: ==10081== [INFO]: ==10081== [INFO]: ==10081== (No origin, error cannot be suppressed) [INFO]: ==10081== Open file descriptor 10: [INFO]: ==10081== [INFO]: ==10081== [INFO]: ==10081== (No origin, error cannot be suppressed) [INFO]: ==10081== Open file descriptor 9: [INFO]: ==10081== [INFO]: ==10081== [INFO]: ==10081== (No origin, error cannot be suppressed) [INFO]: ==10081== Open file descriptor 8: [INFO]: ==10081== [INFO]: ==10081== [INFO]: ==10081== (No origin, error cannot be suppressed) [INFO]: ==10081== Open file descriptor 7: [INFO]: ==10081== [INFO]: ==10081== [INFO]: ==10081== (No origin, error cannot be suppressed) [INFO]: ==10081== Open AF_UNIX socket 6: clamd-test.socket [INFO]: ==10081== [INFO]: ==10081== [INFO]: ==10081== (No origin, error cannot be suppressed) [INFO]: ==10081== Open AF_INET socket 5: 127.0.0.1:3319 <-> [INFO]: ==10081== [INFO]: ==10081== [INFO]: ==10081== (No origin, error cannot be suppressed) [INFO]: ==10081== Open AF_INET6 socket 4: [::1]:3319 <-> [INFO]: ==10081== [INFO]: ==10081== [INFO]: ==10081== (No origin, error cannot be suppressed) [INFO]: ==10081== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10081== [INFO]: ==10081== [INFO]: ==10081== (No origin, error cannot be suppressed) [INFO]: ==10081== [INFO]: ==10081== HEAP SUMMARY: [INFO]: ==10081== in use at exit: 49,393 bytes in 375 blocks [INFO]: ==10081== total heap usage: 576 allocs, 201 frees, 76,640 bytes allocated [INFO]: ==10081== [INFO]: ==10081== Searching for pointers to 375 not-freed blocks [INFO]: ==10081== Checked 206,984 bytes [INFO]: ==10081== [INFO]: ==10081== LEAK SUMMARY: [INFO]: ==10081== definitely lost: 0 bytes in 0 blocks [INFO]: ==10081== indirectly lost: 0 bytes in 0 blocks [INFO]: ==10081== possibly lost: 0 bytes in 0 blocks [INFO]: ==10081== still reachable: 49,393 bytes in 375 blocks [INFO]: ==10081== suppressed: 0 bytes in 0 blocks [INFO]: ==10081== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10081== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10081== [INFO]: ==10081== ERROR SUMMARY: 12 errors from 12 contexts (suppressed: 0 from 0) [INFO]: ==10072== File descriptor 4: AF_INET6 socket 4: [::1]:3319 <-> is already closed [INFO]: ==10072== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x11608F: main (clamd.c:844) [INFO]: ==10072== Previously closed [INFO]: ==10072== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10072== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10072== Originally opened [INFO]: ==10072== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10072== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10072== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==10072== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x11608F: main (clamd.c:844) [INFO]: ==10072== Previously closed [INFO]: ==10072== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10072== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10072== Originally opened [INFO]: ==10072== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10072== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10072== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==10072== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x11608F: main (clamd.c:844) [INFO]: ==10072== Previously closed [INFO]: ==10072== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10072== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10072== Originally opened [INFO]: ==10072== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x11B383: localserver (localserver.c:149) [INFO]: ==10072== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --10072-- REDIR: 0x518cf50 (libc.so.6:malloc_usable_size) redirected to 0x4845800 (malloc_usable_size) [INFO]: --10072-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --10072-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: ==10072== [INFO]: ==10072== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10072== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10072== [INFO]: ==10072== [INFO]: ==10072== (No origin, error cannot be suppressed) [INFO]: ==10072== [INFO]: ==10072== HEAP SUMMARY: [INFO]: ==10072== in use at exit: 0 bytes in 0 blocks [INFO]: ==10072== total heap usage: 9,641 allocs, 9,641 frees, 1,288,068 bytes allocated [INFO]: ==10072== [INFO]: ==10072== All heap blocks were freed -- no leaks are possible [INFO]: ==10072== [INFO]: ==10072== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) [INFO]: ==10072== [INFO]: ==10072== 1 errors in context 1 of 4: [INFO]: ==10072== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==10072== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x11608F: main (clamd.c:844) [INFO]: ==10072== Previously closed [INFO]: ==10072== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10072== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10072== Originally opened [INFO]: ==10072== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x11B383: localserver (localserver.c:149) [INFO]: ==10072== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10072== [INFO]: ==10072== 1 errors in context 2 of 4: [INFO]: ==10072== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==10072== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x11608F: main (clamd.c:844) [INFO]: ==10072== Previously closed [INFO]: ==10072== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10072== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10072== Originally opened [INFO]: ==10072== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10072== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10072== [INFO]: ==10072== 1 errors in context 3 of 4: [INFO]: ==10072== File descriptor 4: /proc/self/status is already closed [INFO]: ==10072== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x11608F: main (clamd.c:844) [INFO]: ==10072== Previously closed [INFO]: ==10072== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10072== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10072== Originally opened [INFO]: ==10072== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10072== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10072== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10072== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) ____________________ TC.test_clamd_09_clamdscan_ExcludePath ____________________ self = def test_clamd_09_clamdscan_ExcludePath(self): ''' Verify that ExcudePath works and does not cause other on works as expected. We'll use valgrind on clamdscan instead of clamd for this one, if enabled as a regression for clamdscan memory leak fixes. With it on, we expect the scan to stop and raise an alert as soon as the phishing heuristic is detected. ''' self.step_name('Testing clamd + clamdscan w/ ExcludePath') (TC.path_tmp / 'alpha').mkdir() (TC.path_tmp / 'beta').mkdir() (TC.path_tmp / 'charlie').mkdir() shutil.copy(str(TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe'), str(TC.path_tmp / 'alpha' / 'a_found')) # This should be found (first) shutil.copy(str(TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe'), str(TC.path_tmp / 'beta' / 'b_excluded')) # This one should be excluded shutil.copy(str(TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe'), str(TC.path_tmp / 'charlie' / 'c_found')) # This one should still be found after excluding the previous with TC.clamd_config.open('a') as config: exclude_path = 'beta' config.write(''' ExcludePath {} '''.format(exclude_path)) self.start_clamd(use_valgrind=False) poll = self.proc.poll() assert poll == None # subprocess is alive if poll() returns None expected_out = [ 'a_found: ClamAV-Test-File.UNOFFICIAL FOUND', # 'b_excluded: Excluded', <-- Bug: this doesn't appear in recursive regular scans :-(, only fdpass and stream 'c_found: ClamAV-Test-File.UNOFFICIAL FOUND', ] unexpected_out = [ 'a_found: Excluded', 'b_excluded: ClamAV-Test-File.UNOFFICIAL FOUND', 'c_found: Excluded', ] > self.run_clamdscan('{}'.format(TC.path_tmp), expected_ec=1, expected_out=expected_out, unexpected_out=unexpected_out, use_valgrind=True) /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:512: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:201: in run_clamdscan self.verify_valgrind_log() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ ExcludePath [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:46:42 2024 -> Limits: Global time limit set to 120000 milliseconds. Fri Jun 28 10:46:42 2024 -> Limits: Global size limit set to 419430400 bytes. Fri Jun 28 10:46:42 2024 -> Limits: File size limit set to 104857600 bytes. Fri Jun 28 10:46:42 2024 -> Limits: Recursion level limit set to 17. Fri Jun 28 10:46:42 2024 -> Limits: Files limit set to 10000. Fri Jun 28 10:46:42 2024 -> Limits: Core-dump limit is 0. Fri Jun 28 10:46:42 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Fri Jun 28 10:46:42 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Fri Jun 28 10:46:42 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Fri Jun 28 10:46:42 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Fri Jun 28 10:46:42 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Fri Jun 28 10:46:42 2024 -> Limits: MaxPartitions limit set to 50. Fri Jun 28 10:46:42 2024 -> Limits: MaxIconsPE limit set to 100. Fri Jun 28 10:46:42 2024 -> Limits: MaxRecHWP3 limit set to 16. Fri Jun 28 10:46:42 2024 -> Limits: PCREMatchLimit limit set to 100000. Fri Jun 28 10:46:42 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Fri Jun 28 10:46:42 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Fri Jun 28 10:46:42 2024 -> Archive support enabled. Fri Jun 28 10:46:42 2024 -> AlertExceedsMax heuristic detection disabled. Fri Jun 28 10:46:42 2024 -> Heuristic alerts enabled. Fri Jun 28 10:46:42 2024 -> Portable Executable support enabled. Fri Jun 28 10:46:42 2024 -> ELF support enabled. Fri Jun 28 10:46:42 2024 -> Mail files support enabled. Fri Jun 28 10:46:42 2024 -> OLE2 support enabled. Fri Jun 28 10:46:42 2024 -> PDF support enabled. Fri Jun 28 10:46:42 2024 -> SWF support enabled. Fri Jun 28 10:46:42 2024 -> HTML support enabled. Fri Jun 28 10:46:42 2024 -> XMLDOCS support enabled. Fri Jun 28 10:46:42 2024 -> HWP3 support enabled. Fri Jun 28 10:46:42 2024 -> Heuristic: precedence enabled Fri Jun 28 10:46:42 2024 -> Self checking every 600 seconds. Fri Jun 28 10:46:42 2024 -> Listening daemon: PID: 10084 Fri Jun 28 10:46:42 2024 -> MaxQueue set to: 800 [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf Fri Jun 28 10:46:43 2024 -> Not supported file type: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.socket Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf: OK Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log: OK Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/test-clamd.log: OK Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.pid: OK Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/database/clamav.hdb: OK Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/database/daily.pdb: OK Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/database/reload-test.ndb: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/alpha/a_found: ClamAV-Test-File.UNOFFICIAL FOUND Fri Jun 28 10:46:43 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/charlie/c_found: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/database/reload-test.ndb: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/alpha/a_found: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/charlie/c_found: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 4 Time: 0.066 sec (0 m 0 s) Start Date: 2024:06:28 10:46:43 End Date: 2024:06:28 10:46:43 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10087== Memcheck, a memory error detector [INFO]: ==10087== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10087== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10087== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [INFO]: ==10087== Parent PID: 9922 [INFO]: ==10087== [INFO]: --10087-- [INFO]: --10087-- Valgrind options: [INFO]: --10087-- -v [INFO]: --10087-- --trace-children=yes [INFO]: --10087-- --track-fds=yes [INFO]: --10087-- --leak-check=full [INFO]: --10087-- --show-possibly-lost=no [INFO]: --10087-- --show-leak-kinds=definite [INFO]: --10087-- --errors-for-leak-kinds=definite [INFO]: --10087-- --main-stacksize=16777216 [INFO]: --10087-- --gen-suppressions=all [INFO]: --10087-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10087-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: --10087-- --error-exitcode=123 [INFO]: --10087-- Contents of /proc/version: [INFO]: --10087-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --10087-- [INFO]: --10087-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --10087-- Page sizes: currently 4096, max supported 4096 [INFO]: --10087-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan [INFO]: --10087-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --10087-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10087-- might be shown as UnknownInlinedFun [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --10087-- object doesn't have a dynamic symbol table [INFO]: --10087-- Scheduler: using generic scheduler lock implementation. [INFO]: --10087-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10087-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10087== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10087-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10087== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10087-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10087== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10087-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10087== [INFO]: ==10087== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10087== don't want to do, unless you know exactly what you're doing, [INFO]: ==10087== or are doing some strange experiment): [INFO]: ==10087== /usr/libexec/valgrind/../../bin/vgdb --pid=10087 ...command... [INFO]: ==10087== [INFO]: ==10087== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10087== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan [INFO]: ==10087== and then give GDB the following command [INFO]: ==10087== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10087 [INFO]: ==10087== --pid is optional if only one valgrind process is running [INFO]: ==10087== [INFO]: --10087-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --10087-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10087-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10087-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10087-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --10087-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10087-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10087-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --10087-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --10087-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10087-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10087-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --10087-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10087-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --10087-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==10087== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==10087== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==10087== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==10087== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --10087-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --10087-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --10087-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --10087-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --10087-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --10087-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --10087-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --10087-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --10087-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --10087-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --10087-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --10087-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --10087-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --10087-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: ==10087== [INFO]: ==10087== FILE DESCRIPTORS: 5 open (3 std) at exit. [INFO]: ==10087== Open AF_UNIX socket 4: [INFO]: ==10087== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10087== by 0x1156FF: dconnect (clamdcom.c:279) [INFO]: ==10087== by 0x119301: ping_clamd (client.c:223) [INFO]: ==10087== by 0x113655: UnknownInlinedFun (client.c:398) [INFO]: ==10087== by 0x113655: main (clamdscan.c:169) [INFO]: ==10087== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:socket [INFO]: fun:dconnect [INFO]: fun:ping_clamd [INFO]: fun:UnknownInlinedFun [INFO]: fun:main [INFO]: } [INFO]: ==10087== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10087== [INFO]: ==10087== [INFO]: ==10087== (No origin, error cannot be suppressed) [INFO]: ==10087== [INFO]: ==10087== HEAP SUMMARY: [INFO]: ==10087== in use at exit: 0 bytes in 0 blocks [INFO]: ==10087== total heap usage: 851 allocs, 851 frees, 67,771 bytes allocated [INFO]: ==10087== [INFO]: ==10087== All heap blocks were freed -- no leaks are possible [INFO]: ==10087== [INFO]: ==10087== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Fri Jun 28 10:46:43 2024 -> Waiting for all threads to finish Fri Jun 28 10:46:43 2024 -> Shutting down the main sockets. Fri Jun 28 10:46:43 2024 -> Pid file removed. Fri Jun 28 10:46:43 2024 -> --- Stopped at Fri Jun 28 10:46:43 2024 Fri Jun 28 10:46:43 2024 -> Closing the main sockets. Fri Jun 28 10:46:43 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10087== Memcheck, a memory error detector [INFO]: ==10087== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10087== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10087== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [INFO]: ==10087== Parent PID: 9922 [INFO]: ==10087== [INFO]: --10087-- [INFO]: --10087-- Valgrind options: [INFO]: --10087-- -v [INFO]: --10087-- --trace-children=yes [INFO]: --10087-- --track-fds=yes [INFO]: --10087-- --leak-check=full [INFO]: --10087-- --show-possibly-lost=no [INFO]: --10087-- --show-leak-kinds=definite [INFO]: --10087-- --errors-for-leak-kinds=definite [INFO]: --10087-- --main-stacksize=16777216 [INFO]: --10087-- --gen-suppressions=all [INFO]: --10087-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10087-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: --10087-- --error-exitcode=123 [INFO]: --10087-- Contents of /proc/version: [INFO]: --10087-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --10087-- [INFO]: --10087-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --10087-- Page sizes: currently 4096, max supported 4096 [INFO]: --10087-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan [INFO]: --10087-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --10087-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10087-- might be shown as UnknownInlinedFun [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --10087-- object doesn't have a dynamic symbol table [INFO]: --10087-- Scheduler: using generic scheduler lock implementation. [INFO]: --10087-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10087-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10087== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10087-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10087== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10087-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10087== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10087-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10087== [INFO]: ==10087== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10087== don't want to do, unless you know exactly what you're doing, [INFO]: ==10087== or are doing some strange experiment): [INFO]: ==10087== /usr/libexec/valgrind/../../bin/vgdb --pid=10087 ...command... [INFO]: ==10087== [INFO]: ==10087== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10087== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan [INFO]: ==10087== and then give GDB the following command [INFO]: ==10087== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10087 [INFO]: ==10087== --pid is optional if only one valgrind process is running [INFO]: ==10087== [INFO]: --10087-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --10087-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10087-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10087-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10087-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --10087-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10087-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10087-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --10087-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --10087-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10087-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10087-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --10087-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10087-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --10087-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==10087== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==10087== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==10087== by 0x54AB22B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==10087== by 0x538B035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --10087-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --10087-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --10087-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --10087-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --10087-- REDIR: 0x5197d30 (libc.so.6:__memmove_arch13) redirected to 0x484d260 (memmove) [INFO]: --10087-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --10087-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --10087-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --10087-- REDIR: 0x519a630 (libc.so.6:strpbrk) redirected to 0x484f860 (strpbrk) [INFO]: --10087-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --10087-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --10087-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --10087-- REDIR: 0x5197b40 (libc.so.6:bcmp) redirected to 0x484c4b0 (bcmp) [INFO]: --10087-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: ==10087== [INFO]: ==10087== FILE DESCRIPTORS: 5 open (3 std) at exit. [INFO]: ==10087== Open AF_UNIX socket 4: [INFO]: ==10087== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10087== by 0x1156FF: dconnect (clamdcom.c:279) [INFO]: ==10087== by 0x119301: ping_clamd (client.c:223) [INFO]: ==10087== by 0x113655: UnknownInlinedFun (client.c:398) [INFO]: ==10087== by 0x113655: main (clamdscan.c:169) [INFO]: ==10087== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:socket [INFO]: fun:dconnect [INFO]: fun:ping_clamd [INFO]: fun:UnknownInlinedFun [INFO]: fun:main [INFO]: } [INFO]: ==10087== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10087== [INFO]: ==10087== [INFO]: ==10087== (No origin, error cannot be suppressed) [INFO]: ==10087== [INFO]: ==10087== HEAP SUMMARY: [INFO]: ==10087== in use at exit: 0 bytes in 0 blocks [INFO]: ==10087== total heap usage: 851 allocs, 851 frees, 67,771 bytes allocated [INFO]: ==10087== [INFO]: ==10087== All heap blocks were freed -- no leaks are possible [INFO]: ==10087== [INFO]: ==10087== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) _____________________ TC.test_clamd_10_allmatch_not_sticky _____________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamdscan --allmatch is not sticky [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf --wait --ping 10 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode Fri Jun 28 10:46:45 2024 -> Limits: Global time limit set to 120000 milliseconds. Fri Jun 28 10:46:45 2024 -> Limits: Global size limit set to 419430400 bytes. Fri Jun 28 10:46:45 2024 -> Limits: File size limit set to 104857600 bytes. Fri Jun 28 10:46:45 2024 -> Limits: Recursion level limit set to 17. Fri Jun 28 10:46:45 2024 -> Limits: Files limit set to 10000. Fri Jun 28 10:46:45 2024 -> Limits: Core-dump limit is 0. Fri Jun 28 10:46:45 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Fri Jun 28 10:46:45 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Fri Jun 28 10:46:45 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Fri Jun 28 10:46:45 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Fri Jun 28 10:46:45 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Fri Jun 28 10:46:45 2024 -> Limits: MaxPartitions limit set to 50. Fri Jun 28 10:46:45 2024 -> Limits: MaxIconsPE limit set to 100. Fri Jun 28 10:46:45 2024 -> Limits: MaxRecHWP3 limit set to 16. Fri Jun 28 10:46:45 2024 -> Limits: PCREMatchLimit limit set to 100000. Fri Jun 28 10:46:45 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Fri Jun 28 10:46:45 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Fri Jun 28 10:46:45 2024 -> Archive support enabled. Fri Jun 28 10:46:45 2024 -> AlertExceedsMax heuristic detection disabled. Fri Jun 28 10:46:45 2024 -> Heuristic alerts enabled. Fri Jun 28 10:46:45 2024 -> Portable Executable support enabled. Fri Jun 28 10:46:45 2024 -> ELF support enabled. Fri Jun 28 10:46:45 2024 -> Mail files support enabled. Fri Jun 28 10:46:45 2024 -> OLE2 support enabled. Fri Jun 28 10:46:45 2024 -> PDF support enabled. Fri Jun 28 10:46:45 2024 -> SWF support enabled. Fri Jun 28 10:46:45 2024 -> HTML support enabled. Fri Jun 28 10:46:45 2024 -> XMLDOCS support enabled. Fri Jun 28 10:46:45 2024 -> HWP3 support enabled. Fri Jun 28 10:46:45 2024 -> Heuristic: precedence enabled Fri Jun 28 10:46:45 2024 -> Self checking every 600 seconds. Fri Jun 28 10:46:45 2024 -> Listening daemon: PID: 10100 Fri Jun 28 10:46:45 2024 -> MaxQueue set to: 800 Fri Jun 28 10:46:46 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 4.571 sec (0 m 4 s) Start Date: 2024:06:28 10:46:43 End Date: 2024:06:28 10:46:48 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf --allmatch /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe Fri Jun 28 10:46:48 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND Fri Jun 28 10:46:48 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND Fri Jun 28 10:46:48 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_11of22_PE_EP_testexe_0.UNOFFICIAL FOUND Fri Jun 28 10:46:48 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND Fri Jun 28 10:46:48 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_13of22_PE_S1_EXACT_testexe_0.UNOFFICIAL FOUND Fri Jun 28 10:46:48 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_18of22_PE_EP_testexe_1.UNOFFICIAL FOUND Fri Jun 28 10:46:48 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND Fri Jun 28 10:46:48 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_20of22_PE_S1_EXACT_testexe_1.UNOFFICIAL FOUND Fri Jun 28 10:46:48 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND Fri Jun 28 10:46:48 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND Fri Jun 28 10:46:48 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND Fri Jun 28 10:46:48 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_01of22_companyname.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_02of22_filedescription.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_03of22_fileversion.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_04of22_internalname.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_05of22_legalcopyright.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_06of22_originalfilename.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_07of22_productname.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_08of22_productversion.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_1of2_MD5_FIXED_testexe.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_2of2_MD5_STAR_testexe.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_1of4_SHA1_FIXED_testexe.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_2of4_SHA1_STAR_testexe.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_3of4_SHA256_FIXED_testexe.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_4of4_SHA256_STAR_testexe.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND Fri Jun 28 10:46:49 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_01of16_MD5_FIXED_text.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_02of16_MD5_STAR_text.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_01of32_SHA1_FIXED_text.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_02of32_SHA1_STAR_text.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_17of32_SHA256_FIXED_text.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_18of32_SHA256_STAR_text.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_03of16_MD5_FIXED_data.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_04of16_MD5_STAR_data.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_03of32_SHA1_FIXED_data.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_04of32_SHA1_STAR_data.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_19of32_SHA256_FIXED_data.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_20of32_SHA256_STAR_data.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_05of16_MD5_FIXED_rdata.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_06of16_MD5_STAR_rdata.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_05of32_SHA1_FIXED_rdata.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_06of32_SHA1_STAR_rdata.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_21of32_SHA256_FIXED_rdata.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_22of32_SHA256_STAR_rdata.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_09of16_MD5_FIXED_idata.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_10of16_MD5_STAR_idata.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_09of32_SHA1_FIXED_idata.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_10of32_SHA1_STAR_idata.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_25of32_SHA256_FIXED_idata.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_26of32_SHA256_STAR_idata.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_15of16_MD5_FIXED_rsrc.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_16of16_MD5_STAR_rsrc.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_15of32_SHA1_FIXED_rsrc.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_16of32_SHA1_STAR_rsrc.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_31of32_SHA256_FIXED_rsrc.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_32of32_SHA256_STAR_rsrc.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND Fri Jun 28 10:46:52 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_11of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_13of22_PE_S1_EXACT_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_18of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_20of22_PE_S1_EXACT_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_01of22_companyname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_02of22_filedescription.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_03of22_fileversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_04of22_internalname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_05of22_legalcopyright.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_06of22_originalfilename.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_07of22_productname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_08of22_productversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_1of2_MD5_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_2of2_MD5_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_1of4_SHA1_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_2of4_SHA1_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_3of4_SHA256_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_4of4_SHA256_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_01of16_MD5_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_02of16_MD5_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_01of32_SHA1_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_02of32_SHA1_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_17of32_SHA256_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_18of32_SHA256_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_03of16_MD5_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_04of16_MD5_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_03of32_SHA1_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_04of32_SHA1_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_19of32_SHA256_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_20of32_SHA256_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_05of16_MD5_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_06of16_MD5_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_05of32_SHA1_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_06of32_SHA1_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_21of32_SHA256_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_22of32_SHA256_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_09of16_MD5_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_10of16_MD5_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_09of32_SHA1_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_10of32_SHA1_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_25of32_SHA256_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_26of32_SHA256_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_15of16_MD5_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_16of16_MD5_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_15of32_SHA1_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_16of32_SHA1_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_31of32_SHA256_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_32of32_SHA256_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 6.303 sec (0 m 6 s) Start Date: 2024:06:28 10:46:48 End Date: 2024:06:28 10:46:54 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/clamd-test.conf /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe Fri Jun 28 10:46:54 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 2.003 sec (0 m 2 s) Start Date: 2024:06:28 10:46:54 End Date: 2024:06:28 10:46:56 [DEBUG]: stderr: Fri Jun 28 10:46:56 2024 -> Waiting for all threads to finish Fri Jun 28 10:46:56 2024 -> Shutting down the main sockets. Fri Jun 28 10:46:56 2024 -> Pid file removed. Fri Jun 28 10:46:56 2024 -> --- Stopped at Fri Jun 28 10:46:56 2024 Fri Jun 28 10:46:56 2024 -> Closing the main sockets. Fri Jun 28 10:46:56 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10121== Memcheck, a memory error detector [INFO]: ==10121== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10121== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10121== Command: /usr/bin/basename /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe [INFO]: ==10121== Parent PID: 10120 [INFO]: ==10121== [INFO]: --10121-- [INFO]: --10121-- Valgrind options: [INFO]: --10121-- -v [INFO]: --10121-- --trace-children=yes [INFO]: --10121-- --track-fds=yes [INFO]: --10121-- --leak-check=full [INFO]: --10121-- --show-possibly-lost=no [INFO]: --10121-- --show-leak-kinds=definite [INFO]: --10121-- --errors-for-leak-kinds=definite [INFO]: --10121-- --main-stacksize=16777216 [INFO]: --10121-- --gen-suppressions=all [INFO]: --10121-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10121-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: --10121-- --error-exitcode=123 [INFO]: --10121-- Contents of /proc/version: [INFO]: --10121-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --10121-- [INFO]: --10121-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --10121-- Page sizes: currently 4096, max supported 4096 [INFO]: --10121-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10121-- Reading syms from /usr/bin/basename [INFO]: --10121-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --10121-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10121-- might be shown as UnknownInlinedFun [INFO]: --10121-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --10121-- object doesn't have a dynamic symbol table [INFO]: --10121-- Scheduler: using generic scheduler lock implementation. [INFO]: --10121-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10121-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10121== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10121-by-???-on-??? [INFO]: ==10121== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10121-by-???-on-??? [INFO]: ==10121== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10121-by-???-on-??? [INFO]: ==10121== [INFO]: ==10121== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10121== don't want to do, unless you know exactly what you're doing, [INFO]: ==10121== or are doing some strange experiment): [INFO]: ==10121== /usr/libexec/valgrind/../../bin/vgdb --pid=10121 ...command... [INFO]: ==10121== [INFO]: ==10121== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10121== /path/to/gdb /usr/bin/basename [INFO]: ==10121== and then give GDB the following command [INFO]: ==10121== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10121 [INFO]: ==10121== --pid is optional if only one valgrind process is running [INFO]: ==10121== [INFO]: --10121-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --10121-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --10121-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --10121-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --10121-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10121-- REDIR: 0x49292c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --10121-- REDIR: 0x4929020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: --10121-- REDIR: 0x4929160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --10121-- REDIR: 0x491ad70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --10121-- REDIR: 0x491a580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --10121-- REDIR: 0x4998360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: ==10121== [INFO]: ==10121== FILE DESCRIPTORS: 13 open (1 std) at exit. [INFO]: ==10121== Open file descriptor 14: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10121== [INFO]: ==10121== [INFO]: ==10121== (No origin, error cannot be suppressed) [INFO]: ==10121== Open file descriptor 13: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10121== [INFO]: ==10121== [INFO]: ==10121== (No origin, error cannot be suppressed) [INFO]: ==10121== Open file descriptor 12: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10121== [INFO]: ==10121== [INFO]: ==10121== (No origin, error cannot be suppressed) [INFO]: ==10121== Open AF_UNIX socket 11: clamd-test.socket [INFO]: ==10121== [INFO]: ==10121== [INFO]: ==10121== (No origin, error cannot be suppressed) [INFO]: ==10121== Open file descriptor 10: [INFO]: ==10121== [INFO]: ==10121== [INFO]: ==10121== (No origin, error cannot be suppressed) [INFO]: ==10121== Open file descriptor 9: [INFO]: ==10121== [INFO]: ==10121== [INFO]: ==10121== (No origin, error cannot be suppressed) [INFO]: ==10121== Open file descriptor 8: [INFO]: ==10121== [INFO]: ==10121== [INFO]: ==10121== (No origin, error cannot be suppressed) [INFO]: ==10121== Open file descriptor 7: [INFO]: ==10121== [INFO]: ==10121== [INFO]: ==10121== (No origin, error cannot be suppressed) [INFO]: ==10121== Open AF_UNIX socket 6: clamd-test.socket [INFO]: ==10121== [INFO]: ==10121== [INFO]: ==10121== (No origin, error cannot be suppressed) [INFO]: ==10121== Open AF_INET socket 5: 127.0.0.1:3319 <-> [INFO]: ==10121== [INFO]: ==10121== [INFO]: ==10121== (No origin, error cannot be suppressed) [INFO]: ==10121== Open AF_INET6 socket 4: [::1]:3319 <-> [INFO]: ==10121== [INFO]: ==10121== [INFO]: ==10121== (No origin, error cannot be suppressed) [INFO]: ==10121== Open file descriptor 3: /builddir/build/==10120== [INFO]: ==10120== FILE DESCRIPTORS: 15 open (3 std) at exit. [INFO]: ==10120== Open file descriptor 255: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/virusaction-test.sh [INFO]: ==10120== at 0x49B15F6: dup2 (in /usr/lib64/libc.so.6) [INFO]: ==10120== by 0x1490FD: move_to_high_fd (in /usr/bin/bash) [INFO]: ==10120== by 0x13AAB9: main (in /usr/bin/bash) [INFO]: ==10120== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:dup2 [INFO]: fun:move_to_high_fd [INFO]: fun:main [INFO]: } [INFO]: ==10120== Open file descriptor 13: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10120== [INFO]: ==10120== [INFO]: ==10120== (No origin, error cannot be suppressed) [INFO]: ==10120== Open file descriptor 12: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10120== [INFO]: ==10120== [INFO]: ==10120== (No origin, error cannot be suppressed) [INFO]: ==10120== Open AF_UNIX socket 11: clamd-test.socket [INFO]: ==10120== [INFO]: ==10120== [INFO]: ==10120== (No origin, error cannot be suppressed) [INFO]: ==10120== Open file descriptor 10: [INFO]: ==10120== [INFO]: ==10120== [INFO]: ==10120== (No origin, error cannot be suppressed) [INFO]: ==10120== Open file descriptor 9: [INFO]: ==10120== [INFO]: ==10120== [INFO]: ==10120== (No origin, error cannot be suppressed) [INFO]: ==10120== Open file descriptor 8: [INFO]: ==10120== [INFO]: ==10120== [INFO]: ==10120== (No origin, error cannot be suppressed) [INFO]: ==10120== Open file descriptor 7: [INFO]: ==10120== [INFO]: ==10120== [INFO]: ==10120== (No origin, error cannot be suppressed) [INFO]: ==10120== Open AF_UNIX socket 6: clamd-test.socket [INFO]: ==10120== [INFO]: ==10120== [INFO]: ==10120== (No origin, error cannot be suppressed) [INFO]: ==10120== Open AF_INET socket 5: 127.0.0.1:3319 <-> [INFO]: ==10120== [INFO]: ==10120== [INFO]: ==10120== (No origin, error cannot be suppressed) [INFO]: ==10120== Open AF_INET6 socket 4: [::1]:3319 <-> [INFO]: ==10120== [INFO]: ==10120== [INFO]: ==10120== (No origin, error cannot be suppressed) [INFO]: ==10120== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10120== [INFO]: ==10120== [INFO]: ==10120== (No origin, error cannot be suppressed) [INFO]: ==10120== [INFO]: ==10120== HEAP SUMMARY: [INFO]: ==10120== in use at exit: 50,143 bytes in 405 blocks [INFO]: ==10120== total heap usage: 520 allocs, 115 frees, 75,868 bytes allocated [INFO]: ==10120== [INFO]: ==10120== Searching for pointers to 405 not-freed blocks [INFO]: ==10120== Checked 206,904 bytes [INFO]: ==10120== [INFO]: ==10120== 624 (32 direct, 592 indirect) bytes in 1 blocks are definitely lost in loss record 325 of 334 [INFO]: ==10120== at 0x483C8E0: malloc (vg_replace_malloc.c:446) [INFO]: ==10120== by 0x14A79B: make_if_command (in /usr/bin/bash) [INFO]: ==10120== by 0x1457AD: yyparse (in /usr/bin/bash) [INFO]: ==10120== by 0x14686B: parse_command (in /usr/bin/bash) [INFO]: ==10120== by 0x146A55: read_command (in /usr/bin/bash) [INFO]: ==10120== by 0x146C97: reader_loop (in /usr/bin/bash) [INFO]: ==10120== by 0x139B2B: main (in /usr/bin/bash) [INFO]: ==10120== [INFO]: { [INFO]: [INFO]: Memcheck:Leak [INFO]: match-leak-kinds: definite [INFO]: fun:malloc [INFO]: fun:make_if_command [INFO]: fun:yyparse [INFO]: fun:parse_command [INFO]: fun:read_command [INFO]: fun:reader_loop [INFO]: fun:main [INFO]: } [INFO]: ==10120== LEAK SUMMARY: [INFO]: ==10120== definitely lost: 32 bytes in 1 blocks [INFO]: ==10120== indirectly lost: 592 bytes in 29 blocks [INFO]: ==10120== possibly lost: 0 bytes in 0 blocks [INFO]: ==10120== still reachable: 49,519 bytes in 375 blocks [INFO]: ==10120== suppressed: 0 bytes in 0 blocks [INFO]: ==10120== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10120== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10120== [INFO]: ==10120== ERROR SUMMARY: 13 errors from 13 contexts (suppressed: 0 from 0) [INFO]: ==10100== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x11608F: main (clamd.c:844) [INFO]: ==10100== Previously closed [INFO]: ==10100== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10100== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10100== Originally opened [INFO]: ==10100== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10100== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10100== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==10100== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x11608F: main (clamd.c:844) [INFO]: ==10100== Previously closed [INFO]: ==10100== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10100== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10100== Originally opened [INFO]: ==10100== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10100== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10100== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==10100== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x11608F: main (clamd.c:844) [INFO]: ==10100== Previously closed [INFO]: ==10100== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10100== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10100== Originally opened [INFO]: ==10100== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x11B383: localserver (localserver.c:149) [INFO]: ==10100== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --10100-- REDIR: 0x518cf50 (libc.so.6:malloc_usable_size) redirected to 0x4845800 (malloc_usable_size) [INFO]: --10100-- REDIR: 0x519a440 (libc.so.6:strspn) redirected to 0x484fc20 (strspn) [INFO]: --10100-- REDIR: 0x519a880 (libc.so.6:strcspn) redirected to 0x484f960 (strcspn) [INFO]: ==10100== [INFO]: ==10100== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10100== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw/valgrind.log [INFO]: ==10100== [INFO]: ==10100== [INFO]: ==10100== (No origin, error cannot be suppressed) [INFO]: ==10100== [INFO]: ==10100== HEAP SUMMARY: [INFO]: ==10100== in use at exit: 0 bytes in 0 blocks [INFO]: ==10100== total heap usage: 13,483 allocs, 13,483 frees, 3,825,187 bytes allocated [INFO]: ==10100== [INFO]: ==10100== All heap blocks were freed -- no leaks are possible [INFO]: ==10100== [INFO]: ==10100== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) [INFO]: ==10100== [INFO]: ==10100== 1 errors in context 1 of 4: [INFO]: ==10100== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==10100== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x11608F: main (clamd.c:844) [INFO]: ==10100== Previously closed [INFO]: ==10100== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10100== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10100== Originally opened [INFO]: ==10100== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x11B383: localserver (localserver.c:149) [INFO]: ==10100== by 0x116EAD: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10100== [INFO]: ==10100== 1 errors in context 2 of 4: [INFO]: ==10100== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==10100== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x11608F: main (clamd.c:844) [INFO]: ==10100== Previously closed [INFO]: ==10100== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10100== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10100== Originally opened [INFO]: ==10100== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10100== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10100== [INFO]: ==10100== 1 errors in context 3 of 4: [INFO]: ==10100== File descriptor 4: /proc/self/status is already closed [INFO]: ==10100== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x11608F: main (clamd.c:844) [INFO]: ==10100== Previously closed [INFO]: ==10100== at 0x51E92D0: close (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x120BC9: acceptloop_th (server-th.c:653) [INFO]: ==10100== by 0x517A3F9: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x51F9B27: ??? (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0xFFFFFFFFFFFFFFFF: ??? [INFO]: ==10100== Originally opened [INFO]: ==10100== at 0x51FCE20: socket (in /usr/lib64/libc.so.6) [INFO]: ==10100== by 0x11BCE3: tcpserver (tcpserver.c:134) [INFO]: ==10100== by 0x1168A5: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==10100== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-z81st5hw =========================== short test summary info ============================ FAILED clamd_test.py::TC::test_clamd_00_version - AssertionError: assert 123 ... FAILED clamd_test.py::TC::test_clamd_01_ping_pong - AssertionError: Valgrind ... FAILED clamd_test.py::TC::test_clamd_02_clamdscan_version - AssertionError: V... FAILED clamd_test.py::TC::test_clamd_03_reload - AssertionError: Valgrind tes... FAILED clamd_test.py::TC::test_clamd_04_all_testfiles - AssertionError: Valgr... FAILED clamd_test.py::TC::test_clamd_05_check_clamd - AssertionError: Valgrin... FAILED clamd_test.py::TC::test_clamd_06_HeuristicScanPrecedence_off - Asserti... FAILED clamd_test.py::TC::test_clamd_07_HeuristicScanPrecedence_on - Assertio... FAILED clamd_test.py::TC::test_clamd_08_VirusEvent - AssertionError: Valgrind... FAILED clamd_test.py::TC::test_clamd_09_clamdscan_ExcludePath - AssertionErro... FAILED clamd_test.py::TC::test_clamd_10_allmatch_not_sticky - AssertionError:... ERROR clamd_test.py::TC::test_clamd_00_version - AssertionError: Valgrind tes... ERROR clamd_test.py::TC::test_clamd_09_clamdscan_ExcludePath - AssertionError... =================== 11 failed, 2 errors in 89.17s (0:01:29) ==================== 5/5 Test #11: sigtool_valgrind .................***Failed 10.18 sec ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/clamav-1.0.6/unit_tests collecting ... collected 3 items sigtool_test.py::TC::test_sigtool_00_version FAILED [ 33%] sigtool_test.py::TC::test_sigtool_00_version ERROR [ 33%] sigtool_test.py::TC::test_sigtool_01_run_cdiff FAILED [ 66%] sigtool_test.py::TC::test_sigtool_01_run_cdiff ERROR [ 66%] sigtool_test.py::TC::test_sigtool_02_rust_logs_messages_work FAILED [100%] sigtool_test.py::TC::test_sigtool_02_rust_logs_messages_work ERROR [100%] ==================================== ERRORS ==================================== _______________ ERROR at teardown of TC.test_sigtool_00_version ________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/sigtool_test.py:66: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: sigtool version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [WARNING]: VG: None [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool -V [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10113== Memcheck, a memory error detector [INFO]: ==10113== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10113== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10113== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool -V [INFO]: ==10113== Parent PID: 10110 [INFO]: ==10113== [INFO]: --10113-- [INFO]: --10113-- Valgrind options: [INFO]: --10113-- -v [INFO]: --10113-- --trace-children=yes [INFO]: --10113-- --track-fds=yes [INFO]: --10113-- --leak-check=full [INFO]: --10113-- --show-possibly-lost=no [INFO]: --10113-- --show-leak-kinds=definite [INFO]: --10113-- --errors-for-leak-kinds=definite [INFO]: --10113-- --main-stacksize=16777216 [INFO]: --10113-- --gen-suppressions=all [INFO]: --10113-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10113-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [INFO]: --10113-- --error-exitcode=123 [INFO]: --10113-- Contents of /proc/version: [INFO]: --10113-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --10113-- [INFO]: --10113-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --10113-- Page sizes: currently 4096, max supported 4096 [INFO]: --10113-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10113-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: --10113-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --10113-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10113-- might be shown as UnknownInlinedFun [INFO]: --10113-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --10113-- object doesn't have a dynamic symbol table [INFO]: --10113-- Scheduler: using generic scheduler lock implementation. [INFO]: --10113-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10113-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10113== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10113-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10113== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10113-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10113== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10113-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10113== [INFO]: ==10113== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10113== don't want to do, unless you know exactly what you're doing, [INFO]: ==10113== or are doing some strange experiment): [INFO]: ==10113== /usr/libexec/valgrind/../../bin/vgdb --pid=10113 ...command... [INFO]: ==10113== [INFO]: ==10113== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10113== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: ==10113== and then give GDB the following command [INFO]: ==10113== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10113 [INFO]: ==10113== --pid is optional if only one valgrind process is running [INFO]: ==10113== [INFO]: --10113-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --10113-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --10113-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --10113-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --10113-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10113-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10113-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10113-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10113-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10113-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --10113-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10113-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --10113-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --10113-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10113-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10113-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --10113-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10113-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10113-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10113-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --10113-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==10113== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==10113== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==10113== by 0x54C822B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==10113== by 0x53A8035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --10113-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --10113-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --10113-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --10113-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --10113-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --10113-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: ==10113== [INFO]: ==10113== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10113== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [INFO]: ==10113== [INFO]: ==10113== [INFO]: ==10113== (No origin, error cannot be suppressed) [INFO]: ==10113== [INFO]: ==10113== HEAP SUMMARY: [INFO]: ==10113== in use at exit: 0 bytes in 0 blocks [INFO]: ==10113== total heap usage: 260 allocs, 260 frees, 16,400 bytes allocated [INFO]: ==10113== [INFO]: ==10113== All heap blocks were freed -- no leaks are possible [INFO]: ==10113== [INFO]: ==10113== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________ ERROR at teardown of TC.test_sigtool_01_run_cdiff _______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/sigtool_test.py:66: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: sigtool run cdiff test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [WARNING]: VG: None [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/freshclam_testfiles/test-1.cvd [DEBUG]: Exit code: 123 [DEBUG]: stdout: [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10116== Memcheck, a memory error detector [INFO]: ==10116== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10116== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10116== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/freshclam_testfiles/test-1.cvd [INFO]: ==10116== Parent PID: 10110 [INFO]: ==10116== [INFO]: --10116-- [INFO]: --10116-- Valgrind options: [INFO]: --10116-- -v [INFO]: --10116-- --trace-children=yes [INFO]: --10116-- --track-fds=yes [INFO]: --10116-- --leak-check=full [INFO]: --10116-- --show-possibly-lost=no [INFO]: --10116-- --show-leak-kinds=definite [INFO]: --10116-- --errors-for-leak-kinds=definite [INFO]: --10116-- --main-stacksize=16777216 [INFO]: --10116-- --gen-suppressions=all [INFO]: --10116-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10116-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [INFO]: --10116-- --error-exitcode=123 [INFO]: --10116-- Contents of /proc/version: [INFO]: --10116-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --10116-- [INFO]: --10116-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --10116-- Page sizes: currently 4096, max supported 4096 [INFO]: --10116-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10116-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: --10116-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --10116-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10116-- might be shown as UnknownInlinedFun [INFO]: --10116-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --10116-- object doesn't have a dynamic symbol table [INFO]: --10116-- Scheduler: using generic scheduler lock implementation. [INFO]: --10116-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10116-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10116== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10116-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10116== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10116-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10116== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10116-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10116== [INFO]: ==10116== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10116== don't want to do, unless you know exactly what you're doing, [INFO]: ==10116== or are doing some strange experiment): [INFO]: ==10116== /usr/libexec/valgrind/../../bin/vgdb --pid=10116 ...command... [INFO]: ==10116== [INFO]: ==10116== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10116== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: ==10116== and then give GDB the following command [INFO]: ==10116== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10116 [INFO]: ==10116== --pid is optional if only one valgrind process is running [INFO]: ==10116== [INFO]: --10116-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --10116-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --10116-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --10116-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --10116-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10116-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10116-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10116-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10116-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10116-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --10116-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10116-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --10116-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --10116-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10116-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10116-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --10116-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10116-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10116-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10116-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --10116-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==10116== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==10116== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==10116== by 0x54C822B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==10116== by 0x53A8035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --10116-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --10116-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --10116-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --10116-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --10116-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --10116-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --10116-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --10116-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --10116-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --10116-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --10116-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --10116-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --10116-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==10116== [INFO]: ==10116== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10116== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [INFO]: ==10116== [INFO]: ==10116== [INFO]: ==10116== (No origin, error cannot be suppressed) [INFO]: ==10116== [INFO]: ==10116== HEAP SUMMARY: [INFO]: ==10116== in use at exit: 0 bytes in 0 blocks [INFO]: ==10116== total heap usage: 4,626 allocs, 4,626 frees, 1,762,828 bytes allocated [INFO]: ==10116== [INFO]: ==10116== All heap blocks were freed -- no leaks are possible [INFO]: ==10116== [INFO]: ==10116== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______ ERROR at teardown of TC.test_sigtool_02_rust_logs_messages_work ________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() sigtool_test.py:66: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: sigtool test rust log macros work [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [WARNING]: VG: None [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/freshclam_testfiles/test-1.cvd [DEBUG]: Exit code: 123 [DEBUG]: stdout: [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10123== Memcheck, a memory error detector [INFO]: ==10123== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10123== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10123== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/freshclam_testfiles/test-1.cvd [INFO]: ==10123== Parent PID: 10110 [INFO]: ==10123== [INFO]: --10123-- [INFO]: --10123-- Valgrind options: [INFO]: --10123-- -v [INFO]: --10123-- --trace-children=yes [INFO]: --10123-- --track-fds=yes [INFO]: --10123-- --leak-check=full [INFO]: --10123-- --show-possibly-lost=no [INFO]: --10123-- --show-leak-kinds=definite [INFO]: --10123-- --errors-for-leak-kinds=definite [INFO]: --10123-- --main-stacksize=16777216 [INFO]: --10123-- --gen-suppressions=all [INFO]: --10123-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10123-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [INFO]: --10123-- --error-exitcode=123 [INFO]: --10123-- Contents of /proc/version: [INFO]: --10123-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --10123-- [INFO]: --10123-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --10123-- Page sizes: currently 4096, max supported 4096 [INFO]: --10123-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10123-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: --10123-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --10123-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10123-- might be shown as UnknownInlinedFun [INFO]: --10123-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --10123-- object doesn't have a dynamic symbol table [INFO]: --10123-- Scheduler: using generic scheduler lock implementation. [INFO]: --10123-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10123-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10123== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10123-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10123== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10123-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10123== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10123-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10123== [INFO]: ==10123== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10123== don't want to do, unless you know exactly what you're doing, [INFO]: ==10123== or are doing some strange experiment): [INFO]: ==10123== /usr/libexec/valgrind/../../bin/vgdb --pid=10123 ...command... [INFO]: ==10123== [INFO]: ==10123== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10123== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: ==10123== and then give GDB the following command [INFO]: ==10123== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10123 [INFO]: ==10123== --pid is optional if only one valgrind process is running [INFO]: ==10123== [INFO]: --10123-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --10123-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --10123-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --10123-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --10123-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10123-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10123-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10123-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10123-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10123-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --10123-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10123-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --10123-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --10123-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10123-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10123-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --10123-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10123-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10123-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10123-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --10123-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==10123== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==10123== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==10123== by 0x54C822B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==10123== by 0x53A8035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --10123-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --10123-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --10123-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --10123-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --10123-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --10123-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --10123-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --10123-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --10123-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --10123-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --10123-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --10123-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --10123-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==10123== [INFO]: ==10123== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10123== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [INFO]: ==10123== [INFO]: ==10123== [INFO]: ==10123== (No origin, error cannot be suppressed) [INFO]: ==10123== [INFO]: ==10123== HEAP SUMMARY: [INFO]: ==10123== in use at exit: 0 bytes in 0 blocks [INFO]: ==10123== total heap usage: 4,626 allocs, 4,626 frees, 1,762,828 bytes allocated [INFO]: ==10123== [INFO]: ==10123== All heap blocks were freed -- no leaks are possible [INFO]: ==10123== [INFO]: ==10123== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e =================================== FAILURES =================================== __________________________ TC.test_sigtool_00_version __________________________ self = def test_sigtool_00_version(self): self.step_name('sigtool version test') self.log.warning('VG: {}'.format(os.getenv("VG"))) command = '{valgrind} {valgrind_args} {sigtool} -V'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, sigtool=TC.sigtool ) output = self.execute_command(command) > assert output.ec == 0 # success E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='ClamAV 1.0.6\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/sigtool_test.py:78: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: sigtool version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [WARNING]: VG: None [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool -V [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10113== Memcheck, a memory error detector [INFO]: ==10113== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10113== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10113== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool -V [INFO]: ==10113== Parent PID: 10110 [INFO]: ==10113== [INFO]: --10113-- [INFO]: --10113-- Valgrind options: [INFO]: --10113-- -v [INFO]: --10113-- --trace-children=yes [INFO]: --10113-- --track-fds=yes [INFO]: --10113-- --leak-check=full [INFO]: --10113-- --show-possibly-lost=no [INFO]: --10113-- --show-leak-kinds=definite [INFO]: --10113-- --errors-for-leak-kinds=definite [INFO]: --10113-- --main-stacksize=16777216 [INFO]: --10113-- --gen-suppressions=all [INFO]: --10113-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10113-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [INFO]: --10113-- --error-exitcode=123 [INFO]: --10113-- Contents of /proc/version: [INFO]: --10113-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --10113-- [INFO]: --10113-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --10113-- Page sizes: currently 4096, max supported 4096 [INFO]: --10113-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10113-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: --10113-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --10113-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10113-- might be shown as UnknownInlinedFun [INFO]: --10113-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --10113-- object doesn't have a dynamic symbol table [INFO]: --10113-- Scheduler: using generic scheduler lock implementation. [INFO]: --10113-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10113-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10113== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10113-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10113== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10113-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10113== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10113-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10113== [INFO]: ==10113== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10113== don't want to do, unless you know exactly what you're doing, [INFO]: ==10113== or are doing some strange experiment): [INFO]: ==10113== /usr/libexec/valgrind/../../bin/vgdb --pid=10113 ...command... [INFO]: ==10113== [INFO]: ==10113== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10113== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: ==10113== and then give GDB the following command [INFO]: ==10113== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10113 [INFO]: ==10113== --pid is optional if only one valgrind process is running [INFO]: ==10113== [INFO]: --10113-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --10113-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --10113-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --10113-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --10113-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10113-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10113-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10113-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10113-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10113-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --10113-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10113-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --10113-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --10113-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10113-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10113-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --10113-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10113-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10113-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10113-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --10113-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==10113== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==10113== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==10113== by 0x54C822B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==10113== by 0x53A8035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --10113-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --10113-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --10113-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --10113-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --10113-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --10113-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: ==10113== [INFO]: ==10113== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10113== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [INFO]: ==10113== [INFO]: ==10113== [INFO]: ==10113== (No origin, error cannot be suppressed) [INFO]: ==10113== [INFO]: ==10113== HEAP SUMMARY: [INFO]: ==10113== in use at exit: 0 bytes in 0 blocks [INFO]: ==10113== total heap usage: 260 allocs, 260 frees, 16,400 bytes allocated [INFO]: ==10113== [INFO]: ==10113== All heap blocks were freed -- no leaks are possible [INFO]: ==10113== [INFO]: ==10113== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________ TC.test_sigtool_01_run_cdiff _________________________ self = def test_sigtool_01_run_cdiff(self): self.step_name('sigtool run cdiff test') # In addition to testing that running a cdiff works, this also tests a regression. # Applying test-3.cdiff was failing because UNLINK wasn't properly implemented (since 0.105.0). # We didn't notice it because logging wasn't enabled, and leniency in our freshclam cdiff process # allowed the test to pass without noticing the bug. self.log.warning('VG: {}'.format(os.getenv("VG"))) (TC.path_tmp / 'run_cdiff').mkdir() os.chdir(str(TC.path_tmp / 'run_cdiff')) command = '{valgrind} {valgrind_args} {sigtool} --unpack {cvd}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, sigtool=TC.sigtool, cvd=TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' / 'test-1.cvd' ) output = self.execute_command(command) > assert output.ec == 0 # success E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/sigtool_test.py:103: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: sigtool run cdiff test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [WARNING]: VG: None [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/freshclam_testfiles/test-1.cvd [DEBUG]: Exit code: 123 [DEBUG]: stdout: [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10116== Memcheck, a memory error detector [INFO]: ==10116== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10116== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10116== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/freshclam_testfiles/test-1.cvd [INFO]: ==10116== Parent PID: 10110 [INFO]: ==10116== [INFO]: --10116-- [INFO]: --10116-- Valgrind options: [INFO]: --10116-- -v [INFO]: --10116-- --trace-children=yes [INFO]: --10116-- --track-fds=yes [INFO]: --10116-- --leak-check=full [INFO]: --10116-- --show-possibly-lost=no [INFO]: --10116-- --show-leak-kinds=definite [INFO]: --10116-- --errors-for-leak-kinds=definite [INFO]: --10116-- --main-stacksize=16777216 [INFO]: --10116-- --gen-suppressions=all [INFO]: --10116-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10116-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [INFO]: --10116-- --error-exitcode=123 [INFO]: --10116-- Contents of /proc/version: [INFO]: --10116-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --10116-- [INFO]: --10116-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --10116-- Page sizes: currently 4096, max supported 4096 [INFO]: --10116-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10116-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: --10116-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --10116-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10116-- might be shown as UnknownInlinedFun [INFO]: --10116-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --10116-- object doesn't have a dynamic symbol table [INFO]: --10116-- Scheduler: using generic scheduler lock implementation. [INFO]: --10116-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10116-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10116== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10116-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10116== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10116-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10116== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10116-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10116== [INFO]: ==10116== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10116== don't want to do, unless you know exactly what you're doing, [INFO]: ==10116== or are doing some strange experiment): [INFO]: ==10116== /usr/libexec/valgrind/../../bin/vgdb --pid=10116 ...command... [INFO]: ==10116== [INFO]: ==10116== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10116== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: ==10116== and then give GDB the following command [INFO]: ==10116== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10116 [INFO]: ==10116== --pid is optional if only one valgrind process is running [INFO]: ==10116== [INFO]: --10116-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --10116-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --10116-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --10116-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --10116-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10116-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10116-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10116-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10116-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10116-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --10116-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10116-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --10116-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --10116-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10116-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10116-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --10116-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10116-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10116-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10116-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --10116-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==10116== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==10116== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==10116== by 0x54C822B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==10116== by 0x53A8035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --10116-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --10116-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --10116-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --10116-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --10116-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --10116-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --10116-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --10116-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --10116-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --10116-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --10116-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --10116-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --10116-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==10116== [INFO]: ==10116== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10116== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [INFO]: ==10116== [INFO]: ==10116== [INFO]: ==10116== (No origin, error cannot be suppressed) [INFO]: ==10116== [INFO]: ==10116== HEAP SUMMARY: [INFO]: ==10116== in use at exit: 0 bytes in 0 blocks [INFO]: ==10116== total heap usage: 4,626 allocs, 4,626 frees, 1,762,828 bytes allocated [INFO]: ==10116== [INFO]: ==10116== All heap blocks were freed -- no leaks are possible [INFO]: ==10116== [INFO]: ==10116== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________ TC.test_sigtool_02_rust_logs_messages_work __________________ self = def test_sigtool_02_rust_logs_messages_work(self): self.step_name('sigtool test rust log macros work') # In addition to testing that running a cdiff works, this also tests a regression. # Applying test-3.cdiff was failing because UNLINK wasn't properly implemented (since 0.105.0). # We didn't notice it because logging wasn't enabled, and leniency in our freshclam cdiff process # allowed the test to pass without noticing the bug. self.log.warning('VG: {}'.format(os.getenv("VG"))) (TC.path_tmp / 'run_cdiff_log').mkdir() os.chdir(str(TC.path_tmp / 'run_cdiff_log')) command = '{valgrind} {valgrind_args} {sigtool} --unpack {cvd}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, sigtool=TC.sigtool, cvd=TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' / 'test-1.cvd' ) output = self.execute_command(command) > assert output.ec == 0 # success E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/sigtool_test.py:142: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: sigtool test rust log macros work [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [WARNING]: VG: None [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/freshclam_testfiles/test-1.cvd [DEBUG]: Exit code: 123 [DEBUG]: stdout: [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10123== Memcheck, a memory error detector [INFO]: ==10123== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10123== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10123== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/freshclam_testfiles/test-1.cvd [INFO]: ==10123== Parent PID: 10110 [INFO]: ==10123== [INFO]: --10123-- [INFO]: --10123-- Valgrind options: [INFO]: --10123-- -v [INFO]: --10123-- --trace-children=yes [INFO]: --10123-- --track-fds=yes [INFO]: --10123-- --leak-check=full [INFO]: --10123-- --show-possibly-lost=no [INFO]: --10123-- --show-leak-kinds=definite [INFO]: --10123-- --errors-for-leak-kinds=definite [INFO]: --10123-- --main-stacksize=16777216 [INFO]: --10123-- --gen-suppressions=all [INFO]: --10123-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10123-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [INFO]: --10123-- --error-exitcode=123 [INFO]: --10123-- Contents of /proc/version: [INFO]: --10123-- Linux version 6.7.3-200.fc39.s390x (mockbuild@95b706adbc71428fb722e2ce67870e79) (gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), GNU ld version 2.40-14.fc39) #1 SMP Thu Feb 1 03:21:50 UTC 2024 [INFO]: --10123-- [INFO]: --10123-- Arch and hwcaps: S390X, BigEndian, s390x-ldisp-eimm-gie-dfp-fgx-stfle-etf2-etf3-stckf-fpext-lsc-pfpo-vx-msa5-mi2-lsc2-vxe [INFO]: --10123-- Page sizes: currently 4096, max supported 4096 [INFO]: --10123-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10123-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: --10123-- Reading syms from /usr/lib/ld64.so.1 [INFO]: --10123-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10123-- might be shown as UnknownInlinedFun [INFO]: --10123-- Reading syms from /usr/libexec/valgrind/memcheck-s390x-linux [INFO]: --10123-- object doesn't have a dynamic symbol table [INFO]: --10123-- Scheduler: using generic scheduler lock implementation. [INFO]: --10123-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10123-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10123== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10123-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10123== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10123-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10123== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10123-by-mockbuild-on-d2a95d7c73b84f29bb146f460215909e [INFO]: ==10123== [INFO]: ==10123== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10123== don't want to do, unless you know exactly what you're doing, [INFO]: ==10123== or are doing some strange experiment): [INFO]: ==10123== /usr/libexec/valgrind/../../bin/vgdb --pid=10123 ...command... [INFO]: ==10123== [INFO]: ==10123== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10123== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: ==10123== and then give GDB the following command [INFO]: ==10123== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10123 [INFO]: ==10123== --pid is optional if only one valgrind process is running [INFO]: ==10123== [INFO]: --10123-- REDIR: 0x4021870 (ld64.so.1:index) redirected to 0x80021927a (???) [INFO]: --10123-- Reading syms from /usr/libexec/valgrind/vgpreload_core-s390x-linux.so [INFO]: --10123-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-s390x-linux.so [INFO]: --10123-- REDIR: 0x40214b0 (ld64.so.1:memcpy) redirected to 0x484b190 (memcpy) [INFO]: --10123-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10123-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10123-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10123-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10123-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10123-- REDIR: 0x4021530 (ld64.so.1:memmove) redirected to 0x484de40 (memmove) [INFO]: --10123-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10123-- Reading syms from /usr/lib64/libpcre2-8.so.0.13.0 [INFO]: --10123-- Reading syms from /usr/lib64/libxml2.so.2.12.8 [INFO]: --10123-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10123-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10123-- Reading syms from /usr/lib64/libgcc_s-14-20240620.so.1 [INFO]: --10123-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10123-- REDIR: 0x5190180 (libc.so.6:memmove) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10123-- REDIR: 0x5193590 (libc.so.6:strstr) redirected to 0x4833250 (_vgnU_ifunc_wrapper) [INFO]: --10123-- REDIR: 0x519a2c0 (libc.so.6:rindex) redirected to 0x4845d50 (rindex) [INFO]: --10123-- REDIR: 0x519a020 (libc.so.6:strncmp) redirected to 0x48476a0 (strncmp) [INFO]: ==10123== Warning: invalid file descriptor -1 in syscall close() [INFO]: ==10123== at 0x51E92A0: close (in /usr/lib64/libc.so.6) [INFO]: ==10123== by 0x54C822B: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: ==10123== by 0x53A8035: ??? (in /usr/lib64/libcrypto.so.3.2.1) [INFO]: --10123-- REDIR: 0x519a220 (libc.so.6:strchrnul) redirected to 0x484e6a0 (strchrnul) [INFO]: --10123-- REDIR: 0x5197bf0 (libc.so.6:memcpy) redirected to 0x4849160 (memcpy) [INFO]: --10123-- REDIR: 0x518b580 (libc.so.6:malloc) redirected to 0x483c858 (malloc) [INFO]: --10123-- REDIR: 0x518bd70 (libc.so.6:free) redirected to 0x483ff30 (free) [INFO]: --10123-- REDIR: 0x5209360 (libc.so.6:__memcpy_chk) redirected to 0x484f1e0 (__memcpy_chk) [INFO]: --10123-- REDIR: 0x519a160 (libc.so.6:index) redirected to 0x4845fd0 (index) [INFO]: --10123-- REDIR: 0x5199770 (libc.so.6:strncpy) redirected to 0x4846c70 (strncpy) [INFO]: --10123-- REDIR: 0x518c760 (libc.so.6:calloc) redirected to 0x4844418 (calloc) [INFO]: --10123-- REDIR: 0x51901f0 (libc.so.6:strcasecmp) redirected to 0x48479a0 (strcasecmp) [INFO]: --10123-- REDIR: 0x518c010 (libc.so.6:realloc) redirected to 0x4844680 (realloc) [INFO]: --10123-- REDIR: 0x519aaa0 (libc.so.6:memchr) redirected to 0x4848380 (memchr) [INFO]: --10123-- REDIR: 0x5197db0 (libc.so.6:__strstr_arch13) redirected to 0x484f3c0 (strstr) [INFO]: --10123-- REDIR: 0x518d4d0 (libc.so.6:posix_memalign) redirected to 0x4845208 (posix_memalign) [INFO]: ==10123== [INFO]: ==10123== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10123== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-eh24kz9e/valgrind.log [INFO]: ==10123== [INFO]: ==10123== [INFO]: ==10123== (No origin, error cannot be suppressed) [INFO]: ==10123== [INFO]: ==10123== HEAP SUMMARY: [INFO]: ==10123== in use at exit: 0 bytes in 0 blocks [INFO]: ==10123== total heap usage: 4,626 allocs, 4,626 frees, 1,762,828 bytes allocated [INFO]: ==10123== [INFO]: ==10123== All heap blocks were freed -- no leaks are possible [INFO]: ==10123== [INFO]: ==10123== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) =========================== short test summary info ============================ FAILED sigtool_test.py::TC::test_sigtool_00_version - AssertionError: assert ... FAILED sigtool_test.py::TC::test_sigtool_01_run_cdiff - AssertionError: asser... FAILED sigtool_test.py::TC::test_sigtool_02_rust_logs_messages_work - Asserti... ERROR sigtool_test.py::TC::test_sigtool_00_version - AssertionError: Valgrind... ERROR sigtool_test.py::TC::test_sigtool_01_run_cdiff - AssertionError: Valgri... ERROR sigtool_test.py::TC::test_sigtool_02_rust_logs_messages_work - Assertio... ========================= 3 failed, 3 errors in 9.12s ========================== 0% tests passed, 5 tests failed out of 5 Total Test time (real) = 278.50 sec The following tests FAILED: 2 - libclamav_valgrind (Failed) 5 - clamscan_valgrind (Failed) 7 - clamd_valgrind (Failed) 9 - freshclam_valgrind (Failed) 11 - sigtool_valgrind (Failed) Errors while running CTest + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: clamav-1.0.6-1.fc40.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.O0nVbY + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + DOCDIR=/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav + cp -pr /builddir/build/BUILD/clamav-1.0.6/NEWS.md /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav + cp -pr /builddir/build/BUILD/clamav-1.0.6/README.md /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9Ui9rF + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + LICENSEDIR=/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/licenses/clamav + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/licenses/clamav + cp -pr /builddir/build/BUILD/clamav-1.0.6/COPYING /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/licenses/clamav + RPM_EC=0 ++ jobs -p + exit 0 Provides: clamav = 1.0.6-1.fc40 clamav(s390-64) = 1.0.6-1.fc40 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.13)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.9)(64bit) libclamav.so.11()(64bit) libcurl.so.4()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libjson-c.so.5()(64bit) libjson-c.so.5(JSONC_0.14)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0.2)(64bit) rtld(GNU_HASH) Processing files: clamav-filesystem-1.0.6-1.fc40.noarch Provides: clamav-filesystem = 1.0.6-1.fc40 config(clamav-filesystem) = 1.0.6-1.fc40 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Conflicts: clamav < 1.0.6-1.fc40 clamav > 1.0.6-1.fc40 Recommends: group(clamupdate) user(clamupdate) Processing files: clamav-lib-1.0.6-1.fc40.s390x Provides: bundled(libmspack) = 0.5-0.1.alpha.modified_by_clamav clamav-lib = 1.0.6-1.fc40 clamav-lib(s390-64) = 1.0.6-1.fc40 libclamav.so.11()(64bit) libclammspack.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld64.so.1()(64bit) ld64.so.1(GLIBC_2.3)(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.18)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.2.4)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.29)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.5)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.9)(64bit) libclammspack.so.0()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libjson-c.so.5()(64bit) libjson-c.so.5(JSONC_0.14)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libpcre2-8.so.0()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.0)(64bit) libxml2.so.2(LIBXML2_2.5.2)(64bit) libxml2.so.2(LIBXML2_2.5.7)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: clamav-devel-1.0.6-1.fc40.s390x Provides: clamav-devel = 1.0.6-1.fc40 clamav-devel(s390-64) = 1.0.6-1.fc40 pkgconfig(libclamav) = 1.0.6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config /usr/bin/sh libclamav.so.11()(64bit) libclammspack.so.0()(64bit) libfreshclam.so.2()(64bit) Processing files: clamav-data-1.0.6-1.fc40.noarch Provides: clamav-data = 1.0.6-1.fc40 clamav-db = 1.0.6-1.fc40 config(clamav-data) = 1.0.6-1.fc40 data(clamav) = full Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Obsoletes: clamav-db < 1.0.6-1.fc40 Recommends: group(clamupdate) user(clamupdate) Processing files: clamav-doc-1.0.6-1.fc40.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nOhdbv + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + LICENSEDIR=/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/licenses/clamav-doc + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/licenses/clamav-doc + cp -pr /builddir/build/BUILD/clamav-1.0.6/COPYING /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/licenses/clamav-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: clamav-doc = 1.0.6-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: clamav-freshclam-1.0.6-1.fc40.s390x Provides: clamav-data-empty = 1.0.6-1.fc40 clamav-freshclam = 1.0.6-1.fc40 clamav-freshclam(s390-64) = 1.0.6-1.fc40 clamav-update = 1.0.6-1.fc40 config(clamav-freshclam) = 1.0.6-1.fc40 data(clamav) = empty libfreshclam.so.2()(64bit) Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libclamav.so.11()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libcurl.so.4()(64bit) libfreshclam.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.38)(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Obsoletes: clamav-data-empty < 1.0.6-1.fc40 clamav-update < 1.0.6-1.fc40 Recommends: group(clamupdate) user(clamupdate) Supplements: clamd Processing files: clamd-1.0.6-1.fc40.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oejgP6 + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + DOCDIR=/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamd + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamd + cp -pr /builddir/build/BUILD/clamav-1.0.6/_doc_server/README /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamd + cp -pr /builddir/build/BUILD/clamav-1.0.6/_doc_server/clamd.conf /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamd + cp -pr /builddir/build/BUILD/clamav-1.0.6/_doc_server/clamd.logrotate /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamd + RPM_EC=0 ++ jobs -p + exit 0 Provides: clamav-scanner-systemd = 1.0.6-1.fc40 clamav-server = 1.0.6-1.fc40 clamav-server-systemd = 1.0.6-1.fc40 clamd = 1.0.6-1.fc40 clamd(s390-64) = 1.0.6-1.fc40 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libclamav.so.11()(64bit) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) rtld(GNU_HASH) Obsoletes: clamav-scanner-systemd < 1.0.6-1.fc40 clamav-server-systemd < 1.0.6-1.fc40 Processing files: clamav-milter-1.0.6-1.fc40.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wYK00w + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + DOCDIR=/builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav-milter + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav-milter + cp -pr /builddir/build/BUILD/clamav-1.0.6/clamav-milter/README.fedora.md /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x/usr/share/doc/clamav-milter + RPM_EC=0 ++ jobs -p + exit 0 Provides: clamav-milter = 1.0.6-1.fc40 clamav-milter(s390-64) = 1.0.6-1.fc40 clamav-milter-systemd = 1.0.6-1.fc40 config(clamav-milter) = 1.0.6-1.fc40 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libclamav.so.11()(64bit) libmilter.so.1.0()(64bit) rtld(GNU_HASH) Obsoletes: clamav-milter-systemd < 1.0.6-1.fc40 Processing files: clamav-debugsource-1.0.6-1.fc40.s390x Provides: clamav-debugsource = 1.0.6-1.fc40 clamav-debugsource(s390-64) = 1.0.6-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: clamav-debuginfo-1.0.6-1.fc40.s390x Provides: clamav-debuginfo = 1.0.6-1.fc40 clamav-debuginfo(s390-64) = 1.0.6-1.fc40 debuginfo(build-id) = 1f446131596f568a94201a7387edd60397ab670b debuginfo(build-id) = 292190c94c1a57f8282fb77163018106dd867078 debuginfo(build-id) = 3036e5c63c51cfa2e79a6c48ea3a7fa825d76d02 debuginfo(build-id) = 673301c75f2b705dfce81b136c2df7a8760a0d3e debuginfo(build-id) = b36f2a100dd66a42ebf16befcdc47cca03379f5e debuginfo(build-id) = b93c8f6c624055685ac626b1d6d22079aa8a3de4 debuginfo(build-id) = c8b449f646cb84fa604eae966b894d5df22ab3b3 debuginfo(build-id) = e5b386e862d19d2d77d63485039ab53b640ef308 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clamav-debugsource(s390-64) = 1.0.6-1.fc40 Processing files: clamav-lib-debuginfo-1.0.6-1.fc40.s390x Provides: clamav-lib-debuginfo = 1.0.6-1.fc40 clamav-lib-debuginfo(s390-64) = 1.0.6-1.fc40 debuginfo(build-id) = 6878212665d3aeb4dcdd43878cda7c092575f66c debuginfo(build-id) = 92ab6c21c99d372530b41e879694ed78d456cd69 libclamav.so.11.0.0-1.0.6-1.fc40.s390x.debug()(64bit) libclammspack.so.0.8.0-1.0.6-1.fc40.s390x.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clamav-debugsource(s390-64) = 1.0.6-1.fc40 Processing files: clamav-freshclam-debuginfo-1.0.6-1.fc40.s390x Provides: clamav-freshclam-debuginfo = 1.0.6-1.fc40 clamav-freshclam-debuginfo(s390-64) = 1.0.6-1.fc40 debuginfo(build-id) = 394393e6e9b32965dc1e6c584903c7178f804f73 debuginfo(build-id) = fd5f4dcabd3914c4dbcc6325944989da3376e9c5 libfreshclam.so.2.0.2-1.0.6-1.fc40.s390x.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clamav-debugsource(s390-64) = 1.0.6-1.fc40 Processing files: clamd-debuginfo-1.0.6-1.fc40.s390x Provides: clamd-debuginfo = 1.0.6-1.fc40 clamd-debuginfo(s390-64) = 1.0.6-1.fc40 debuginfo(build-id) = e6f61b31a2d2b723e1485cc937c6823e0ad9fb0e Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clamav-debugsource(s390-64) = 1.0.6-1.fc40 Processing files: clamav-milter-debuginfo-1.0.6-1.fc40.s390x Provides: clamav-milter-debuginfo = 1.0.6-1.fc40 clamav-milter-debuginfo(s390-64) = 1.0.6-1.fc40 debuginfo(build-id) = d62243aee0386ed01a64eae05b74116c28fe608d Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clamav-debugsource(s390-64) = 1.0.6-1.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x Wrote: /builddir/build/SRPMS/clamav-1.0.6-1.fc40.src.rpm Wrote: /builddir/build/RPMS/clamav-freshclam-1.0.6-1.fc40.s390x.rpm Wrote: /builddir/build/RPMS/clamav-lib-debuginfo-1.0.6-1.fc40.s390x.rpm Wrote: /builddir/build/RPMS/clamav-data-1.0.6-1.fc40.noarch.rpm Wrote: /builddir/build/RPMS/clamav-doc-1.0.6-1.fc40.noarch.rpm Wrote: /builddir/build/RPMS/clamav-lib-1.0.6-1.fc40.s390x.rpm Wrote: /builddir/build/RPMS/clamav-1.0.6-1.fc40.s390x.rpm Wrote: /builddir/build/RPMS/clamav-debuginfo-1.0.6-1.fc40.s390x.rpm Wrote: /builddir/build/RPMS/clamav-freshclam-debuginfo-1.0.6-1.fc40.s390x.rpm Wrote: /builddir/build/RPMS/clamd-debuginfo-1.0.6-1.fc40.s390x.rpm Wrote: /builddir/build/RPMS/clamd-1.0.6-1.fc40.s390x.rpm Wrote: /builddir/build/RPMS/clamav-milter-1.0.6-1.fc40.s390x.rpm Wrote: /builddir/build/RPMS/clamav-milter-debuginfo-1.0.6-1.fc40.s390x.rpm Wrote: /builddir/build/RPMS/clamav-devel-1.0.6-1.fc40.s390x.rpm Wrote: /builddir/build/RPMS/clamav-filesystem-1.0.6-1.fc40.noarch.rpm Wrote: /builddir/build/RPMS/clamav-debugsource-1.0.6-1.fc40.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kE7r2h + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/clamav-1.0.6-1.fc40.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.2Kviye + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/clamav-1.0.6-SPECPARTS + rm -rf clamav-1.0.6 clamav-1.0.6.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild clamav-1.0.6-1.fc40.src.rpm Finish: build phase for clamav-1.0.6-1.fc40.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-40-s390x-1719570706.022234/root/var/log/dnf5.log INFO: Done(/var/lib/copr-rpmbuild/results/clamav-1.0.6-1.fc40.src.rpm) Config(child) 15 minutes 5 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run Running RPMResults tool Package info: { "packages": [ { "name": "clamav-filesystem", "epoch": null, "version": "1.0.6", "release": "1.fc40", "arch": "noarch" }, { "name": "clamav-milter", "epoch": null, "version": "1.0.6", "release": "1.fc40", "arch": "s390x" }, { "name": "clamav-doc", "epoch": null, "version": "1.0.6", "release": "1.fc40", "arch": "noarch" }, { "name": "clamav-devel", "epoch": null, "version": "1.0.6", "release": "1.fc40", "arch": "s390x" }, { "name": "clamav-freshclam-debuginfo", "epoch": null, "version": "1.0.6", "release": "1.fc40", "arch": "s390x" }, { "name": "clamav-debugsource", "epoch": null, "version": "1.0.6", "release": "1.fc40", "arch": "s390x" }, { "name": "clamd-debuginfo", "epoch": null, "version": "1.0.6", "release": "1.fc40", "arch": "s390x" }, { "name": "clamav-data", "epoch": null, "version": "1.0.6", "release": "1.fc40", "arch": "noarch" }, { "name": "clamav-lib-debuginfo", "epoch": null, "version": "1.0.6", "release": "1.fc40", "arch": "s390x" }, { "name": "clamav-freshclam", "epoch": null, "version": "1.0.6", "release": "1.fc40", "arch": "s390x" }, { "name": "clamav", "epoch": null, "version": "1.0.6", "release": "1.fc40", "arch": "s390x" }, { "name": "clamav", "epoch": null, "version": "1.0.6", "release": "1.fc40", "arch": "src" }, { "name": "clamav-debuginfo", "epoch": null, "version": "1.0.6", "release": "1.fc40", "arch": "s390x" }, { "name": "clamav-milter-debuginfo", "epoch": null, "version": "1.0.6", "release": "1.fc40", "arch": "s390x" }, { "name": "clamav-lib", "epoch": null, "version": "1.0.6", "release": "1.fc40", "arch": "s390x" }, { "name": "clamd", "epoch": null, "version": "1.0.6", "release": "1.fc40", "arch": "s390x" } ] } RPMResults finished